Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type CustomClaims ¶
type CustomClaims struct { User *pb.User jwt.StandardClaims }
type TokenService ¶
type TokenService struct {
// contains filtered or unexported fields
}
func (*TokenService) Decode ¶
func (srv *TokenService) Decode(tokenString, key string) (*CustomClaims, error)
Decode a token string into a token object
Click to show internal directories.
Click to hide internal directories.