Table of Contents

Class RefreshTokensClient

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
public class RefreshTokensClient : IRefreshTokensClient
Inheritance
RefreshTokensClient
Implements
Inherited Members
Extension Methods

Methods

DeleteAsync(string, RequestOptions?, CancellationToken)

Delete a refresh token by its ID.

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

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

Task

Examples

await client.RefreshTokens.DeleteAsync("id");

GetAsync(string, RequestOptions?, CancellationToken)

Retrieve refresh token information.

public WithRawResponseTask<GetRefreshTokenResponseContent> GetAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetRefreshTokenResponseContent>

Examples

await client.RefreshTokens.GetAsync("id");

UpdateAsync(string, UpdateRefreshTokenRequestContent, RequestOptions?, CancellationToken)

Update a refresh token by its ID.

public WithRawResponseTask<UpdateRefreshTokenResponseContent> UpdateAsync(string id, UpdateRefreshTokenRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request UpdateRefreshTokenRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateRefreshTokenResponseContent>

Examples

await client.RefreshTokens.UpdateAsync("id", new UpdateRefreshTokenRequestContent());