diff --git a/am_jwt/jwt.go b/am_jwt/jwt.go index 924a1a1..8f61707 100644 --- a/am_jwt/jwt.go +++ b/am_jwt/jwt.go @@ -71,6 +71,12 @@ type TokenClaims struct { jwt.StandardClaims // standard claims,无需用户设定 } +// token config +type TokenConfig struct { + Issuer string `json:"issuer"` + Secret string `json:"secret"` +} + /* * PRIVATE * 查验redis储存情况