You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
Uses [HTTP Bearer token authentication][bearer-auth], and can be used for OAuth 2, JWT, and custom token authentication schemes.
45
45
46
-
Outgoing requests will include the provided token in the request`Authorization` headers, in the following format:
46
+
Outgoing requests will include the provided token in the request`Authorization` headers, in the following format:
47
47
48
48
Authorization: Bearer xxxx-xxxxxxxx-xxxx
49
49
50
-
The prefix may be customized if required, in order to support HTTP authentication schemes that are not [officially registered][http-auth-schemes].
50
+
The scheme name may be customized if required, in order to support HTTP authentication schemes that are not [officially registered][http-auth-schemes].
51
51
52
52
A typical authentication flow using `TokenAuthentication` would be:
53
53
54
54
* Using an unauthenticated client make a request providing the users credentials to an endpoint to that returns an API token.
55
55
* Instantiate an authenticated client using the returned token, and use this for all future requests.
0 commit comments