(*http.Request)
| 16 | // If no token is present, you must return ErrNoTokenInRequest. |
| 17 | type Extractor interface { |
| 18 | ExtractToken(*http.Request) (string, error) |
| 19 | } |
| 20 | |
| 21 | // HeaderExtractor is an extractor for finding a token in a header. |
no outgoing calls