Provider of OAuth2 authorization.
Attributes
- Companion
- object
- Source
- OAuth2Provider.scala
- 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 authorization request.
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
- Source
- OAuth2Provider.scala
Name of the provider.
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
- Source
- OAuth2Provider.scala
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
- Source
- OAuth2Provider.scala
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
- Source
- OAuth2Provider.scala