Class ClientCredentials

java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.ClientCredentials
All Implemented Interfaces:
Credentials

public class ClientCredentials extends Object implements Credentials
Simple credential implementation based on a clientId and clientSecret.
  • Constructor Details

    • ClientCredentials

      public ClientCredentials(@Nonnull String clientId, @Nonnull String clientSecret)
  • Method Details

    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • getClientId

      @Nonnull public String getClientId()
    • getClientSecret

      @Nonnull public String getClientSecret()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object