Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidJwtSigningMethod = errors.New("unexpected signing method")
ErrInvalidJwtSigningMethod represents an error that denotes a JWT token is not signed with a supported encryption method
View Source
var ErrJwtParseFailure = errors.New("jwt parse failed")
ErrJwtParseFailure represents an error denoting that a JWT token could not be parsed properly
Functions ¶
func Verify ¶
func Verify(vjwt *VerifiableJwt) error
Verify parses and verifies the given JWT token; returns an error iff the token validation failed otherwise returns nil
Types ¶
Click to show internal directories.
Click to hide internal directories.