jwt

package
v0.0.0-...-397b8aa Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenType = "JWT"
)

Variables

View Source
var DefaultAlgorithm = jwt.SigningMethodHS256

Functions

func New

func New(timeGap time.Duration, subject string) string

func Verify

func Verify(tokenString string) (jwt.Claims, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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