| Package | Description |
|---|---|
| com.sap.cloud.security.xsuaa.client | |
| com.sap.cloud.security.xsuaa.tokenflows |
| Modifier and Type | Method and Description |
|---|---|
TokenCacheConfiguration |
AbstractOAuth2TokenService.getCacheConfiguration() |
| Constructor and Description |
|---|
AbstractOAuth2TokenService(TokenCacheConfiguration tokenCacheConfiguration)
Constructor used to overwrite the default cache configuration.
|
DefaultOAuth2TokenService(org.apache.http.impl.client.CloseableHttpClient httpClient,
TokenCacheConfiguration tokenCacheConfiguration) |
DefaultOAuth2TokenService(TokenCacheConfiguration tokenCacheConfiguration)
Deprecated.
in favor of
DefaultOAuth2TokenService(CloseableHttpClient, TokenCacheConfiguration)
as it doesn't support certificate based communication. Will be
deleted with version 3.0.0. |
XsuaaOAuth2TokenService(org.springframework.web.client.RestOperations restOperations,
TokenCacheConfiguration tokenCacheConfiguration) |
XsuaaOAuth2TokenService(TokenCacheConfiguration tokenCacheConfiguration)
Deprecated.
In favor of {
XsuaaOAuth2TokenService(RestOperations)
gets removed with the version 3.0.0, does not support certificate
based authentication |
| Modifier and Type | Method and Description |
|---|---|
static TokenCacheConfiguration |
TokenCacheConfiguration.cacheDisabled()
The default cache configuration.
|
static TokenCacheConfiguration |
TokenCacheConfiguration.defaultConfiguration()
A special cache configuration used to disable caching.
|
static TokenCacheConfiguration |
TokenCacheConfiguration.getInstance(Duration cacheDuration,
int cacheSize,
Duration tokenExpirationDelta)
Creates a new
TokenCacheConfiguration instance with the given
properties. |
static TokenCacheConfiguration |
TokenCacheConfiguration.getInstance(Duration cacheDuration,
int cacheSize,
Duration tokenExpirationDelta,
boolean cacheStatisticsEnabled)
Creates a new
TokenCacheConfiguration instance with the given
properties. |
Copyright © 2022. All rights reserved.