mirror of https://github.com/golang-jwt/jwt.git
fdaf0eb0e0
* Implement a BearerExtractor This is a rather common extractor; it extracts the JWT from the HTTP Authorization header, expecting it to include the "Bearer " prefix. This patterns is rather common and this snippet is repeated in enough applications that it's probably best to just include it upstream and allow reusing it. * Ignore case-sensitivity for "Bearer" |
||
---|---|---|
.. | ||
doc.go | ||
extractor.go | ||
extractor_example_test.go | ||
extractor_test.go | ||
oauth2.go | ||
request.go | ||
request_test.go |