Expand description
Requests and response types to interact with the OAuth 2.0 specification.
Structs§
- AccessToken Response 
- A successful response from the Token Endpoint.
- AuthorizationCode Grant 
- A request to the Token Endpoint for the Authorization Code grant type.
- AuthorizationRequest 
- The body of a request to the Authorization Endpoint.
- AuthorizationResponse 
- A successful response from the Authorization Endpoint.
- ClientCredentials Grant 
- A request to the Token Endpoint for the Client Credentials grant type.
- DeviceAuthorization Request 
- A request to the Device Authorization Endpoint.
- DeviceAuthorization Response 
- A successful response from the Device Authorization Endpoint.
- DeviceCode Grant 
- A request to the Token Endpoint for the Device Authorization grant type.
- IntrospectionRequest 
- A request to the Introspection Endpoint.
- IntrospectionResponse 
- A successful response from the Introspection Endpoint.
- PushedAuthorization Response 
- A successful response from the Pushed Authorization Request Endpoint.
- RefreshToken Grant 
- A request to the Token Endpoint for refreshing an access token.
- RevocationRequest 
- A request to the Revocation Endpoint.
Enums§
- AccessToken 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.
- GrantType 
- All possible values for the grant_typeparameter.
- Prompt
- Value that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
- ResponseMode 
- 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.