IssuanceState

data class IssuanceState(var clientId: String?, val scope: String, var clientAttestationKey: EcPublicKey?, var dpopKey: EcPublicKey?, var redirectUri: String?, var codeChallenge: ByteString?, val configurationId: String?, var clientState: String? = null, var authorized: Instant? = null, var openid4VpVerifierModel: Openid4VpVerifierModel? = null, var systemOfRecordAuthCode: String? = null, var systemOfRecordCodeVerifier: ByteString? = null, var systemOfRecordAccess: SystemOfRecordAccess? = null, var txCodeSpec: SecretCodeRequest? = null, var txCodeHash: ByteString? = null, val urlSchema: String? = null, var expiration: Instant = Instant.DISTANT_PAST, var credentials: MutableList<IssuanceState.CredentialData> = mutableListOf())

Data for a credential issuance session.

Issuance session maintains data about user authentication and credentials that were obtained based on that.

Constructors

Link copied to clipboard
constructor(clientId: String?, scope: String, clientAttestationKey: EcPublicKey?, dpopKey: EcPublicKey?, redirectUri: String?, codeChallenge: ByteString?, configurationId: String?, clientState: String? = null, authorized: Instant? = null, openid4VpVerifierModel: Openid4VpVerifierModel? = null, systemOfRecordAuthCode: String? = null, systemOfRecordCodeVerifier: ByteString? = null, systemOfRecordAccess: SystemOfRecordAccess? = null, txCodeSpec: SecretCodeRequest? = null, txCodeHash: ByteString? = null, urlSchema: String? = null, expiration: Instant = Instant.DISTANT_PAST, credentials: MutableList<IssuanceState.CredentialData> = mutableListOf())

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class CredentialData(val bucket: String, val index: Int, val expiration: Instant)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var codeChallenge: ByteString?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var txCodeHash: ByteString?
Link copied to clipboard
Link copied to clipboard
val urlSchema: String? = null

Functions

Link copied to clipboard