Class 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:
    Serialized Form
    • Constructor Detail

      • AuthConfig

        public AuthConfig()
    • Method Detail

      • getProject

        @Nullable
        public abstract String getProject()
      • getHost

        public abstract String getHost()
      • 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.
      • withProject

        public AuthConfig withProject​(String project)
        Set the Cognite Data Fusion project (environment) to connect with.
        Parameters:
        project - The project id to interact with.