Interface IFormsClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface IFormsClient
Methods
CreateAsync(FormCreateRequest, CancellationToken)
Create a form.
Task<Form> CreateAsync(FormCreateRequest request, CancellationToken cancellationToken = default)
Parameters
request
FormCreateRequestcancellationToken
CancellationToken
Returns
DeleteAsync(string, CancellationToken)
Delete a form.
Task DeleteAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringID of the form to be deleted
cancellationToken
CancellationToken
Returns
GetAllAsync(FormsGetRequest, CancellationToken)
Get all Forms
Task<IPagedList<FormBase>> GetAllAsync(FormsGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
FormsGetRequestcancellationToken
CancellationToken
Returns
- Task<IPagedList<FormBase>>
All available Forms.
GetAsync(FormsGetRequest, CancellationToken)
Get A form.
Task<Form> GetAsync(FormsGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
FormsGetRequestcancellationToken
CancellationToken
Returns
UpdateAsync(string, FormUpdateRequest, CancellationToken)
Update a form.
Task<Form> UpdateAsync(string id, FormUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
id
stringID of the form to be updated
request
FormUpdateRequestcancellationToken
CancellationToken