config

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuerConfig

type IssuerConfig struct {
	BaseUrl          string `fig:"base_url,required"`
	AuthUsername     string `fig:"auth_username,required"`
	AuthPassword     string `fig:"auth_password,required"`
	DID              string `fig:"did,required"`
	ClaimType        string `fig:"claim_type,required"`
	CredentialSchema string `fig:"credential_schema,required"`
}

type IssuerConfiger

type IssuerConfiger interface {
	IssuerConfig() *IssuerConfig
}

func NewIssuerConfiger

func NewIssuerConfiger(getter kv.Getter) IssuerConfiger

type VerifierConfig

type VerifierConfig struct {
	VerificationKey []byte
	MasterCerts     []byte
	AllowedAge      int
	Blinder         *big.Int
}

type VerifierConfiger

type VerifierConfiger interface {
	VerifierConfig() *VerifierConfig
}

func NewVerifierConfiger

func NewVerifierConfiger(getter kv.Getter) VerifierConfiger

Jump to

Keyboard shortcuts

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