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.voidsetShowAsButton(Boolean showAsButton) Sets theshow_as_buttonvalue.
-
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.
-
getShowAsButton
- Returns:
- the value of the
show_as_buttonfield.
-
setShowAsButton
Sets theshow_as_buttonvalue.- Parameters:
showAsButton- the value forshow_as_button.
-