Class Connection

java.lang.Object
com.auth0.json.mgmt.connections.Connection

public class Connection extends Object
Class that represents an Auth0 Connection object. Related to the ConnectionsEntity entity.
  • Constructor Details

    • Connection

      public Connection()
    • Connection

      public Connection(String name, String strategy)
  • Method Details

    • getName

      public String getName()
      Getter for the name of the connection.
      Returns:
      the name.
    • getOptions

      public Map<String,Object> getOptions()
      Getter for the connection options.
      Returns:
      the connection options.
    • setOptions

      public void setOptions(Map<String,Object> options)
      Setter for the connection options.
      Parameters:
      options - the connection options.
    • getId

      public String getId()
      Getter for the id of this connection.
      Returns:
      the id.
    • getDisplayName

      public String getDisplayName()
      Getter for the connection display name, used in the new universal login experience.
      Returns:
      the connection display name.
    • setDisplayName

      public void setDisplayName(String displayName)
      Setter for the connection display name, used in the new universal login experience.
      Parameters:
      displayName - the connection display name to set.
    • getStrategy

      public String getStrategy()
      Getter for the type of the connection, related to the identity provider.
      Returns:
      the strategy.
    • getEnabledClients

      public List<String> getEnabledClients()
      Getter for the list of applications this connection is enabled for.
      Returns:
      the list of enabled applications.
    • setEnabledClients

      public void setEnabledClients(List<String> enabledClients)
      Setter for the list of applications this connection is enabled for.
      Parameters:
      enabledClients - the list of enabled applications to set.
    • getProvisioningTicketUrl

      public String getProvisioningTicketUrl()
      Getter for the ad/ldap connection's ticket url.
      Returns:
      the provisioning ticket url.
    • getMetadata

      public Map<String,String> getMetadata()
      Getter for the metadata of this connection.
      Returns:
      the map of metadata key-values.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Setter for the metadata of this connection.
      Parameters:
      metadata - the map of metadata key-values.
    • getRealms

      public List<String> getRealms()
      Getter for the realms of this connection.
      Returns:
      the list of realms.
    • setRealms

      public void setRealms(List<String> realms)
      Setter for the realms of this connection.
      Parameters:
      realms - the list of realms.