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
Name | Type | Required | Description |
---|---|---|---|
ipAddress | string | Yes | The originating IP address of the request |
userAgent | string | Yes | The originating user agent of the request |