Class CommonIamTokenCache
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.commoniam.CommonIamTokenCache
- All Implemented Interfaces:
OAuth2TokenCache
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sportradar.unifiedodds.sdk.internal.commoniam.OAuth2TokenCache
OAuth2TokenCache.OAuth2TokenCacheException, OAuth2TokenCache.OAuth2TokenRetrievalException, OAuth2TokenCache.OAuth2TokenRetrievalHttpException -
Constructor Summary
ConstructorsConstructorDescriptionCommonIamTokenCache(UofConfiguration configuration, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient, TimeUtils timeUtils, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ResourceAudience resourceAudience) -
Method Summary
-
Constructor Details
-
CommonIamTokenCache
public CommonIamTokenCache(UofConfiguration configuration, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient, TimeUtils timeUtils, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ResourceAudience resourceAudience)
-
-
Method Details
-
getToken
- Specified by:
getTokenin interfaceOAuth2TokenCache
-
invalidateToken
- Specified by:
invalidateTokenin interfaceOAuth2TokenCache
-