package
0.1.3
Repository: https://github.com/xwc1125/xwc1125-pkg.git
Documentation: pkg.go.dev

# Packages

Package jwtsession @author: xwc1125.

# Functions

No description provided by the author
FromAuthHeader 从Authorization header中获取.
FromCookie 从cookie中获取.
FromFirst 获取它找到的第一个令牌.
FromParameter 从params中获取.
GenerateRefreshToken 生成刷新token.
GenerateToken 生成token.
No description provided by the author
LoadRSAPrivateKey 加载rsa私钥.
LoadRSAPublicKey 加载rsa公钥.
MapClaimsToJwt map转jwtClaims.
NewJwtAuth jwt中间件配置.
No description provided by the author
ParseRefreshToken 解析refresh token.
ParseToken 解析token.
No description provided by the author
TokenFormat 格式化token.
TokenToMapClaims jwt token 转mapClaims.

# Constants

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
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
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

JwtAuth jwt auth.
JwtClaims jwt claims信息.
JWTConfig jwt配置信息.
No description provided by the author
JwtRefreshClaims 刷新claims.
UserToken 用户信息.

# Type aliases

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