Interface IAuthenticationMethodsClient
- Namespace
- Auth0.ManagementApi.Users
- Assembly
- Auth0.ManagementApi.dll
public interface IAuthenticationMethodsClient
- Extension Methods
Methods
CreateAsync(string, CreateUserAuthenticationMethodRequestContent, RequestOptions?, CancellationToken)
Create an authentication method. Authentication methods created via this endpoint will be auto confirmed and should already have verification completed.
WithRawResponseTask<CreateUserAuthenticationMethodResponseContent> CreateAsync(string id, CreateUserAuthenticationMethodRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestCreateUserAuthenticationMethodRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAllAsync(string, RequestOptions?, CancellationToken)
Remove all authentication methods (i.e., enrolled MFA factors) from the specified user account. This action cannot be undone.
Task DeleteAllAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, string, RequestOptions?, CancellationToken)
Remove the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API.
Task DeleteAsync(string id, string authenticationMethodId, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringauthenticationMethodIdstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
GetAsync(string, string, RequestOptions?, CancellationToken)
WithRawResponseTask<GetUserAuthenticationMethodResponseContent> GetAsync(string id, string authenticationMethodId, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringauthenticationMethodIdstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(string, ListUserAuthenticationMethodsRequestParameters, RequestOptions?, CancellationToken)
Retrieve detailed list of authentication methods associated with a specified user.
Task<Pager<UserAuthenticationMethod>> ListAsync(string id, ListUserAuthenticationMethodsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestListUserAuthenticationMethodsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
SetAsync(string, IEnumerable<SetUserAuthenticationMethods>, RequestOptions?, CancellationToken)
WithRawResponseTask<IEnumerable<SetUserAuthenticationMethodResponseContent>> SetAsync(string id, IEnumerable<SetUserAuthenticationMethods> request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestIEnumerable<SetUserAuthenticationMethods>optionsRequestOptionscancellationTokenCancellationToken
Returns
UpdateAsync(string, string, UpdateUserAuthenticationMethodRequestContent, RequestOptions?, CancellationToken)
Modify the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API.
WithRawResponseTask<UpdateUserAuthenticationMethodResponseContent> UpdateAsync(string id, string authenticationMethodId, UpdateUserAuthenticationMethodRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringauthenticationMethodIdstringrequestUpdateUserAuthenticationMethodRequestContentoptionsRequestOptionscancellationTokenCancellationToken