RequestObjectParameters

@Serializable
data class RequestObjectParameters(val walletMetadataString: String? = null, val walletNonce: String? = null) : RequestParameters(source)

OpenID4VP: This request is (optionally) sent from the wallet when requesting the Request Object from the Verifier.

Usually, these parameters are sent to the Request Endpoint URL of the OpenID Verifier.

Constructors

Link copied to clipboard
constructor(walletMetadataString: String? = null, walletNonce: String? = null)
constructor(metadata: OAuth2AuthorizationServerMetadata, nonce: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val audience: String? = null
Link copied to clipboard
open override val clientId: String? = null
Link copied to clipboard

Reads the OpenIdConstants.ClientIdScheme of this request either directly from clientIdScheme, or by extracting the prefix from clientId (as specified in OpenID4VP draft 22 onwards).

Link copied to clipboard

Reads the clientId and removes the prefix of the clientIdSchemeExtracted, as specified in OpenID4VP draft 22 onwards. OpenID4VP states that the full clientId must be used for presentations and anything else.

Link copied to clipboard
open override val issuer: String? = null
Link copied to clipboard
open override val nonce: String? = null
Link copied to clipboard
open override val redirectUrl: String? = null
Link copied to clipboard

Reads the redirectUrl, or the clientIdWithoutPrefix if clientIdSchemeExtracted is OpenIdConstants.ClientIdScheme.RedirectUri, as specified in OpenID4VP draft 22 onwards.

Link copied to clipboard
open override val responseType: String? = null
Link copied to clipboard
open override val responseUrl: String? = null
Link copied to clipboard
open override val state: String? = null
Link copied to clipboard
open override val transactionData: Set<TransactionData>? = null
Link copied to clipboard
@SerialName(value = "wallet_metadata")
val walletMetadataString: String? = null

OpenID4VP: OPTIONAL. A String containing a JSON object containing metadata parameters as defined in Section 9.

Link copied to clipboard
@SerialName(value = "wallet_nonce")
val walletNonce: String? = null

OpenID4VP: OPTIONAL. A String value used to mitigate replay attacks of the Authorization Request. When received, the Verifier MUST use it as the wallet_nonce value in the signed authorization request object. Value can be a base64url-encoded, fresh, cryptographically random number with sufficient entropy.

Functions

Link copied to clipboard