docs/interfaces/management.Management.CreateResourceServerResponseContent.html
interface CreateResourceServerResponseContent {
id?: string;
name?: string;
is_system?: boolean;
identifier?: string;
scopes?: ResourceServerScope[];
signing_alg?: Management.SigningAlgorithmEnum;
signing_secret?: string;
allow_offline_access?: boolean;
allow_online_access?: boolean;
skip_consent_for_verifiable_first_party_clients?: boolean;
token_lifetime?: number;
token_lifetime_for_web?: number;
enforce_policies?: boolean;
token_dialect?: Management.ResourceServerTokenDialectResponseEnum;
token_encryption?: ResourceServerTokenEncryption | null;
consent_policy?: "transactional-authorization-with-mfa" | null;
authorization_details?: unknown[] | null;
proof_of_possession?: ResourceServerProofOfPossession | null;
subject_type_authorization?: ResourceServerSubjectTypeAuthorization;
authorization_policy?: ResourceServerAuthorizationPolicy | null;
client_id?: string;
}
id?name?is_system?identifier?scopes?signing_alg?signing_secret?allow_offline_access?allow_online_access?skip_consent_for_verifiable_first_party_clients?token_lifetime?token_lifetime_for_web?enforce_policies?token_dialect?token_encryption?consent_policy?authorization_details?proof_of_possession?subject_type_authorization?authorization_policy?client_id?
Optionalidid?: string
ID of the API (resource server).
Optionalnamename?: string
Friendly name for this resource server. Can not contain < or > characters.
Optionalis_systemis_system?: boolean
Whether this is an Auth0 system API (true) or a custom API (false).
Optionalidentifieridentifier?: string
Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
Optionalscopesscopes?: ResourceServerScope[]
List of permissions (scopes) that this API uses.
Optionalsigning_algsigning_alg?: Management.SigningAlgorithmEnum
Optionalsigning_secretsigning_secret?: string
Secret used to sign tokens when using symmetric algorithms (HS256).
Optionalallow_offline_accessallow_offline_access?: boolean
Whether refresh tokens can be issued for this API (true) or not (false).
Optionalallow_online_accessallow_online_access?: boolean
Whether Online Refresh Tokens can be issued for this API (true) or not (false).
Optionalskip_consent_for_verifiable_first_party_clientsskip_consent_for_verifiable_first_party_clients?: boolean
Whether to skip user consent for applications flagged as first party (true) or not (false).
Optionaltoken_lifetimetoken_lifetime?: number
Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
Optionaltoken_lifetime_for_webtoken_lifetime_for_web?: number
Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the token_lifetime value.
Optionalenforce_policiesenforce_policies?: boolean
Whether authorization polices are enforced (true) or unenforced (false).
Optionaltoken_dialecttoken_dialect?: Management.ResourceServerTokenDialectResponseEnum
Optionaltoken_encryptiontoken_encryption?: ResourceServerTokenEncryption | null
Optionalconsent_policyconsent_policy?: "transactional-authorization-with-mfa" | null
Optionalauthorization_detailsauthorization_details?: unknown[] | null
Optionalproof_of_possessionproof_of_possession?: ResourceServerProofOfPossession | null
Optionalsubject_type_authorizationsubject_type_authorization?: ResourceServerSubjectTypeAuthorization
Optionalauthorization_policyauthorization_policy?: ResourceServerAuthorizationPolicy | null
Optionalclient_idclient_id?: string
The client ID of the client that this resource server is linked to
Member Visibility
ThemeOSLightDark
Properties idnameis_systemidentifierscopessigning_algsigning_secretallow_offline_accessallow_online_accessskip_consent_for_verifiable_first_party_clientstoken_lifetimetoken_lifetime_for_webenforce_policiestoken_dialecttoken_encryptionconsent_policyauthorization_detailsproof_of_possessionsubject_type_authorizationauthorization_policyclient_id