API Reference
Parameters
Name | Type | Description |
|
| URL of server API to get challenge, see details below |
|
| URL of server API to submit response, see details below |
|
| 'true'|'false'. Show a list of VC in the dialog if exists |
|
| 'true' | 'false'. Add a button to mock the successful scan result (test only) |
|
| '0' | '1'. "0" = authentication; "1" = authentication and authorization. More details here. |
url_of_get_challenge
Gets challenge with AuthRequest
.
Request
Content Type | Format | Example |
| |
Response
Content Type | Format | Example |
| |
url_of_submit_response
url_of_submit_response
Submits AuthResponse
to the server
Request
Content Type | Format | Example |
| |
Response
JSON messages.
Events
Name | Type | Description |
|
| Callback submitted successfully, with response to |
|
| Error callback. |
|
| Callback cancelled by user. |
Last updated