Table of Contents

Interface IUserBlocksClient

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
public interface IUserBlocksClient
Extension Methods

Methods

DeleteAsync(string, RequestOptions?, CancellationToken)

Remove all Brute-force Protection blocks for the user with the given ID.

Note: This endpoint does not unblock users that were blocked by a tenant administrator.

Task DeleteAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

Task

DeleteByIdentifierAsync(DeleteUserBlocksByIdentifierRequestParameters, RequestOptions?, CancellationToken)

Remove all Brute-force Protection blocks for the user with the given identifier (username, phone number, or email).

Note: This endpoint does not unblock users that were blocked by a tenant administrator.

Task DeleteByIdentifierAsync(DeleteUserBlocksByIdentifierRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request DeleteUserBlocksByIdentifierRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task

ListAsync(string, ListUserBlocksRequestParameters, RequestOptions?, CancellationToken)

Retrieve details of all Brute-force Protection blocks for the user with the given ID.

WithRawResponseTask<ListUserBlocksResponseContent> ListAsync(string id, ListUserBlocksRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request ListUserBlocksRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<ListUserBlocksResponseContent>

ListByIdentifierAsync(ListUserBlocksByIdentifierRequestParameters, RequestOptions?, CancellationToken)

Retrieve details of all Brute-force Protection blocks for a user with the given identifier (username, phone number, or email).

WithRawResponseTask<ListUserBlocksByIdentifierResponseContent> ListByIdentifierAsync(ListUserBlocksByIdentifierRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request ListUserBlocksByIdentifierRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<ListUserBlocksByIdentifierResponseContent>