Class ResourceServerBase
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Base class for resource server payloads
public class ResourceServerBase
- Inheritance
-
ResourceServerBase
- Derived
- Inherited Members
Properties
AllowOfflineAccess
Allows issuance of refresh tokens for this entity
[JsonProperty("allow_offline_access")]
public bool? AllowOfflineAccess { get; set; }
Property Value
- bool?
AuthorizationDetails
The valid authorization_detail definition
[JsonProperty("authorization_details")]
public IList<ResourceServerAuthorizationDetail> AuthorizationDetails { get; set; }
Property Value
ConsentPolicy
Possible values: [transactional-authorization-with-mfa, null]
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("consent_policy")]
public ConsentPolicy? ConsentPolicy { get; set; }
Property Value
EnforcePolicies
Enables the enforcement of the authorization policies.
[JsonProperty("enforce_policies")]
public bool? EnforcePolicies { get; set; }
Property Value
- bool?
Name
The name of the resource server
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Remarks
Must contain at least one character. Does not allow '<' or '>'"
ProofOfPossession
Proof-of-Possession configuration for access tokens
[JsonProperty("proof_of_possession")]
public ProofOfPossession ProofOfPossession { get; set; }
Property Value
Scopes
The available scopes for the resource server
[JsonProperty("scopes")]
public List<ResourceServerScope> Scopes { get; set; }
Property Value
SigningAlgorithm
Algorithm used to sign JWTs. Can be HS256 or RS256. PS256 available via addon.
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("signing_alg")]
public SigningAlgorithm? SigningAlgorithm { get; set; }
Property Value
SigningSecret
The secret used to sign tokens when using symmetric algorithms
[JsonProperty("signing_secret")]
public string SigningSecret { get; set; }
Property Value
SkipConsentForVerifiableFirstPartyClients
Flag this entity as capable of skipping consent
[JsonProperty("skip_consent_for_verifiable_first_party_clients")]
public bool? SkipConsentForVerifiableFirstPartyClients { get; set; }
Property Value
- bool?
TokenDialect
The dialect for the access token.
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("token_dialect")]
public TokenDialect? TokenDialect { get; set; }
Property Value
TokenEncryption
Token Encryption
[JsonProperty("token_encryption")]
public TokenEncryption TokenEncryption { get; set; }
Property Value
TokenLifetime
The amount of time (in seconds) that the token will be valid after being issued
[JsonProperty("token_lifetime")]
public int? TokenLifetime { get; set; }
Property Value
- int?
TokenLifetimeForWeb
The amount of time (in seconds) that the token will be valid after being issued from browser based flows. Value cannot be larger than TokenLifetime
[JsonProperty("token_lifetime_for_web")]
public int? TokenLifetimeForWeb { get; set; }
Property Value
- int?
VerificationLocation
A uri from which to retrieve JWKs for this resource server used for verifying the JWT sent to Auth0 for token introspection.
[JsonProperty("verificationLocation")]
public string VerificationLocation { get; set; }