fabtoken

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type driver.Type = 1
)

Variables

This section is empty.

Functions

func UnmarshalTypedMetadata

func UnmarshalTypedMetadata(metadata driver.Metadata) (*tokens.TypedMetadata, error)

func UnmarshalTypedToken

func UnmarshalTypedToken(token driver.Token) (*tokens.TypedToken, error)

func WrapMetadataWithType

func WrapMetadataWithType(metadata driver.Metadata) (driver.Metadata, error)

func WrapTokenWithType

func WrapTokenWithType(token driver.Token) (driver.Token, error)

Types

type Metadata

type Metadata struct {
	Issuer []byte
}

Metadata contains a serialization of the issuer of the token.. Type, value and owner of token can be derived from the token itself.

type Token

type Token = token2.Token

Token carries the output of an action

Jump to

Keyboard shortcuts

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