Class EnabledConnection

java.lang.Object
com.auth0.json.mgmt.organizations.EnabledConnection

public class EnabledConnection extends Object
Represents the enabled connection object for an organization.
See Also:
  • Constructor Details

    • EnabledConnection

      public EnabledConnection()
    • EnabledConnection

      public EnabledConnection(String connectionId)
      Create a new instance.
      Parameters:
      connectionId - the ID of the connection
  • Method Details

    • getConnection

      public Connection getConnection()
      Returns:
      the value of the Connection.
    • setConnection

      public void setConnection(Connection connection)
      Sets the value of the Connection.
      Parameters:
      connection - the Connection to set.
    • isAssignMembershipOnLogin

      public boolean isAssignMembershipOnLogin()
      Returns:
      whether users will automatically granted membership in the organization when logging in.
    • setAssignMembershipOnLogin

      public void setAssignMembershipOnLogin(boolean assignMembershipOnLogin)
      Sets whether users will be automatically granted membership in the organization when logging in.
      Parameters:
      assignMembershipOnLogin - true to grant membership in the organization automatically when logging in, false to require membership to be granted prior to logging with this connection.
    • getConnectionId

      public String getConnectionId()
      Returns:
      the value of the connection ID.
    • setConnectionId

      public void setConnectionId(String connectionId)
      Sets the connection ID.
      Parameters:
      connectionId - the connection ID.