jwt

package
v0.0.0-...-60f5d5a Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(claims jwt.Claims, tokenString string, publicKey crypto.PublicKey) error

Decode expects claims to be a pointer.

func Encode

func Encode(claims jwt.Claims, key *rsa.PrivateKey) (string, error)

func GetJWT

func GetJWT(authorizationHeader string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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