Table of Contents

Class ClientCredentialCreateRequest

Namespace
Auth0.ManagementApi.Models
Assembly
Auth0.ManagementApi.dll

Structure for creating a new client credential

public class ClientCredentialCreateRequest
Inheritance
ClientCredentialCreateRequest
Inherited Members

Properties

Algorithm

Algorithm which will be used with the credential. Can be one of RS256, RS384, PS256. If not specified, RS256 will be used.

[JsonProperty("alg")]
public string Algorithm { get; set; }

Property Value

string

CredentialType

The type of the credential

[JsonProperty("credential_type")]
public string CredentialType { get; set; }

Property Value

string

ExpiresAt

The date representing the expiration of the credential. If not specified (not recommended), the credential never expires.

[JsonProperty("expires_at")]
public DateTime? ExpiresAt { get; set; }

Property Value

DateTime?

Name

The name of the credential

[JsonProperty("name")]
public string Name { get; set; }

Property Value

string

ParseExpiryFromCert

Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM.

[JsonProperty("parse_expiry_from_cert")]
public bool ParseExpiryFromCert { get; set; }

Property Value

bool

Pem

The value of the credential in PEM format.

[JsonProperty("pem")]
public string Pem { get; set; }

Property Value

string