ResponseModes

Properties

Link copied to clipboard
const val DIRECT_POST: String

OID4VP: In this mode, the Authorization Response is sent to the Verifier using an HTTPS POST request to an endpoint controlled by the Verifier. The Authorization Response parameters are encoded in the body using the application/x-www-form-urlencoded content type. The flow can end with an HTTPS POST request from the Wallet to the Verifier, or it can end with a redirect that follows the HTTPS POST request, if the Verifier responds with a redirect URI to the Wallet.

Link copied to clipboard
const val FRAGMENT: String

OAuth 2.0: In this mode, Authorization Response parameters are encoded in the fragment added to the redirect_uri when redirecting back to the Client.

Link copied to clipboard
const val POST: String

SIOPv2: This response mode is used to request the Self-Issued OP to deliver the result of the authentication process to a certain endpoint using the HTTP POST method. The additional parameter response_mode is used to carry this value.

Link copied to clipboard
const val QUERY: String

OAuth 2.0: In this mode, Authorization Response parameters are encoded in the query string added to the redirect_uri when redirecting back to the Client.