Class DefaultCredentialsSwitchingPlatform
- java.lang.Object
-
- com.cumulocity.microservice.subscription.repository.DefaultCredentialsSwitchingPlatform
-
- All Implemented Interfaces:
CredentialsSwitchingPlatform
,com.google.common.base.Supplier<com.cumulocity.sdk.client.RestOperations>
,Supplier<com.cumulocity.sdk.client.RestOperations>
public class DefaultCredentialsSwitchingPlatform extends Object implements CredentialsSwitchingPlatform
-
-
Constructor Summary
Constructors Constructor Description DefaultCredentialsSwitchingPlatform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.cumulocity.sdk.client.RestOperations
get()
DefaultCredentialsSwitchingPlatform
switchTo(com.cumulocity.model.authentication.CumulocityCredentials credentials)
-
-
-
Method Detail
-
get
public com.cumulocity.sdk.client.RestOperations get()
- Specified by:
get
in interfaceCredentialsSwitchingPlatform
- Specified by:
get
in interfacecom.google.common.base.Supplier<com.cumulocity.sdk.client.RestOperations>
- Specified by:
get
in interfaceSupplier<com.cumulocity.sdk.client.RestOperations>
-
switchTo
public DefaultCredentialsSwitchingPlatform switchTo(com.cumulocity.model.authentication.CumulocityCredentials credentials)
- Specified by:
switchTo
in interfaceCredentialsSwitchingPlatform
-
-