Uses of Class
com.sap.cloud.sdk.cloudplatform.connectivity.OAuth2Options.Builder
-
Uses of OAuth2Options.Builder in com.sap.cloud.sdk.cloudplatform.connectivity
Modifier and TypeMethodDescriptionstatic OAuth2Options.Builder
OAuth2Options.builder()
Returns a newOAuth2Options.Builder
instance that can be used to create a customizedOAuth2Options
instance.OAuth2Options.Builder.withClientKeyStore
(KeyStore clientKeyStore) Sets theKeyStore
to 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.withTokenRetrievalParameter
(String key, String value) Adds (or overwrites) the provided key-value-pair to theOAuth2Options.getAdditionalTokenRetrievalParameters()
of the to-be-createdOAuth2Options
instance.OAuth2Options.Builder.withTokenRetrievalParameters
(Map<String, String> parameters) Adds (or overwrites) the provided parameters to theOAuth2Options.getAdditionalTokenRetrievalParameters()
of the to-be-createdOAuth2Options
instance.