OAuth 2.0 is an authorization protocol that gives an API client limited access to user data on a web server.
OAuth relies on authentication scenarios called flows, which allow the resource owner (user) to share the protected content from the resource server without sharing their credentials.
For that purpose, an OAuth 2.0 server issues access tokens that the client applications can use to access protected resources on behalf of the resource owner.
For more information about OAuth 2.0, see oauth.net and RFC 6749.
| Property | Modifier | Type | Description | Inherited from |
|---|
description? | public | string | Documentation from the authentication model, when provided. | HttpAuthBase.description |
flows | public | TFlows | Supported token acquisition flows, with scopes resolved for each flow. A flow without explicit scopes uses the authentication model’s default scopes. | - |
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 |
type | public | "oauth2" | Identifies an OAuth 2.0 scheme. | - |