Table of Contents

Class CustomSigningClient

Namespace
Auth0.ManagementApi.Keys
Assembly
Auth0.ManagementApi.dll
public class CustomSigningClient : ICustomSigningClient
Inheritance
CustomSigningClient
Implements
Inherited Members
Extension Methods

Methods

DeleteAsync(RequestOptions?, CancellationToken)

Delete entire jwks representation of custom signing keys.

public Task DeleteAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

options RequestOptions
cancellationToken CancellationToken

Returns

Task

Examples

await client.Keys.CustomSigning.DeleteAsync();

GetAsync(RequestOptions?, CancellationToken)

Get entire jwks representation of custom signing keys.

public WithRawResponseTask<GetCustomSigningKeysResponseContent> GetAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetCustomSigningKeysResponseContent>

Examples

await client.Keys.CustomSigning.GetAsync();

SetAsync(SetCustomSigningKeysRequestContent, RequestOptions?, CancellationToken)

Create or replace entire jwks representation of custom signing keys.

public WithRawResponseTask<SetCustomSigningKeysResponseContent> SetAsync(SetCustomSigningKeysRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request SetCustomSigningKeysRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<SetCustomSigningKeysResponseContent>

Examples

await client.Keys.CustomSigning.SetAsync(
    new SetCustomSigningKeysRequestContent
    {
        Keys = new List<CustomSigningKeyJwk>()
        {
            new CustomSigningKeyJwk { Kty = CustomSigningKeyTypeEnum.Ec },
        },
    }
);