Table of Contents

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?

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

string

Remarks

Must contain at least one character. Does not allow '<' or '>'"

Scopes

The available scopes for the resource server

[JsonProperty("scopes")]
public List<ResourceServerScope> Scopes { get; set; }

Property Value

List<ResourceServerScope>

SigningAlgorithm

The algorithm used to sign tokens

[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("signing_alg")]
public SigningAlgorithm? SigningAlgorithm { get; set; }

Property Value

SigningAlgorithm?

SigningSecret

The secret used to sign tokens when using symmetric algorithms

[JsonProperty("signing_secret")]
public string SigningSecret { get; set; }

Property Value

string

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

TokenDialect?

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; }

Property Value

string