Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Claim(val name: String, val namespace: String)

Represents a claim available in an OfferedCredential.

Link copied to clipboard
@Serializable
data class DiscoveredCredentialOffer(val issuer: String, val authorizeEndpoint: String, val tokenEndpoint: String, val credentialEndpoint: String, val credentials: List<OfferedCredential>, val mdocIacasUri: String, requestParameters: RequestParameters?)

Represents a discovered credential offer.

Link copied to clipboard
@Serializable
data class OfferedCredential(val doctype: String, val claims: List<Claim>, val name: String?, scope: String)

Represents an offered credential available for retrieval.

Link copied to clipboard
@Serializable
data class RequestParameters(val loginHint: String?, val prompt: String?)

Represents UI hints for request authentication.

Link copied to clipboard
@Serializable(with = RetrieveCredentialError.Companion::class)
enum RetrieveCredentialError : Enum<RetrieveCredentialError>

Retrieve credential error

Link copied to clipboard
@Serializable
data class RetrieveCredentialResult(val doctype: String, val credentialId: String?, val error: RetrieveCredentialError?)

Represents a retrieved mobile credential result.