attemptTwoFactorAuthentication()
Overview
public boolean function attemptTwoFactorAuthentication(
required string token
)
Attempts authentication using a one time secret token generated by google authenticator app for the currently logged in user. Returns true on success.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | Yes | The user provided one time token (should have been generated by authenticator app) |