package
1.0.2
Repository: https://github.com/techidea8/codectl.git
Documentation: pkg.go.dev

# Functions

通过tokenMap 构建Ob'j'e'c't健权信息.
No description provided by the author
GenToken 生成token iss: jwt签发者 sub: jwt所面向的用户 aud: 接收jwt的一方 exp: jwt的过期时间,这个过期时间必须要大于签发时间 nbf: 定义在什么时间之前,该jwt都是不可用的.
从request 中获取头.
No description provided by the author
No description provided by the author
VerfyToken 验证token.
No description provided by the author
经过多久过期.
在unixAt 后过期.
No description provided by the author
JWT 唯一ID.
在unixAt 前有效.
受众类型.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

iss: jwt签发者 sub: jwt所面向的用户 aud: 接收jwt的一方 exp: jwt的过期时间,这个过期时间必须要大于签发时间 nbf: 定义在什么时间之前,该jwt都是不可用的.