HTTPAuthorizationCredentials
The HTTP authorization credentials in the result of using HTTPBearer or HTTPDigest in a dependency.
The HTTP authorization header value is split by the first space.
The first part is the scheme, the second part is the credentials.
For example, in an HTTP Bearer token scheme, the client will send a header like:
Authorization: Bearer deadbeef12346
In this case:
schemewill have the value"Bearer"credentialswill have the value"deadbeef12346"
Attributes
| Attribute | Type | Description |
|---|---|---|
| scheme | The HTTP authorization scheme extracted from the header value. | |
| credentials | The HTTP authorization credentials extracted from the header value. |