[I] BearerAuth
Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. The name “Bearer authentication” can be understood as “give access to the bearer of this token.” The bearer token is a cryptic string, usually generated by the server in response to a login request. The client must send this token in the Authorization header when making requests to protected resources:
Authorization: Bearer <token>Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
description? | public | string | Documentation from the authentication model, when provided. | HttpAuthBase.description |
id | public | string | Scheme identifier, initially derived from the model name or authentication type. Service authentication resolution disambiguates conflicting identifiers. | HttpAuthBase.id |
model | readonly | Model | Model that defined the authentication | HttpAuthBase.model |
scheme | public | "Bearer" | Sends an access token using the Bearer authorization scheme. | - |
type | public | "http" | Identifies an HTTP Authorization-header scheme. | - |