MFA Authentication Code
The /authenticationCodes endpoint provides operations to create, read, and delete an authentication code. The authentication code (which can be a QR code) enables users to sign on without any data entry, such as providing a username, password, or entering a one-time passcode. The user scans the code, and if successful, gains access to an application’s services.
Authentication codes request data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
String |
Required |
Mutable |
The ID of a mobile application for which the code is valid; only the specified mobile application can scan the QR code. |
|
String |
Optional |
Mutable |
An ObjectNode that provides relevant information to the mobile application that can be shown to application users. For example, |
|
Integer |
Optional |
Mutable |
The length of time for this authentication code to be valid. The minimum value is 10 seconds; the maximum value is 30 minutes; the default is 1 minute. If the |
|
String |
Optional |
Mutable |
The time unit for the |
|
String |
Optional |
Mutable |
Whether the mobile device must verify that the user approves the authentication with the scanned code. Options are |
Authentication codes response data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
String |
N/A |
Read-only |
The authentication code. The code is eight characters in length, and it can include numbers and uppercase letters. |
|
Date |
N/A |
Read-only |
When the resource was created. |
|
String |
N/A |
Read-only |
The environment’s unique identifier. |
|
Date |
N/A |
Read-only |
The expiration time of authentication code. |
|
String |
N/A |
Read-only |
The resource’s unique identifier. |
|
String |
N/A |
Read-only |
The status of the authentication code. Options are |
|
Date |
N/A |
Read-only |
When the resource was last updated. |
|
String |
N/A |
Read-only |
A universal link (for example, |
|
UUID |
N/A |
Read-only |
The unique identifier of the authenticated user. |
|
String |
N/A |
Read-only |
Whether or not the device can be used currently for OTP-based authentication. Value returned is ENABLED or DISABLED. Relevant only for devices where |
|
String |
N/A |
Read-only |
If the status is DISABLED, contains the reason that the device cannot be used for OTP-based authentication, for example, that the application used a version of the MFA SDK that does not support OTP. Relevant only for devices where |
|
String |
N/A |
Read-only |
Whether or not the device can be used currently for push-based authentication. Value returned is ENABLED or DISABLED. Relevant only for devices where |
|
String |
N/A |
Read-only |
If the status is DISABLED, contains the reason that the device cannot be used for push-based authentication, for example, that the push option was disabled for the application in the MFA policy. Relevant only for devices where |
|
String |
N/A |
Read-only |
Whether or not the device can be used currently for authentication. Value returned is ENABLED or DISABLED. |
|
String |
N/A |
Read-only |
If the status is DISABLED, contains the reason that the device cannot be used for authentication, for example, that the defined daily notifications limit has already been reached. |
For descriptions of other fields under _embedded.device, refer to MFA Devices.
For descriptions of fields under _embedded.user, refer to Users data model.