RequestOptions

Properties

Link copied to clipboard
abstract val clientMetadataUrl: String?

Optional URL to include metadata by reference (see AuthenticationRequestParameters.clientMetadataUri) instead of by value (see AuthenticationRequestParameters.clientMetadata)

Link copied to clipboard

Requested credentials, should be at least one.

Link copied to clipboard
abstract val encryption: Boolean

Set this value to include metadata with encryption parameters set. Beware if setting this value and also clientMetadataUrl, that the URL shall point to OpenId4VpVerifier.metadataWithEncryption.

Link copied to clipboard
Link copied to clipboard
open val isDcql: Boolean
Link copied to clipboard
Link copied to clipboard
open val isSiop: Boolean
Link copied to clipboard

Presentation mechanism to be used for requesting credentials.

Link copied to clipboard

Response mode to request, see OpenIdConstants.ResponseMode, by default OpenIdConstants.ResponseMode.Fragment. Setting this to any other value may require setting responseUrl too.

Link copied to clipboard
abstract val responseType: String

Response type to set in 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).

Link copied to clipboard
abstract val state: String

Opaque value which will be returned by the OpenId Provider and also in AuthnResponseResult.

Link copied to clipboard

Functions

Link copied to clipboard
open fun buildScope(): String
Link copied to clipboard
abstract fun toDCQLQuery(): DCQLQuery?
Link copied to clipboard
abstract fun toInputDescriptor(containerJwt: FormatContainerJwt, containerSdJwt: FormatContainerSdJwt): List<InputDescriptor>
Link copied to clipboard