Object -
oauth2 :
OutboundOAuth2Provider
Represents outbound OAuth2 provider.
Constructor
__init
(ClientCredentialsGrantConfig | PasswordGrantConfig | DirectTokenConfig | () oauth2ProviderConfig)
- oauth2ProviderConfig ClientCredentialsGrantConfig | PasswordGrantConfig | DirectTokenConfig | () ()
Methods
generateToken
Generate token for OAuth2 authentication.
inspect
Inspect the incoming data and generate the token for OAuth2 authentication.
Fields
- oauth2ProviderConfig ClientCredentialsGrantConfig | PasswordGrantConfig | DirectTokenConfig | ()
-
Outbound OAuth2 provider configurations
- tokenCache CachedToken
-
Cached token configurations
Generate token for OAuth2 authentication.
Inspect the incoming data and generate the token for OAuth2 authentication.
Parameters
- data map
-
Map of data which is extracted from the HTTP response