isTwoFactorAuthenticated()

Overview

public boolean function isTwoFactorAuthenticated(
      required string ipAddress
    , required string userAgent
)

Returns whether or not the logged in user has been authenticated with two factor authentication.

Arguments

NameTypeRequiredDescription
ipAddressstringYesThe originating IP address of the request
userAgentstringYesThe originating user agent of the request