# Functions
No description provided by the author
GetToken 获取客户端提交的 token.
No description provided by the author
NewSigner 声明签名对象
expired 普通令牌的过期时间; refresh 刷新令牌的时间,非零表示有刷新令牌,如果为非零值,则必须大于 expired; br 表示将令牌组合成一个对象用以返回给客户端,可以为空,采用返回 [Response] 作为其默认实现;.
NewVerifier 声明 [Verifier] 对象
b 为处理丢弃令牌的对象,如果为空表示不会对任何令牌作特殊处理; f 为 [Claims] 对象的生成方法;.
# Type aliases
No description provided by the author
BuildResponseFunc 根据给定的参数返回给定客户端的对象
access 是必须的,表示请求数据的 token; refresh 表示刷新的 token,如果为空,不会输出; expires 表示 access 的过期时间;.
No description provided by the author