Class EnabledConnection
java.lang.Object
com.auth0.json.mgmt.organizations.EnabledConnection
Represents the enabled connection object for an organization.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAssignMembershipOnLogin
(boolean assignMembershipOnLogin) Sets whether users will be automatically granted membership in the organization when logging in.void
setConnection
(Connection connection) Sets the value of the Connection.void
setConnectionId
(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
-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
- Returns:
- the value of the connection ID.
-
setConnectionId
Sets the connection ID.- Parameters:
connectionId
- the connection ID.
-