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 ¶
func (o *Interaction) GetQuery() (*presexch.PresentationDefinition, error)
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.
Click to show internal directories.
Click to hide internal directories.