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
IManagementConnectionIManagementConnection used to make all API calls.
baseUri
UriUri 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
stringId of the refresh token to delete.
cancellationToken
CancellationToken
Returns
GetAsync(RefreshTokenGetRequest, CancellationToken)
Retrieve refresh token information.
public Task<RefreshTokenInformation> GetAsync(RefreshTokenGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
RefreshTokenGetRequestcancellationToken
CancellationToken