presentation

package
v0.0.0-...-8d7de0a Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVPToken

func CreateVPToken(
	presentations []*verifiable.Presentation,
	req *CreateVpTokenRequest,
) ([]string, error)

Types

type CreateVpTokenRequest

type CreateVpTokenRequest struct {
	ClientID       string
	Nonce          string
	VPFormats      *presexch.Format
	Wallet         *wallet.Wallet
	CryptoSuite    api.Suite
	VdrRegistry    vdrapi.Registry
	DocumentLoader ld.DocumentLoader
}

type VPTokenClaims

type VPTokenClaims struct {
	VP    *verifiable.Presentation `json:"vp"`
	Nonce string                   `json:"nonce"`
	Exp   int64                    `json:"exp"`
	Iss   string                   `json:"iss"`
	Aud   string                   `json:"aud"`
	Nbf   int64                    `json:"nbf"`
	Iat   int64                    `json:"iat"`
	Jti   string                   `json:"jti"`
}

Jump to

Keyboard shortcuts

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