RequestOptionsCredential
data class RequestOptionsCredential( val credentialScheme: ConstantIndex.CredentialScheme, val representation: ConstantIndex.CredentialRepresentation = CredentialRepresentation.PLAIN_JWT, val requestedAttributes: RequestedAttributes? = null, val requestedOptionalAttributes: RequestedAttributes? = null, val id: String = uuid4().toString())(source)
Constructors
Link copied to clipboard
constructor( credentialScheme: ConstantIndex.CredentialScheme, representation: ConstantIndex.CredentialRepresentation = CredentialRepresentation.PLAIN_JWT, requestedAttributes: RequestedAttributes? = null, requestedOptionalAttributes: RequestedAttributes? = null, id: String = uuid4().toString())
Properties
Link copied to clipboard
Credential type to request, or null
to make no restrictions.
Link copied to clipboard
ID to be used in DifInputDescriptor or QesInputDescriptor, or DCQLCredentialQueryInstance
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
List of attributes that shall be requested explicitly (selective disclosure), but are not required (i.e. marked as optional), or null
to make no restrictions
Functions
Link copied to clipboard
Link copied to clipboard
fun toFormatHolder(containerJwt: FormatContainerJwt, containerSdJwt: FormatContainerSdJwt): FormatHolder