RequestOptions
data class RequestOptions(val responseMode: OpenIdConstants.ResponseMode? = null, val representation: ConstantIndex.CredentialRepresentation = ConstantIndex.CredentialRepresentation.PLAIN_JWT, val state: String? = uuid4().toString(), val credentialScheme: ConstantIndex.CredentialScheme? = null, val requestedAttributes: List<String>? = null, val clientMetadataUrl: String? = null, val encryption: Boolean = false)(source)
Constructors
Link copied to clipboard
constructor(responseMode: OpenIdConstants.ResponseMode? = null, representation: ConstantIndex.CredentialRepresentation = ConstantIndex.CredentialRepresentation.PLAIN_JWT, state: String? = uuid4().toString(), credentialScheme: ConstantIndex.CredentialScheme? = null, requestedAttributes: List<String>? = null, clientMetadataUrl: String? = null, encryption: Boolean = false)
Properties
Link copied to clipboard
Optional URL to include metadata by reference instead of by value (directly embedding in authn request)
Link copied to clipboard
Credential type to request, or null
to make no restrictions
Link copied to clipboard
Set this value to include metadata with encryption parameters set. Beware if setting this value and also clientMetadataUrl, that the URL shall point to getCreateMetadataWithEncryption.
Link copied to clipboard
Required representation, see ConstantIndex.CredentialRepresentation
Link copied to clipboard
List of attributes that shall be requested explicitly (selective disclosure), or null
to make no restrictions
Link copied to clipboard
Response mode to request, see OpenIdConstants.ResponseMode
Link copied to clipboard
Opaque value which will be returned by the OpenId Provider and also in AuthnResponseResult