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:
getin interfaceCredentialsSwitchingPlatform- Specified by:
getin interfacecom.google.common.base.Supplier<com.cumulocity.sdk.client.RestOperations>- Specified by:
getin interfaceSupplier<com.cumulocity.sdk.client.RestOperations>
-
switchTo
public DefaultCredentialsSwitchingPlatform switchTo(com.cumulocity.model.authentication.CumulocityCredentials credentials) - Specified by:
switchToin interfaceCredentialsSwitchingPlatform
-