jwt

package
v0.0.0-...-4b2823f Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2018 License: AGPL-3.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenHMACKey

func GenHMACKey() string

func GenRSAKey

func GenRSAKey() (string, string, error)

func GenToken

func GenToken(key string, payload []byte) (string, error)

func Verify

func Verify(key string, token string, receiver interface{}) error

func VerifyBearer

func VerifyBearer(key string, r *http.Request, receiver interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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