Package com.auth0.json.mgmt.tenants
Class Tenant
java.lang.Object
com.auth0.json.mgmt.tenants.Tenant
Class that represents an Auth0 Tenant Settings object. Related to the
TenantsEntity
entity.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the tenant list of URLs that are valid to redirect to after logout from Auth0.Getter for the change password page customization.Getter for the default audience used for API Authorization.Getter for the name of the connection that will be used for password grants at the token endpoint.Getter for the error page customization.getFlags()
Getter for the tenant flags.Getter for the friendly name of the tenant.Getter for the guardian MFA page customization.Getter for the login session idle lifetime.Getter for the url of the tenant picture.Getter for the login session lifetime.Getter for the user support email.Getter for the user support url.void
setAllowedLogoutUrls
(List<String> allowedLogoutUrls) Setter for the tenant list of URLs that are valid to redirect to after logout from Auth0.void
setChangePasswordPage
(PageCustomization changePassword) Setter for the change password customization.void
setDefaultAudience
(String defaultAudience) Setter for the default audience used for API Authorization.void
setDefaultDirectory
(String defaultDirectory) Setter for the name of the connection that will be used for password grants at the token endpoint.void
setErrorPage
(ErrorPageCustomization errorPage) Setter for the error page customization.void
Setter for the tenant flags.void
setFriendlyName
(String friendlyName) Setter for the friendly name of the tenant.void
setGuardianMFAPage
(PageCustomization guardianMFAPage) Setter for the guardian MFA page customization.void
setIdleSessionLifetime
(Integer idleSessionLifetime) Setter for the login session idle lifetime.void
setPictureUrl
(String pictureUrl) Setter for the tenant picture url.void
setSessionCookie
(SessionCookie sessionCookie) Sets the value of the session cookie.void
setSessionLifetime
(Integer sessionLifetime) Setter for the login session lifetime.void
setSupportEmail
(String supportEmail) Setter for the user support email.void
setSupportUrl
(String supportUrl) Setter for the user support url.
-
Constructor Details
-
Tenant
public Tenant()
-
-
Method Details
-
getChangePasswordPage
Getter for the change password page customization.- Returns:
- the page customization.
-
setChangePasswordPage
Setter for the change password customization.- Parameters:
changePassword
- the page customization to set.
-
getGuardianMFAPage
Getter for the guardian MFA page customization.- Returns:
- the page customization.
-
setGuardianMFAPage
Setter for the guardian MFA page customization.- Parameters:
guardianMFAPage
- the page customization to set.
-
getDefaultAudience
Getter for the default audience used for API Authorization.- Returns:
- the default audience.
-
setDefaultAudience
Setter for the default audience used for API Authorization.- Parameters:
defaultAudience
- the default audience to set.
-
getDefaultDirectory
Getter for the name of the connection that will be used for password grants at the token endpoint. Only the following connection types are supported: LDAP, AD, Database Connections, Passwordless, Windows Azure Active Directory, ADFS.- Returns:
- the default directory.
-
setDefaultDirectory
Setter for the name of the connection that will be used for password grants at the token endpoint. Only the following connection types are supported: LDAP, AD, Database Connections, Passwordless, Windows Azure Active Directory, ADFS.- Parameters:
defaultDirectory
- the default directory to set.
-
getErrorPage
Getter for the error page customization.- Returns:
- the page customization.
-
setErrorPage
Setter for the error page customization.- Parameters:
errorPage
- the page customization to set.
-
getFlags
Getter for the tenant flags. Some flags are 'change_pwd_flow_v1', 'enable_apis_section', 'disable_impersonation', 'enable_client_connections', 'enable_pipeline2'.- Returns:
- the tenant flags.
-
setFlags
Setter for the tenant flags. Some flags are 'change_pwd_flow_v1', 'enable_apis_section', 'disable_impersonation', 'enable_client_connections', 'enable_pipeline2'.- Parameters:
flags
- the flags to set.
-
getFriendlyName
Getter for the friendly name of the tenant.- Returns:
- the friendly name.
-
setFriendlyName
Setter for the friendly name of the tenant.- Parameters:
friendlyName
- the friendly name to set.
-
getPictureUrl
Getter for the url of the tenant picture.- Returns:
- the tenant picture url.
-
setPictureUrl
Setter for the tenant picture url. An image with size 150x150 is recommended.- Parameters:
pictureUrl
- the picture url to set.
-
getSupportEmail
Getter for the user support email.- Returns:
- the support email.
-
setSupportEmail
Setter for the user support email.- Parameters:
supportEmail
- the support email to set.
-
getSupportUrl
Getter for the user support url.- Returns:
- the support url.
-
setSupportUrl
Setter for the user support url.- Parameters:
supportUrl
- the support url to set.
-
getAllowedLogoutUrls
Getter for the tenant list of URLs that are valid to redirect to after logout from Auth0.- Returns:
- the list of logout urls.
-
setAllowedLogoutUrls
Setter for the tenant list of URLs that are valid to redirect to after logout from Auth0.- Parameters:
allowedLogoutUrls
- the allowed logout urls to set.
-
getSessionLifetime
Getter for the login session lifetime. This is how long the session will stay valid. Value is in hours.- Returns:
- the session lifetime in hours.
-
getSessionCookie
- Returns:
- the value of the session cookie.
-
setSessionCookie
Sets the value of the session cookie.- Parameters:
sessionCookie
- the value of the session cookie to set.
-
setSessionLifetime
Setter for the login session lifetime. This is how long the session will stay valid. Value is in hours.- Parameters:
sessionLifetime
- the session lifetime in hours to set.
-
getIdleSessionLifetime
Getter for the login session idle lifetime. This is how long the session will stay valid without user activity. Value is in hours.- Returns:
- the session idle lifetime in hours.
-
setIdleSessionLifetime
Setter for the login session idle lifetime. This is how long the session will stay valid without user activity. Value is in hours.- Parameters:
idleSessionLifetime
- the session lifetime in hours to set.
-