OpenId4VpRequestOptions
Constructors
Properties
Requested credentials, should be at least one.
REQUIRED when signed requests defined in Appendix A.3.2 are used with the Digital Credentials API(DC API). A non-empty array of strings, each string representing an Origin of the Verifier that is making the request. The Wallet MUST compare values in this parameter to the Origin to detect replay of the request from a malicious Verifier. If the Origin does not match any of the entries in expected_origins, the Wallet MUST return an error. This error SHOULD be an invalid_request error. This parameter is not for use in unsigned requests and therefore a Wallet MUST ignore this parameter if it is present in an unsigned request.
Whether the client_id should be added to the request. Required for DC API: The client_id parameter MUST be omitted in unsigned requests defined in Appendix A.3.1. The client_id parameter MUST be present in signed requests defined in Appendix A.3.2, as it communicates to the Wallet which Client Identifier Prefix and Client Identifier to use when authenticating the client through verification of the request signature or retrieving client metadata.
Presentation mechanism to be used for requesting credentials.
Response mode to request, see OpenIdConstants.ResponseMode, by default OpenIdConstants.ResponseMode.Fragment. Setting this to any other value may require setting responseUrl too.
Response type to set in at.asitplus.openid.AuthenticationRequestParameters.responseType, by default only vp_token (as per OpenID4VP spec, see OpenIdConstants.VP_TOKEN). Be sure to separate values by a space, e.g. vp_token id_token (see OpenIdConstants.ID_TOKEN).
Response URL to set in the at.asitplus.openid.AuthenticationRequestParameters.responseUrl, required if responseMode is set to OpenIdConstants.ResponseMode.DirectPost or OpenIdConstants.ResponseMode.DirectPostJwt.
Opaque value which will be returned by the OpenId Provider and also in AuthnResponseResult.
Non-empty array of strings, where each string is a base64url-encoded JSON object that contains a typed parameter set with details about the transaction that the Verifier is requesting the End-User to authorize.