jwt

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CkeckToken

func CkeckToken(token string, key string) (map[string]interface{}, error)

验证 token

func JwtDecodeError

func JwtDecodeError(err error) bool

Jwt 解码错误

func JwtExpiredSignatureError

func JwtExpiredSignatureError(err error) bool

签名过期

func NewJWT

func NewJWT(header map[string]interface{}, payload map[string]interface{}, key string) (string, error)

生成 token

Types

This section is empty.

Jump to

Keyboard shortcuts

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