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 Details
-
DefaultCredentialsSwitchingPlatform
public DefaultCredentialsSwitchingPlatform()
-
-
Method Details
-
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
-