MFA OTP Challenge screen class
The OTP Challenge screen class provides methods associated with the mfa-otp-challenge screen. This screen is shown when a user needs to enter an OTP code during MFA.
Properties
The MFA OTP Challenge screen class properties are:Methods
The MFA OTP Challenge screen class methods are:continue( options ?)
This method continues with the OTP challenge using the provided code.Parameter | Type | Required | Description |
---|---|---|---|
code | string | Yes | The code entered by the user. |
rememberBrowser | boolean | No | Remember the user’s browser configuration. |
tryAnotherMethod( options ?)
This method allows the user to try another MFA method.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
MFA OTP Enrollment Code screen class
The MFA OTP Enrollment Code screen class provides methods associated with the mfa-otp-enrollment-code screen.
Properties
The MFA OTP Enrollment Code screen class properties are:Methods
The MFA OTP Enrollment Code screen class methods are:continue( options ?)
This method continues the MFA OTP enrollment process by submitting the OTP code.Parameter | Type | Required | Description |
---|---|---|---|
code | string | Yes | The code entered by the user. |
tryAnotherMethod( options ?)
This method allows the user to try another MFA method.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
MFA OTP Enrollment QR screen class
The MFA OTP Enrollment QR screen class provides methods associated with the mfa-otp-enrollment-qr screen.
Properties
The MFA OTP Enrollment QR screen class properties are:Methods
The MFA OTP Enrollment QR screen class methods are:continue( options ?)
This method continues the MFA OTP enrollment QR process by submitting the OTP code.Parameter | Type | Required | Description |
---|---|---|---|
code | string | Yes | The code entered by the user. |
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
toggleView( options ?)
This method navigates to the authenticator selection screen.Parameter | Type | Required | Description |
---|---|---|---|
rememberBrowser | boolean | No | Remember the user’s browser configuration. |
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
tryAnotherMethod( options ?)
This method allows the user to try another MFA method.Parameter | Type | Required | Description |
---|---|---|---|
rememberBrowser | boolean | No | Remember the user’s browser configuration. |
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |