State models, action models, and attributes
When using the PingOne Verify IdP Adapter through the PingFederate authentication API, the adapter uses the following state models, action models, and attributes.
Status | State Model | Action | Description |
---|---|---|---|
|
|
|
Indicates that verification is required. |
|
|
Indicates whether to use this device or another device to start verification. |
|
|
|
Indicates whether or not an email or phone number is selected for the notification option. |
|
|
|
Indicates that ID verification is in progress. |
|
|
|
Indicates that ID verification completed successfully. |
|
|
|
|
Indicates that ID verification failed and a retry is not allowed. |
|
|
Indicates that ID verification timed out. |
Action | Action Model | Error | Description |
---|---|---|---|
|
(void) |
Gets the current ID transaction status. |
|
|
(void) |
Retries verification after a time out or after selecting cancel on any screen. |
|
|
(void) |
Select a device to start verification. |
|
|
(void) |
Select email, phone, or QR-only for sending the web link to the user. |
|
|
Cancels the current authentication step. |
Attribute name | Type | Description |
---|---|---|
|
String |
The URL of the QR code image associated with the verification session. Use this URL to show the QR code to the user. The user scans the QR code with the verification app to begin the verification process. To display the QR code, your app needs to perform a GET request to the URL provided in For example:QR URL provided by PingFederate: "qrUrl":"https://api.pingone.com/v1/idValidations/shortcode/008030285946/qr" GET request to get the QR code image: GET "https://api.pingone.com/v1/idValidations/shortcode/008030285946/qr" GET request response: data:image/jpeg;base64,9j4AAQSkZJRgABAgAAAQABAAD IsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL...2wBDAQkJCQwL DBgNDRgyIRwhMjIyMjIyMj HTML element that displays the image in your app: <img src="data:image/jpegbase64,9j4AAQSkZJRgABAgAAAQABAAD IsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL...2wBDAQkJCQwL DBgNDRgyIRwhMjIyMjIyMj"/> |
|
String |
A code that the user can enter instead of scanning the QR code image. |
|
List< |
A list of errors. |