Interface ResourceServer

Hierarchy

  • ResourceServer

Properties

allow_offline_access: boolean

Whether refresh tokens can be issued for this API (true) or not (false).

client: object
enforce_policies: boolean

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

id: string

ID of the API (resource server).

identifier: string

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

is_system: boolean

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

name: string

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

scopes: Scope[]

List of permissions (scopes) that this API uses.

Algorithm used to sign JWTs. Can be HS256 or RS256. PS256 available via addon.

signing_secret: string

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

skip_consent_for_verifiable_first_party_clients: boolean

Whether to skip user consent for applications flagged as first party (true) or not (false).

Dialect of access tokens that should be issued. Can be access_token or access_token_authz (includes permissions).

token_lifetime: number

Expiration value (in seconds) for access tokens issued for this API from the token endpoint.

token_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.