Class AuthConfig

java.lang.Object
com.cognite.client.config.AuthConfig
All Implemented Interfaces:
Serializable

public abstract class AuthConfig extends Object implements Serializable
Class representing the Cognite Data Fusion (CDF) project information: - Host. The default host is https://api.cognitedata.com. - Project. This is the name of a specific, isolated CDF environment. This information is used to uniquely identify which Cognite Data Fusion project/environment to connect with.
See Also:
  • Constructor Details

    • AuthConfig

      public AuthConfig()
  • Method Details

    • of

      public static AuthConfig of(String cdfProject)
    • getProject

      @Nullable public abstract String getProject()
    • getHost

      public abstract String getHost()
    • toBuilder

      public abstract AuthConfig.Builder toBuilder()
    • withHost

      public AuthConfig withHost(String host)
      Configure a specific Cognite Data Fusion host. This is relevant configuration for users of dedicated clusters or with custom routing configurations. The default host is https://api.cognitedata.com.
      Parameters:
      host - The CDF host to connect to.
    • toString

      public final String toString()
      Overrides:
      toString in class Object