Table of Contents

Class PhoneProviderProtectionClient

Namespace
Auth0.ManagementApi.AttackProtection
Assembly
Auth0.ManagementApi.dll
public class PhoneProviderProtectionClient : IPhoneProviderProtectionClient
Inheritance
PhoneProviderProtectionClient
Implements
Inherited Members
Extension Methods

Methods

GetAsync(RequestOptions?, CancellationToken)

Get the phone provider protection configuration for a tenant.

public WithRawResponseTask<GetPhoneProviderProtectionResponseContent> GetAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetPhoneProviderProtectionResponseContent>

Examples

await client.AttackProtection.PhoneProviderProtection.GetAsync();

PatchAsync(PatchPhoneProviderProtectionRequestContent, RequestOptions?, CancellationToken)

Update the phone provider protection configuration for a tenant.

public WithRawResponseTask<PatchPhoneProviderProtectionResponseContent> PatchAsync(PatchPhoneProviderProtectionRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request PatchPhoneProviderProtectionRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<PatchPhoneProviderProtectionResponseContent>

Examples

await client.AttackProtection.PhoneProviderProtection.PatchAsync(
    new PatchPhoneProviderProtectionRequestContent
    {
        Type = PhoneProviderProtectionBackoffStrategyEnum.Exponential,
    }
);