Back to Node Auth0

Interface AuthorizationCodeGrantRequest

docs/interfaces/auth.AuthorizationCodeGrantRequest.html

5.9.12.2 KB
Original Source
  • auth
  • AuthorizationCodeGrantRequest

Interface AuthorizationCodeGrantRequest

interface AuthorizationCodeGrantRequest {
client_id?: string;
client_secret?: string;
client_assertion?: string;
client_assertion_type?: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer";
code: string;
redirect_uri?: string;
key: string: any;
}

Hierarchy (View Summary)

Indexable

Allow for any custom property to be sent to Auth0

Index

Properties

client_id?client_secret?client_assertion?client_assertion_type?coderedirect_uri?

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.

code

code: string

The Authorization Code received from the initial /authorize call.

Optionalredirect_uri

redirect_uri?: string

This is required only if it was set at the /authorize endpoint. The values must match.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties client_idclient_secretclient_assertionclient_assertion_typecoderedirect_uri