Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewParserUnverified ¶
func NewParserUnverified(method jwt.SigningMethod, newClaims kitjwt.ClaimsFactory) endpoint.Middleware
NewParserUnverified creates a new JWT token parsing middleware, the signing method and the claims type to be used. NewParserUnverified adds the resulting claims to endpoint context or returns error on invalid token. Particularly useful for servers.
func ParseUnverified ¶
ParseUnverified parses the token but doesn't validate the signature. It's only ever useful in cases where you know the signature is valid (because it has been checked previously in the stack) and you want to extract values from it.
WARNING: Don't use this method unless you know what you're doing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.