Interface CredentialsSwitchingPlatform

All Superinterfaces:
com.google.common.base.Supplier<com.cumulocity.sdk.client.RestOperations>, Supplier<com.cumulocity.sdk.client.RestOperations>
All Known Implementing Classes:
DefaultCredentialsSwitchingPlatform

public interface CredentialsSwitchingPlatform extends com.google.common.base.Supplier<com.cumulocity.sdk.client.RestOperations>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.cumulocity.sdk.client.RestOperations
    get()
     
    switchTo(com.cumulocity.model.authentication.CumulocityCredentials credentials)
     
  • Method Details

    • get

      com.cumulocity.sdk.client.RestOperations get()
      Specified by:
      get in interface com.google.common.base.Supplier<com.cumulocity.sdk.client.RestOperations>
      Specified by:
      get in interface Supplier<com.cumulocity.sdk.client.RestOperations>
    • switchTo

      CredentialsSwitchingPlatform switchTo(com.cumulocity.model.authentication.CumulocityCredentials credentials)