Class OAuth2Options.TokenRetrievalTimeout
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.OAuth2Options.TokenRetrievalTimeout
- All Implemented Interfaces:
ServiceBindingDestinationOptions.OptionsEnhancer<ResilienceConfiguration.TimeLimiterConfiguration>
- Enclosing class:
- OAuth2Options
public static class OAuth2Options.TokenRetrievalTimeout
extends Object
implements ServiceBindingDestinationOptions.OptionsEnhancer<ResilienceConfiguration.TimeLimiterConfiguration>
Configure the timeout applied to token retrieval.
- Since:
- 5.12.0
-
Method Summary
-
Method Details
-
getValue
Description copied from interface:ServiceBindingDestinationOptions.OptionsEnhancer
Get the value of the option.- Specified by:
getValue
in interfaceServiceBindingDestinationOptions.OptionsEnhancer<ResilienceConfiguration.TimeLimiterConfiguration>
- Returns:
- The value of the option.
-
of
@Nonnull public static OAuth2Options.TokenRetrievalTimeout of(@Nonnull ResilienceConfiguration.TimeLimiterConfiguration value)
-