OAuthResponseType interface

The interface representing OIDC provider's response object for OAuth authorization flow. One of the following settings is required:

  • Set code to true for the code flow.
  • Set idToken to true for the ID token flow.

Signature:

export interface OAuthResponseType 

Properties

Property Type Description
code boolean Whether authorization code is returned from IdP's authorization endpoint.
idToken boolean Whether ID token is returned from IdP's authorization endpoint.

OAuthResponseType.code

Whether authorization code is returned from IdP's authorization endpoint.

Signature:

code?: boolean;

OAuthResponseType.idToken

Whether ID token is returned from IdP's authorization endpoint.

Signature:

idToken?: boolean;