IssuerCredentialDataProvider

Provides data for credentials to be issued.

Types

Link copied to clipboard
data class CredentialToBeIssued(val subject: CredentialSubject, val expiration: Instant, val attributeType: String, val attachments: List<Issuer.Attachment>? = null)

Functions

Link copied to clipboard
abstract fun getClaim(subjectId: String, attributeName: String): KmmResult<IssuerCredentialDataProvider.CredentialToBeIssued>

Gets called with the attribute name for atomic credentials, and the prefix at.asitplus.wallet.lib.data.SchemaIndex.ATTR_GENERIC_PREFIX.

Link copied to clipboard
abstract fun getCredential(subjectId: String, attributeType: String): KmmResult<IssuerCredentialDataProvider.CredentialToBeIssued>

Gets called with the credential type, i.e. one of at.asitplus.wallet.lib.data.ConstantIndex.CredentialScheme.vcType

Inheritors

Link copied to clipboard