jwt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(id interface{}) (string, error)

Types

type CustomClaims

type CustomClaims struct {
	UserIdUUID guid.GUID
	UserIdInt  int
	jwt.StandardClaims
}

func Parse

func Parse(tokenStr string) (*CustomClaims, error)

func (*CustomClaims) Valid

func (c *CustomClaims) Valid() error

Jump to

Keyboard shortcuts

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