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.getMtls()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.voidsetAcrValuesSupported(List<String> acrValuesSupported) Sets the value of theacr_values_supportedfieldvoidsetAllowedLogoutUrls(List<String> allowedLogoutUrls) Setter for the tenant list of URLs that are valid to redirect to after logout from Auth0.voidsetChangePasswordPage(PageCustomization changePassword) Setter for the change password customization.voidsetDefaultAudience(String defaultAudience) Setter for the default audience used for API Authorization.voidsetDefaultDirectory(String defaultDirectory) Setter for the name of the connection that will be used for password grants at the token endpoint.voidsetErrorPage(ErrorPageCustomization errorPage) Setter for the error page customization.voidSetter for the tenant flags.voidsetFriendlyName(String friendlyName) Setter for the friendly name of the tenant.voidsetGuardianMFAPage(PageCustomization guardianMFAPage) Setter for the guardian MFA page customization.voidsetIdleSessionLifetime(Integer idleSessionLifetime) Setter for the login session idle lifetime.voidSets the value of themtlsfieldvoidsetPictureUrl(String pictureUrl) Setter for the tenant picture url.voidsetPushedAuthorizationRequestsSupported(Boolean pushedAuthorizationRequestsSupported) Sets the value of thepushed_authorization_requests_supportedfieldvoidsetRemoveAlgFromJwks(Boolean removeAlgFromJwks) Sets the value of theremove_alg_from_jwksfieldvoidsetSessionCookie(SessionCookie sessionCookie) Sets the value of the session cookie.voidsetSessionLifetime(Integer sessionLifetime) Setter for the login session lifetime.voidsetSupportEmail(String supportEmail) Setter for the user support email.voidsetSupportUrl(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.
-
getAcrValuesSupported
- Returns:
- the value of the
acr_values_supportedfield
-
setAcrValuesSupported
Sets the value of theacr_values_supportedfield- Parameters:
acrValuesSupported- the value of theacr_values_supported_field
-
getPushedAuthorizationRequestsSupported
- Returns:
- the value of the
pushed_authorization_requests_supportedfield.
-
setPushedAuthorizationRequestsSupported
Sets the value of thepushed_authorization_requests_supportedfield- Parameters:
pushedAuthorizationRequestsSupported- the value of thepushed_authorization_requests_supportedfield
-
getRemoveAlgFromJwks
- Returns:
- the value of the
remove_alg_from_jwksfield
-
setRemoveAlgFromJwks
Sets the value of theremove_alg_from_jwksfield- Parameters:
removeAlgFromJwks- the value of theremove_alg_from_jwksfield
-
getMtls
- Returns:
- the value of the
mtlsfield
-
setMtls
Sets the value of themtlsfield- Parameters:
mtls- the value of themtlsfield
-