mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
gapi.auth2: Add ux_mode and redirect_uri to SigninOptions
See https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiauth2signinoptions
This commit is contained in:
Vendored
+10
@@ -101,6 +101,16 @@ declare namespace gapi.auth2 {
|
||||
* Optional if fetch_basic_profile is not set to false.
|
||||
*/
|
||||
scope?: string;
|
||||
/**
|
||||
* The UX mode to use for the sign-in flow.
|
||||
* By default, it will open the consent flow in a popup.
|
||||
*/
|
||||
ux_mode?: "popup" | "redirect";
|
||||
/**
|
||||
* If using ux_mode='redirect', this parameter allows you to override the default redirect_uri that will be used at the end of the consent flow.
|
||||
* The default redirect_uri is the current URL stripped of query parameters and hash fragment.
|
||||
*/
|
||||
redirect_uri?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user