Back to Node Auth0

Interface ClientCredentialsGrantRequestProperty

docs/interfaces/auth.ClientCredentialsGrantRequest.html

5.9.12.2 KB
Original Source
  • auth
  • ClientCredentialsGrantRequest

Interface ClientCredentialsGrantRequestProperty

Represents a request for a client credentials grant in the OAuth 2.0 framework, specific to Auth0 implementation.

audience - The unique identifier of the target API you want to access. organization - The identifier of the organization for which the request is being made.

interface ClientCredentialsGrantRequest {
client_id?: string;
client_secret?: string;
client_assertion?: string;
client_assertion_type?: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer";
audience: string;
organization?: string;
}

Hierarchy (View Summary)

Index

Properties

client_id?client_secret?client_assertion?client_assertion_type?audienceorganization?

Properties

Optionalclient_id

client_id?: string

Specify this to override the parent class's clientId

Optionalclient_secret

client_secret?: string

Specify this to override the parent class's clientSecret

Optionalclient_assertion

client_assertion?: string

Specify this to provide your own client assertion JWT rather than the class creating one for you from the clientAssertionSigningKey.

Optionalclient_assertion_type

client_assertion_type?: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"

If you provide your own client_assertion you should also provide the client_assertion_type.

audience

audience: string

The unique identifier of the target API you want to access.

Optionalorganization

organization?: string

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties client_idclient_secretclient_assertionclient_assertion_typeaudienceorganization