Class CreateResourceServerRequestContent
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record CreateResourceServerRequestContent : IEquatable<CreateResourceServerRequestContent>
- Inheritance
-
CreateResourceServerRequestContent
- Implements
- Inherited Members
- Extension Methods
Properties
AllowOfflineAccess
Whether refresh tokens can be issued for this API (true) or not (false).
[JsonPropertyName("allow_offline_access")]
public bool? AllowOfflineAccess { get; set; }
Property Value
- bool?
AllowOnlineAccess
Whether Online Refresh Tokens can be issued for this API (true) or not (false).
[JsonPropertyName("allow_online_access")]
public bool? AllowOnlineAccess { get; set; }
Property Value
- bool?
AuthorizationDetails
[JsonPropertyName("authorization_details")]
public Optional<IEnumerable<object>?> AuthorizationDetails { get; set; }
Property Value
ConsentPolicy
[JsonPropertyName("consent_policy")]
public Optional<ResourceServerConsentPolicyEnum?> ConsentPolicy { get; set; }
Property Value
EnforcePolicies
Whether to enforce authorization policies (true) or to ignore them (false).
[JsonPropertyName("enforce_policies")]
public bool? EnforcePolicies { get; set; }
Property Value
- bool?
Identifier
Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
[JsonPropertyName("identifier")]
public required string Identifier { get; set; }
Property Value
Name
Friendly name for this resource server. Can not contain < or > characters.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
ProofOfPossession
[JsonPropertyName("proof_of_possession")]
public Optional<ResourceServerProofOfPossession?> ProofOfPossession { get; set; }
Property Value
Scopes
List of permissions (scopes) that this API uses.
[JsonPropertyName("scopes")]
public IEnumerable<ResourceServerScope>? Scopes { get; set; }
Property Value
SigningAlg
[JsonPropertyName("signing_alg")]
public SigningAlgorithmEnum? SigningAlg { get; set; }
Property Value
SigningSecret
Secret used to sign tokens when using symmetric algorithms (HS256).
[JsonPropertyName("signing_secret")]
public string? SigningSecret { get; set; }
Property Value
SkipConsentForVerifiableFirstPartyClients
Whether to skip user consent for applications flagged as first party (true) or not (false).
[JsonPropertyName("skip_consent_for_verifiable_first_party_clients")]
public bool? SkipConsentForVerifiableFirstPartyClients { get; set; }
Property Value
- bool?
SubjectTypeAuthorization
[JsonPropertyName("subject_type_authorization")]
public ResourceServerSubjectTypeAuthorization? SubjectTypeAuthorization { get; set; }
Property Value
TokenDialect
[JsonPropertyName("token_dialect")]
public ResourceServerTokenDialectSchemaEnum? TokenDialect { get; set; }
Property Value
TokenEncryption
[JsonPropertyName("token_encryption")]
public Optional<ResourceServerTokenEncryption?> TokenEncryption { get; set; }
Property Value
TokenLifetime
Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
[JsonPropertyName("token_lifetime")]
public int? TokenLifetime { get; set; }
Property Value
- int?
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.