Class XsuaaOAuth2PropertySupplier
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DefaultOAuth2PropertySupplier
com.sap.cds.services.utils.destination.XsuaaOAuth2PropertySupplier
- All Implemented Interfaces:
com.sap.cloud.sdk.cloudplatform.connectivity.OAuth2PropertySupplier
public class XsuaaOAuth2PropertySupplier
extends com.sap.cloud.sdk.cloudplatform.connectivity.DefaultOAuth2PropertySupplier
Dedicated
OAuth2PropertySupplier which parses service bindings of
type xsuaa. As these bindings only provide credentials, but no service url, the service url can be dynamically provided
via the class XsuaaOAuth2PropertySupplier.UrlOptions. If a caller does not provide a XsuaaOAuth2PropertySupplier.UrlOptions, an exception will be thrown.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.sap.cloud.sdk.cloudplatform.connectivity.DefaultOAuth2PropertySupplier
credentials, DEFAULT_UAA_CREDENTIAL_PATH, options -
Constructor Summary
ConstructorsConstructorDescriptionXsuaaOAuth2PropertySupplier(com.sap.cloud.sdk.cloudplatform.connectivity.ServiceBindingDestinationOptions options) -
Method Summary
Methods inherited from class com.sap.cloud.sdk.cloudplatform.connectivity.DefaultOAuth2PropertySupplier
getClientIdentity, getCredential, getCredentialOrThrow, getOAuthCredential, getOAuthCredentialOrThrow, getOAuthPropertyPath, getTokenUri, isOAuth2Binding
-
Constructor Details
-
XsuaaOAuth2PropertySupplier
public XsuaaOAuth2PropertySupplier(com.sap.cloud.sdk.cloudplatform.connectivity.ServiceBindingDestinationOptions options)
-
-
Method Details
-
initialize
public static void initialize() -
getServiceUri
- Specified by:
getServiceUriin interfacecom.sap.cloud.sdk.cloudplatform.connectivity.OAuth2PropertySupplier- Overrides:
getServiceUriin classcom.sap.cloud.sdk.cloudplatform.connectivity.DefaultOAuth2PropertySupplier
-