Table of Contents

Class GetResourceServerResponseContent

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[Serializable]
public record GetResourceServerResponseContent : IJsonOnDeserialized, IEquatable<GetResourceServerResponseContent>
Inheritance
GetResourceServerResponseContent
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

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

Optional<IEnumerable<object>>

ClientId

The client ID of the client that this resource server is linked to

[JsonPropertyName("client_id")]
public string? ClientId { get; set; }

Property Value

string

ConsentPolicy

[JsonPropertyName("consent_policy")]
public Optional<ResourceServerConsentPolicyEnum?> ConsentPolicy { get; set; }

Property Value

Optional<ResourceServerConsentPolicyEnum?>

EnforcePolicies

Whether authorization polices are enforced (true) or unenforced (false).

[JsonPropertyName("enforce_policies")]
public bool? EnforcePolicies { get; set; }

Property Value

bool?

Id

ID of the API (resource server).

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

Identifier

Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.

[JsonPropertyName("identifier")]
public string? Identifier { get; set; }

Property Value

string

IsSystem

Whether this is an Auth0 system API (true) or a custom API (false).

[JsonPropertyName("is_system")]
public bool? IsSystem { get; set; }

Property Value

bool?

Name

Friendly name for this resource server. Can not contain < or > characters.

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

Property Value

string

ProofOfPossession

[JsonPropertyName("proof_of_possession")]
public Optional<ResourceServerProofOfPossession?> ProofOfPossession { get; set; }

Property Value

Optional<ResourceServerProofOfPossession>

Scopes

List of permissions (scopes) that this API uses.

[JsonPropertyName("scopes")]
public IEnumerable<ResourceServerScope>? Scopes { get; set; }

Property Value

IEnumerable<ResourceServerScope>

SigningAlg

[JsonPropertyName("signing_alg")]
public SigningAlgorithmEnum? SigningAlg { get; set; }

Property Value

SigningAlgorithmEnum?

SigningSecret

Secret used to sign tokens when using symmetric algorithms (HS256).

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

Property Value

string

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

ResourceServerSubjectTypeAuthorization

TokenDialect

[JsonPropertyName("token_dialect")]
public ResourceServerTokenDialectResponseEnum? TokenDialect { get; set; }

Property Value

ResourceServerTokenDialectResponseEnum?

TokenEncryption

[JsonPropertyName("token_encryption")]
public Optional<ResourceServerTokenEncryption?> TokenEncryption { get; set; }

Property Value

Optional<ResourceServerTokenEncryption>

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?

TokenLifetimeForWeb

Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the token_lifetime value.

[JsonPropertyName("token_lifetime_for_web")]
public int? TokenLifetimeForWeb { 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.