@types/gapi.auth2
Advanced tools
Comparing version 0.0.50 to 0.0.51
@@ -114,2 +114,10 @@ // Type definitions for non-npm package Google Sign-In API 0.0 | ||
redirect_uri?: string; | ||
/** | ||
* When your app knows which user it is trying to authenticate, it can provide this parameter as a hint to the authentication server. | ||
* Passing this hint suppresses the account chooser and either pre-fill the email box on the sign-in form, or select the proper session (if the user is using multiple sign-in), | ||
* which can help you avoid problems that occur if your app logs in the wrong user account. The value can be either an email address or the sub string, | ||
* which is equivalent to the user's Google ID. | ||
* https://developers.google.com/identity/protocols/OpenIDConnect?hl=en#authenticationuriparameters | ||
*/ | ||
login_hint?: string; | ||
} | ||
@@ -185,2 +193,3 @@ | ||
setScope(scope: string): any; | ||
setLoginHint(hint: string): any; | ||
} | ||
@@ -187,0 +196,0 @@ |
{ | ||
"name": "@types/gapi.auth2", | ||
"version": "0.0.50", | ||
"description": "TypeScript definitions for non-npm package Google Sign-In API", | ||
"version": "0.0.51", | ||
"description": "TypeScript definitions for Google Sign-In API", | ||
"license": "MIT", | ||
@@ -14,6 +14,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/gapi.auth2" | ||
}, | ||
@@ -24,4 +25,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "dc14737181e9b9f5ef5b2177c8a0d4ae107ee9402275872cb4c1be28452802c5", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "a95da5301697f8c82953955883588c045f45754a635dc4dada1e918720d18254", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for non-npm package Google Sign-In API ( https://developers.google.com/identity/sign-in/web/ ). | ||
This package contains type definitions for Google Sign-In API (https://developers.google.com/identity/sign-in/web/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gapi.auth2 | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gapi.auth2. | ||
Additional Details | ||
* Last updated: Thu, 14 Feb 2019 16:51:53 GMT | ||
* Dependencies: @types/gapi | ||
* Global values: gapi | ||
### Additional Details | ||
* Last updated: Fri, 22 Nov 2019 16:36:05 GMT | ||
* Dependencies: [@types/gapi](https://npmjs.com/package/@types/gapi) | ||
* Global values: `gapi` | ||
# Credits | ||
These definitions were written by Derek Lawless <https://github.com/flawless2011>. | ||
These definitions were written by Derek Lawless (https://github.com/flawless2011). |
15092
329