public static class OAuth2TokenServiceCache.Default extends Object implements OAuth2TokenServiceCache
OAuth2TokenServiceCache.Default
Modifier and Type | Method and Description |
---|---|
com.sap.cloud.security.xsuaa.client.OAuth2TokenService |
getTokenService(com.sap.cloud.security.config.ClientIdentity identity)
Get the token service.
|
void |
invalidateCache()
Invalidate the cache.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, single
@Nonnull public com.sap.cloud.security.xsuaa.client.OAuth2TokenService getTokenService(@Nullable com.sap.cloud.security.config.ClientIdentity identity)
OAuth2TokenServiceCache
HttpClient
.getTokenService
in interface OAuth2TokenServiceCache
identity
- The client identity of a service binding.OAuth2TokenService
.public void invalidateCache()
OAuth2TokenServiceCache
invalidateCache
in interface OAuth2TokenServiceCache
Copyright © 2021 SAP SE. All rights reserved.