didconfiguration

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ProfileTypeIssuer   = ProfileType("issuer")
	ProfileTypeVerifier = ProfileType("verifier")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VerifierProfileService verifierProfileService
	IssuerProfileService   issuerProfileService
	Crypto                 vcCrypto
	KmsRegistry            kmsRegistry
	ExternalURL            string
}

type DidConfiguration

type DidConfiguration struct {
	Context    string        `json:"@context"`
	LinkedDiDs []interface{} `json:"linked_dids"`
}

type ProfileType

type ProfileType string

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(
	config *Config,
) *Service

func (*Service) DidConfig

func (s *Service) DidConfig(
	_ context.Context,
	profileType ProfileType,
	profileID string,
	profileVersion string,
) (*DidConfiguration, error)

Jump to

Keyboard shortcuts

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