issuecredential

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL