Back to Node Auth0

Interface CreateClientGrantRequestContent

docs/interfaces/management.Management.CreateClientGrantRequestContent.html

5.9.13.0 KB
Original Source

Interface CreateClientGrantRequestContent

Example

{ * audience: "audience" * }Copy

interface CreateClientGrantRequestContent {
client_id?: string;
audience: string;
default_for?: "third_party_clients";
organization_usage?: Management.ClientGrantOrganizationUsageEnum;
allow_any_organization?: boolean;
scope?: string[];
subject_type?: Management.ClientGrantSubjectTypeEnum;
authorization_details_types?: string[];
allow_all_scopes?: boolean;
}

Index

Properties

client_id?audiencedefault_for?organization_usage?allow_any_organization?scope?subject_type?authorization_details_types?allow_all_scopes?

Properties

Optionalclient_id

client_id?: string

ID of the client.

audience

audience: string

The audience (API identifier) of this client grant

Optionaldefault_for

default_for?: "third_party_clients"

Optionalorganization_usage

organization_usage?: Management.ClientGrantOrganizationUsageEnum

Optionalallow_any_organization

allow_any_organization?: boolean

If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.

Optionalscope

scope?: string[]

Scopes allowed for this client grant.

Optionalsubject_type

subject_type?: Management.ClientGrantSubjectTypeEnum

Optionalauthorization_details_types

authorization_details_types?: string[]

Types of authorization_details allowed for this client grant.

Optionalallow_all_scopes

allow_all_scopes?: boolean

If enabled, all scopes configured on the resource server are allowed for this grant.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties client_idaudiencedefault_fororganization_usageallow_any_organizationscopesubject_typeauthorization_details_typesallow_all_scopes