Provider of OAuth2 authorization.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Abstract methods
Generates HTTP request for access token request.
Generates HTTP request for access token request.
Attributes
Generates HTTP request for authorization request.
Generates HTTP request for authorization request.
Attributes
Public client identifier as provided after registration on authorization server. It is used for generating default file name, which holds access token.
Public client identifier as provided after registration on authorization server. It is used for generating default file name, which holds access token.
Attributes
Generates HTTP request for refresh token request. Returns None if this operation is not supported by the provider.
Generates HTTP request for refresh token request. Returns None if this operation is not supported by the provider.
Attributes
Concrete methods
Converts textual response of access token request into AccessTokenResponse. Defaults to decoding from standard JSON format, can be overriden if OAuth2 server does not adhere to this standard.
Converts textual response of access token request into AccessTokenResponse. Defaults to decoding from standard JSON format, can be overriden if OAuth2 server does not adhere to this standard.
Value parameters
- body
-
response body
Attributes
- Returns
-
decoded access token response
- See also
Converts textual response of authorization request into AuthorizationResponse. Defaults to decoding from standard JSON format, can be overridden if OAuth2 server does not adhere to this standard.
Converts textual response of authorization request into AuthorizationResponse. Defaults to decoding from standard JSON format, can be overridden if OAuth2 server does not adhere to this standard.
Value parameters
- body
-
response body
Attributes
- Returns
-
decoded authorization response
- See also