RequestOptions

data class RequestOptions(val credentialScheme: ConstantIndex.CredentialScheme, val representation: ConstantIndex.CredentialRepresentation = PLAIN_JWT, val requestedAttributes: Set<String>? = null, val state: String = uuid4().toString(), val clock: Clock = Clock.System)(source)

Constructors

Link copied to clipboard
constructor(credentialScheme: ConstantIndex.CredentialScheme, representation: ConstantIndex.CredentialRepresentation = PLAIN_JWT, requestedAttributes: Set<String>? = null, state: String = uuid4().toString(), clock: Clock = Clock.System)

Properties

Link copied to clipboard
val clock: Clock

Modify clock for testing specific scenarios

Link copied to clipboard

Credential type to request

Link copied to clipboard

List of attributes that shall be requested explicitly (selective disclosure), or null to make no restrictions

Link copied to clipboard

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