# README
Token
Token验证
-----------------------------------------------------
client server token storage
auth ---> get token ---> token
save <--- token payload
ok? <--- verify
next time
auth ---> check
ok> <--- verify
# Functions
Digest jwt hash摘要.
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
# 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
# Variables
No description provided by the author
No description provided by the author
WithDefaultTTL 设置ttl.
WithIssuer 设置issuer, 如不设置,将不能创建jwt, 校验的时候不会检查issuer是否相同.
WithKey 设置秘钥.
# Structs
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
# Interfaces
Storage 本地token存储。不负责创建token.