jwt

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyType

type KeyType string
const (
	PrivateKey KeyType = "private"
	PublicKey  KeyType = "public"
)

func (KeyType) String

func (k KeyType) String() (keyType string)

String returns a string representation of the KeyType

type UnableToIssueTokenError

type UnableToIssueTokenError struct {
	Err error
}

func (UnableToIssueTokenError) Error

func (u UnableToIssueTokenError) Error() (message string)

Error returns a formatted error message for UnableToIssueTokenError

type UnableToParseKeyError

type UnableToParseKeyError struct {
	KeyType KeyType
	Err     error
}

func (UnableToParseKeyError) Error

func (u UnableToParseKeyError) Error() (message string)

Error returns a formatted error message for UnableToParseKeyError

type UnableToParseTokenError

type UnableToParseTokenError struct {
	Err error
}

func (UnableToParseTokenError) Error

func (u UnableToParseTokenError) Error() (message string)

Error returns a formatted error message for UnableToParseTokenError

type UnexpectedSigningMethodError

type UnexpectedSigningMethodError struct {
	Algorithm interface{}
}

func (UnexpectedSigningMethodError) Error

func (u UnexpectedSigningMethodError) Error() (message string)

Error returns a formatted error message for UnexpectedSigningMethodError

Jump to

Keyboard shortcuts

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