Class CredentialsCreateRequest
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Structure for creating a new Credential for JAR request
public class CredentialsCreateRequest
- Inheritance
-
CredentialsCreateRequest
- 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
CredentialType
Credential type. Supported types: public_key.
[JsonProperty("credential_type")]
public string CredentialType { get; set; }
Property Value
ExpiresAt
The ISO 8601 formatted 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
Name
Friendly name for a credential.
[JsonProperty("name")]
public string Name { get; set; }
Property Value
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
Pem
PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.
[JsonProperty("pem")]
public string Pem { get; set; }