Uses of Class
com.sap.cloud.sdk.cloudplatform.connectivity.OAuth2Options.Builder
Packages that use OAuth2Options.Builder
- 
Uses of OAuth2Options.Builder in com.sap.cloud.sdk.cloudplatform.connectivity
Methods in com.sap.cloud.sdk.cloudplatform.connectivity that return OAuth2Options.BuilderModifier and TypeMethodDescriptionstatic OAuth2Options.BuilderOAuth2Options.builder()Returns a newOAuth2Options.Builderinstance that can be used to create a customizedOAuth2Optionsinstance.OAuth2Options.Builder.withClientKeyStore(KeyStore clientKeyStore) Sets theKeyStoreto use for building an mTLS connection towards the target system.OAuth2Options.Builder.withSkipTokenRetrieval(boolean skipTokenRetrieval) Indicates whether to skip the OAuth2 token flow.OAuth2Options.Builder.withTimeLimiter(ResilienceConfiguration.TimeLimiterConfiguration timeLimiter) Set a custom timeout for token retrieval.OAuth2Options.Builder.withTokenCacheParameters(OAuth2Options.TokenCacheParameters tokenCacheParameters) Set a custom token cache configuration.OAuth2Options.Builder.withTokenRetrievalParameter(String key, String value) Adds (or overwrites) the provided key-value-pair to theOAuth2Options.getAdditionalTokenRetrievalParameters()of the to-be-createdOAuth2Optionsinstance.OAuth2Options.Builder.withTokenRetrievalParameters(Map<String, String> parameters) Adds (or overwrites) the provided parameters to theOAuth2Options.getAdditionalTokenRetrievalParameters()of the to-be-createdOAuth2Optionsinstance.