Interface IClientGrantsClient
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
public interface IClientGrantsClient
- Extension Methods
Properties
Organizations
IOrganizationsClient Organizations { get; }
Property Value
Methods
CreateAsync(CreateClientGrantRequestContent, RequestOptions?, CancellationToken)
Create a client grant for a machine-to-machine login flow. To learn more, read Client Credential Flow.
WithRawResponseTask<CreateClientGrantResponseContent> CreateAsync(CreateClientGrantRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestCreateClientGrantRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, RequestOptions?, CancellationToken)
Delete the Client Credential Flow from your machine-to-machine application.
Task DeleteAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
GetAsync(string, RequestOptions?, CancellationToken)
Retrieve a single client grant, including the scopes associated with the application/API pair.
WithRawResponseTask<GetClientGrantResponseContent> GetAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(ListClientGrantsRequestParameters, RequestOptions?, CancellationToken)
Retrieve a list of client grants, including the scopes associated with the application/API pair.
Task<Pager<ClientGrantResponseContent>> ListAsync(ListClientGrantsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestListClientGrantsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
UpdateAsync(string, UpdateClientGrantRequestContent, RequestOptions?, CancellationToken)
Update a client grant.
WithRawResponseTask<UpdateClientGrantResponseContent> UpdateAsync(string id, UpdateClientGrantRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestUpdateClientGrantRequestContentoptionsRequestOptionscancellationTokenCancellationToken