Error

The wallet answered with an authorization error response (OpenID4VP 1.0, 8.2, 8.5, A.4), e.g. because the user declined. The error ends the request like a presentation, so another attempt needs a new request.

OAuth2Error.errorDescription and OAuth2Error.errorUri are controlled by the wallet, so escape them when displaying them. Over the Digital Credentials API, only OAuth2Error.error is set.

Constructors

Link copied to clipboard
constructor(error: OAuth2Error, request: AuthenticationRequestParameters)

Properties

Link copied to clipboard
Link copied to clipboard

The request this response answers, consumed by processing the response.

Link copied to clipboard
open val state: String?

The state of request, to find the transaction of the integrator.