hardcode

package
v0.0.0-...-01fc84d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ISS           = "account-service"
	KID_HEADER    = "kid"
	PAYLOAD_CLAIM = "payload"
)

Variables

View Source
var (
	ErrInvalidSigningMethod  = errors.New("invalid signing method")
	ErrKeyIdentifierNotFound = errors.New("key identifier not found")
	ErrInvalidToken          = errors.New("invalid token")
	ErrInvalidPayload        = errors.New("invalid payload")
)

Functions

func New

func New() *defaultHandler

Types

type CustomClaim

type CustomClaim struct {
	jwt.StandardClaims
	Payload string `json:"payload"`
}

Jump to

Keyboard shortcuts

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