Class BtpServiceOptions.AuthenticationServiceOptions
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.BtpServiceOptions.AuthenticationServiceOptions
- Enclosing class:
- BtpServiceOptions
Factory class for common Authentication Service options.
ServiceBindingDestinationOptions.OptionsEnhancer
instances created in this class will be interpreted by services with either
ServiceIdentifier.IDENTITY_AUTHENTICATION
or
ServiceIdentifier.of("xsuaa")
.
- Since:
- 5.9.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
AnServiceBindingDestinationOptions.OptionsEnhancer
that contains the target URI for an IAS or XSUAA-based destination. -
Method Summary
Modifier and TypeMethodDescriptionwithTargetUri
(String uri) Overwrites the target URI that is extracted from the IAS or XSUAA service binding.withTargetUri
(URI uri) Overwrites the target URI that is extracted from the IAS or XSUAA service binding.
-
Method Details
-
withTargetUri
@Nonnull public static ServiceBindingDestinationOptions.OptionsEnhancer<?> withTargetUri(@Nonnull String uri) Overwrites the target URI that is extracted from the IAS or XSUAA service binding.- Parameters:
uri
- The target URI to be used.- Returns:
- An instance of
ServiceBindingDestinationOptions.OptionsEnhancer
that is used when creating a destination from an IAS or XSUAA service binding and that contains the target URI.
-
withTargetUri
@Nonnull public static ServiceBindingDestinationOptions.OptionsEnhancer<?> withTargetUri(@Nonnull URI uri) Overwrites the target URI that is extracted from the IAS or XSUAA service binding.- Parameters:
uri
- The target URI to be used.- Returns:
- An instance of
ServiceBindingDestinationOptions.OptionsEnhancer
that is used when creating a destination from an IAS or XSUAA service binding and that contains the target URI.
-