InMemorySubjectCredentialStore

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun getCredentials(credentialSchemes: Collection<ConstantIndex.CredentialScheme>? = null): KmmResult<List<SubjectCredentialStore.StoreEntry>>

Return all stored credentials. Selective Disclosure: Specify list of credential schemes in credentialSchemes.

Link copied to clipboard
open suspend override fun storeCredential(issuerSigned: IssuerSigned, scheme: ConstantIndex.CredentialScheme, renewalInfo: CredentialRenewalInfo? = null): SubjectCredentialStore.StoreEntry.Iso

Implementations should store the passed credential in a secure way. Passed credentials have been validated before.