Class ScpCfTenantFacade
java.lang.Object
com.sap.cloud.sdk.cloudplatform.tenant.DefaultTenantFacade
com.sap.cloud.sdk.cloudplatform.tenant.ScpCfTenantFacade
- All Implemented Interfaces:
TenantFacade
Facade providing access to tenant information on SAP Business Technology Platform Cloud Foundry.
-
Constructor Details
-
ScpCfTenantFacade
public ScpCfTenantFacade()
-
-
Method Details
-
tryGetAuthTokenTenant
- Returns:
- A
Tryof theTenant.
-
tryGetXsuaaServiceTenant
Deprecated.Please leverage the security library directly instead.Get theTenantthat may be contained in the currentAuthToken. This method is not compatible with version 3.0.0 or higher of the XSUAA Security Library- Returns:
- A
Tryof theTenant.
-
tryGetCurrentTenant
- Specified by:
tryGetCurrentTenantin interfaceTenantFacade- Overrides:
tryGetCurrentTenantin classDefaultTenantFacade
-