docs/classes/management.SDK.PoliciesClient.html
new PoliciesClient(options: BaseClientOptions): PoliciesClient
list(
requestOptions?: PoliciesClient.RequestOptions,
): HttpResponsePromise<ListGuardianPoliciesResponseContent>
Retrieve the multi-factor authentication (MFA) policies configured for your tenant.
The following policies are supported:
all-applications policy prompts with MFA for all logins.confidence-score policy prompts with MFA only for low confidence logins.Note : The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details.
OptionalrequestOptions: PoliciesClient.RequestOptionsRequest-specific configuration.
await client.guardian.policies.list()Copy
set(
request: SetGuardianPoliciesRequestContent,
requestOptions?: PoliciesClient.RequestOptions,
): HttpResponsePromise<SetGuardianPoliciesResponseContent>
Set multi-factor authentication (MFA) policies for your tenant.
The following policies are supported:
all-applications policy prompts with MFA for all logins.confidence-score policy prompts with MFA only for low confidence logins.Note : The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details.
OptionalrequestOptions: PoliciesClient.RequestOptionsRequest-specific configuration.
await client.guardian.policies.set(["all-applications"])Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods listset Properties _options