ParseFromRequestWithClaims is an alias for ParseFromRequest but with custom Claims type. Deprecated: use ParseFromRequest and the WithClaims option
(req *http.Request, extractor Extractor, claims jwt.Claims, keyFunc jwt.Keyfunc)
| 43 | // |
| 44 | // Deprecated: use ParseFromRequest and the WithClaims option |
| 45 | func ParseFromRequestWithClaims(req *http.Request, extractor Extractor, claims jwt.Claims, keyFunc jwt.Keyfunc) (token *jwt.Token, err error) { |
| 46 | return ParseFromRequest(req, extractor, keyFunc, WithClaims(claims)) |
| 47 | } |
| 48 | |
| 49 | type fromRequestParser struct { |
| 50 | req *http.Request |