OAuthResponseType interface Stay organized with collections Save and categorize content based on your preferences.
The interface representing OIDC provider's response object for OAuth authorization flow. One of the following settings is required:
- Set
codetotruefor the code flow. - Set
idTokentotruefor the ID token flow.
Signature:
exportinterfaceOAuthResponseTypeProperties
| 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;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.