Table of Contents

Interface IClientGrantsClient

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

Properties

Organizations

IOrganizationsClient Organizations { get; }

Property Value

IOrganizationsClient

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

request CreateClientGrantRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<CreateClientGrantResponseContent>

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

id string
options RequestOptions
cancellationToken CancellationToken

Returns

Task

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

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetClientGrantResponseContent>

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

request ListClientGrantsRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<ClientGrantResponseContent>>

UpdateAsync(string, UpdateClientGrantRequestContent, RequestOptions?, CancellationToken)

Update a client grant.

WithRawResponseTask<UpdateClientGrantResponseContent> UpdateAsync(string id, UpdateClientGrantRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request UpdateClientGrantRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateClientGrantResponseContent>