oidc4ci

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: 8 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 oidc4ci.ServiceInterface

type Wrapper

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

func Wrap

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

func (*Wrapper) ExchangeAuthorizationCode

func (w *Wrapper) ExchangeAuthorizationCode(ctx context.Context, opState, clientID, clientAttestationType, clientAttestation string) (*oidc4ci.ExchangeAuthorizationCodeResult, error)

func (*Wrapper) InitiateIssuance

func (*Wrapper) PrepareCredential

func (w *Wrapper) PrepareCredential(
	ctx context.Context,
	req *oidc4ci.PrepareCredential,
) (*oidc4ci.PrepareCredentialResult, error)

func (*Wrapper) PushAuthorizationDetails

func (w *Wrapper) PushAuthorizationDetails(ctx context.Context, opState string, ad []*oidc4ci.AuthorizationDetails) error

func (*Wrapper) StoreAuthorizationCode

func (w *Wrapper) StoreAuthorizationCode(ctx context.Context, opState string, code string, flowData *common.WalletInitiatedFlowData) (oidc4ci.TxID, error)

func (*Wrapper) ValidatePreAuthorizedCodeRequest

func (w *Wrapper) ValidatePreAuthorizedCodeRequest(ctx context.Context, preAuthorizedCode, pin, clientID, clientAttestationType, clientAttestation string) (*oidc4ci.Transaction, error)

Jump to

Keyboard shortcuts

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