openid4vp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Overview

Package openid4vp implements the OpenID4VP presentation flow.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interaction

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

Interaction is used to help with OpenID4VP operations.

func New

func New(authorizationRequest string, signatureVerifier jwtSignatureVerifier, httpClient httpClient) *Interaction

New creates new openid4vp instance.

func (*Interaction) GetQuery

GetQuery creates query based on authorization request data.

func (*Interaction) PresentCredential

func (o *Interaction) PresentCredential(presentation *verifiable.Presentation, jwtSigner api.JWTSigner) error

PresentCredential presents credentials to redirect uri from request object.

Jump to

Keyboard shortcuts

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