Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SkipCredentialSaveKey is present in metadata properties as `true` then accepted credential will not be saved in // verifiable store by middleware. SkipCredentialSaveKey = "skip-credential-save" )
Variables ¶
This section is empty.
Functions ¶
func SaveCredentials ¶
func SaveCredentials(p Provider) issuecredential.Middleware
SaveCredentials the helper function for the issue credential protocol which saves credentials.
Types ¶
type Metadata ¶
type Metadata issuecredential.Metadata
Metadata is an alias to the original Metadata.
type Provider ¶
type Provider interface { VerifiableStore() storeverifiable.Store VDRegistry() vdrapi.Registry JSONLDDocumentLoader() ld.DocumentLoader }
Provider contains dependencies for the SaveCredentials middleware function.
Click to show internal directories.
Click to hide internal directories.