Table of Contents

Class RefreshTokenClient

Namespace
Auth0.ManagementApi.Clients
Assembly
Auth0.ManagementApi.dll
public class RefreshTokenClient : BaseClient, IRefreshTokenClient
Inheritance
RefreshTokenClient
Implements
Inherited Members

Constructors

RefreshTokenClient(IManagementConnection, Uri, IDictionary<string, string>)

Initializes a new instance on RefreshTokenClient

public RefreshTokenClient(IManagementConnection connection, Uri baseUri, IDictionary<string, string> defaultHeaders)

Parameters

connection IManagementConnection

IManagementConnection used to make all API calls.

baseUri Uri

Uri of the endpoint to use in making API calls.

defaultHeaders IDictionary<string, string>

Dictionary containing default headers included with every request this client makes.

Methods

DeleteAsync(string, CancellationToken)

Delete a refresh token by its Id.

public Task DeleteAsync(string id, CancellationToken cancellationToken = default)

Parameters

id string

Id of the refresh token to delete.

cancellationToken CancellationToken

CancellationToken

Returns

Task

GetAsync(RefreshTokenGetRequest, CancellationToken)

Retrieve refresh token information.

public Task<RefreshTokenInformation> GetAsync(RefreshTokenGetRequest request, CancellationToken cancellationToken = default)

Parameters

request RefreshTokenGetRequest

RefreshTokenGetRequest

cancellationToken CancellationToken

CancellationToken

Returns

Task<RefreshTokenInformation>