Class EnabledConnection
java.lang.Object
com.auth0.json.mgmt.organizations.EnabledConnection
Represents the enabled connection object for an organization.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAssignMembershipOnLogin(boolean assignMembershipOnLogin) Sets whether users will be automatically granted membership in the organization when logging in.voidsetConnection(Connection connection) Sets the value of the Connection.voidsetConnectionId(String connectionId) Sets the connection ID.
-
Constructor Details
-
EnabledConnection
public EnabledConnection() -
EnabledConnection
Create a new instance.- Parameters:
connectionId- the ID of the connection
-
-
Method Details
-
getConnection
- Returns:
- the value of the Connection.
-
setConnection
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-trueto grant membership in the organization automatically when logging in,falseto require membership to be granted prior to logging with this connection.
-
getConnectionId
- Returns:
- the value of the connection ID.
-
setConnectionId
Sets the connection ID.- Parameters:
connectionId- the connection ID.
-