Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpError ¶
func NewHttpError ¶
type JWTStrategy ¶
type JWTStrategy struct {
// contains filtered or unexported fields
}
func NewJWTStrategy ¶
func NewJWTStrategy(secret string, method jwt.SigningMethod) JWTStrategy
func (*JWTStrategy) DecodeJWT ¶
func (s *JWTStrategy) DecodeJWT(tokenStr string) (*payload, HttpError)
Click to show internal directories.
Click to hide internal directories.