Interface IPoliciesClient
- Namespace
- Auth0.ManagementApi.Guardian
- Assembly
- Auth0.ManagementApi.dll
public interface IPoliciesClient
- Extension Methods
Methods
ListAsync(RequestOptions?, CancellationToken)
Retrieve the multi-factor authentication (MFA) policies configured for your tenant.
The following policies are supported:
all-applicationspolicy prompts with MFA for all logins.confidence-scorepolicy 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.
WithRawResponseTask<IEnumerable<MfaPolicyEnum>> ListAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken
Returns
SetAsync(IEnumerable<MfaPolicyEnum>, RequestOptions?, CancellationToken)
Set multi-factor authentication (MFA) policies for your tenant.
The following policies are supported:
all-applicationspolicy prompts with MFA for all logins.confidence-scorepolicy 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.
WithRawResponseTask<IEnumerable<MfaPolicyEnum>> SetAsync(IEnumerable<MfaPolicyEnum> request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestIEnumerable<MfaPolicyEnum>optionsRequestOptionscancellationTokenCancellationToken