oidc4vp

package
v1.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service oidc4vp.ServiceInterface

type Wrapper

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

func Wrap

func Wrap(svc Service, tracer trace.Tracer) *Wrapper

func (*Wrapper) DeleteClaims

func (w *Wrapper) DeleteClaims(ctx context.Context, claimsID string) error

func (*Wrapper) GetTx

func (w *Wrapper) GetTx(ctx context.Context, id oidc4vp.TxID) (*oidc4vp.Transaction, error)

func (*Wrapper) InitiateOidcInteraction

func (w *Wrapper) InitiateOidcInteraction(
	ctx context.Context,
	presentationDefinition *presexch.PresentationDefinition,
	purpose string,
	customScopes []string,
	profile *profileapi.Verifier) (*oidc4vp.InteractionInfo, error)

func (*Wrapper) RetrieveClaims

func (w *Wrapper) RetrieveClaims(ctx context.Context, tx *oidc4vp.Transaction, profile *profileapi.Verifier) map[string]oidc4vp.CredentialMetadata

func (*Wrapper) VerifyOIDCVerifiablePresentation

func (w *Wrapper) VerifyOIDCVerifiablePresentation(ctx context.Context, txID oidc4vp.TxID, authResponse *oidc4vp.AuthorizationResponseParsed) error

Jump to

Keyboard shortcuts

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