Package com.okta.sdk.impl.oauth2
Class OAuth2ClientCredentials
java.lang.Object
com.okta.sdk.resource.client.auth.OAuth
com.okta.sdk.impl.oauth2.OAuth2ClientCredentials
- All Implemented Interfaces:
ClientCredentials<OAuth2AccessToken>,Authentication
This implementation represents client credentials specific to OAuth2 Authentication scheme.
- Since:
- 1.6.0
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2ClientCredentials(AccessTokenRetrieverService accessTokenRetrieverService) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) voidvoidsetCredentials(OAuth2AccessToken oAuth2AccessToken) toString()Methods inherited from class com.okta.sdk.resource.client.auth.OAuth
getAccessToken, setAccessToken
-
Constructor Details
-
OAuth2ClientCredentials
-
-
Method Details
-
applyToParams
public void applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams) - Specified by:
applyToParamsin interfaceAuthentication- Overrides:
applyToParamsin classOAuth
-
refreshOAuth2AccessToken
public void refreshOAuth2AccessToken() -
getCredentials
- Specified by:
getCredentialsin interfaceClientCredentials<OAuth2AccessToken>
-
setCredentials
-
toString
-