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
connectionIManagementConnectionIManagementConnection used to make all API calls.
baseUriUriUri of the endpoint to use in making API calls.
defaultHeadersIDictionary<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
idstringId of the refresh token to delete.
cancellationTokenCancellationToken
Returns
GetAsync(RefreshTokenGetRequest, CancellationToken)
Retrieve refresh token information.
public Task<RefreshTokenInformation> GetAsync(RefreshTokenGetRequest request, CancellationToken cancellationToken = default)
Parameters
requestRefreshTokenGetRequestcancellationTokenCancellationToken