Table of Contents

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 CancellationToken

The cancellation token to cancel operation.

Returns

Task<IList<Key>>

All available signing keys Key.

GetAsync(string, CancellationToken)

Get an Application Signing Key by its key ID.

Task<Key> GetAsync(string kid, CancellationToken cancellationToken = default)

Parameters

kid string

The ID of the key to retrieve.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<Key>

The Key that was requested.

RevokeSigningKeyAsync(string, CancellationToken)

Revoke an Application Signing Key by its key ID.

Task<RevokeSigningKeyResponse> RevokeSigningKeyAsync(string kid, CancellationToken cancellationToken = default)

Parameters

kid string

The ID of the key to revoke.

cancellationToken CancellationToken

The 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 CancellationToken

The cancellation token to cancel operation.

Returns

Task<RotateSigningKeyResponse>

The next rotated key's cert and kid.