| java.lang.Object | |
| ↳ | com.google.firebase.auth.multitenancy.Tenant.CreateRequest |
A specification class for creating a new tenant.
Set the initial attributes of the new tenant by calling various setter methods available in this class. None of the attributes are required.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CreateRequest()
Creates a new
Tenant.CreateRequest, which can be used to create a new tenant. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Tenant.CreateRequest |
setDisplayName(String displayName)
Sets the display name for the new tenant.
| ||||||||||
| Tenant.CreateRequest |
setEmailLinkSignInEnabled(boolean emailLinkSignInEnabled)
Sets whether to enable email link user authentication.
| ||||||||||
| Tenant.CreateRequest |
setPasswordSignInAllowed(boolean passwordSignInAllowed)
Sets whether to allow email/password user authentication.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new Tenant.CreateRequest, which can be used to create a new tenant.
The returned object should be passed to createTenant(CreateRequest)
to register the tenant information persistently.
Sets the display name for the new tenant.
| displayName | a non-null, non-empty display name string. |
|---|
Sets whether to enable email link user authentication.
| emailLinkSignInEnabled | a boolean indicating whether users can be authenticated using an email link. |
|---|
Sets whether to allow email/password user authentication.
| passwordSignInAllowed | a boolean indicating whether users can be authenticated using an email and password. |
|---|