Expand description
Requests and response types to interact with the OAuth 2.0 specification.
Structs§
- Access
Token Response  - A successful response from the Token Endpoint.
 - Authorization
Code Grant  - A request to the Token Endpoint for the Authorization Code grant type.
 - Authorization
Request  - The body of a request to the Authorization Endpoint.
 - Authorization
Response  - A successful response from the Authorization Endpoint.
 - Client
Credentials Grant  - A request to the Token Endpoint for the Client Credentials grant type.
 - Device
Authorization Request  - A request to the Device Authorization Endpoint.
 - Device
Authorization Response  - A successful response from the Device Authorization Endpoint.
 - Device
Code Grant  - A request to the Token Endpoint for the Device Authorization grant type.
 - Introspection
Request  - A request to the Introspection Endpoint.
 - Introspection
Response  - A successful response from the Introspection Endpoint.
 - Pushed
Authorization Response  - A successful response from the Pushed Authorization Request Endpoint.
 - Refresh
Token Grant  - A request to the Token Endpoint for refreshing an access token.
 - Revocation
Request  - A request to the Revocation Endpoint.
 
Enums§
- Access
Token Request  - An enum representing the possible requests to the Token Endpoint.
 - Display
 - Value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
 - Grant
Type  - All possible values for the 
grant_typeparameter. - Prompt
 - Value that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
 - Response
Mode  - The mechanism to be used for returning Authorization Response parameters from the Authorization Endpoint.
 
Constants§
- DEFAULT_
DEVICE_ AUTHORIZATION_ INTERVAL  - The default value of the 
intervalbetween polling requests, if it is not set.