Interface IKeysClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface IKeysClient
Methods
GetAllAsync(CancellationToken)
Get all Application Signing Keys
Task<IList<Key>> GetAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
GetAsync(string, CancellationToken)
Get an Application Signing Key by its key ID.
Task<Key> GetAsync(string kid, CancellationToken cancellationToken = default)
Parameters
kid
stringThe ID of the key to retrieve.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
RevokeSigningKeyAsync(string, CancellationToken)
Revoke an Application Signing Key by its key ID.
Task<RevokeSigningKeyResponse> RevokeSigningKeyAsync(string kid, CancellationToken cancellationToken = default)
Parameters
kid
stringThe ID of the key to revoke.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<RevokeSigningKeyResponse>
The revoked key's cert and kid.
RotateSigningKeyAsync(CancellationToken)
Rotate the Application Signing Key.
Task<RotateSigningKeyResponse> RotateSigningKeyAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<RotateSigningKeyResponse>
The next rotated key's cert and kid.