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
optionsRequestOptionscancellationTokenCancellationToken
Returns
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
requestPatchPhoneProviderProtectionRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.AttackProtection.PhoneProviderProtection.PatchAsync(
new PatchPhoneProviderProtectionRequestContent
{
Type = PhoneProviderProtectionBackoffStrategyEnum.Exponential,
}
);