fix typo
Victor Vrantchan
7 years ago
16 | 16 | bearerFormat string = "Bearer %s" |
17 | 17 | ) |
18 | 18 | |
19 | // ToHTTPContext moves JWT token from request header to contexti. Particularly | |
19 | // ToHTTPContext moves JWT token from request header to context. Particularly | |
20 | 20 | // useful for servers |
21 | 21 | func ToHTTPContext() http.RequestFunc { |
22 | 22 | return func(ctx context.Context, r *stdhttp.Request) context.Context { |