angular-google-signin
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "angular-google-signin", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Google Sign-In component for Angular written in TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "angular-google-signin.js", |
@@ -1,2 +0,2 @@ | ||
# angular-google-signin | ||
# angular-google-signin [![npm version](https://badge.fury.io/js/angular-google-signin.svg)](https://badge.fury.io/js/angular-google-signin) | ||
@@ -42,5 +42,2 @@ Google Sign-In component for Angular written in TypeScript. | ||
import GoogleUser = gapi.auth2.GoogleUser; | ||
import BasicProfile = gapi.auth2.BasicProfile; | ||
@Component({ | ||
@@ -57,5 +54,5 @@ selector: 'my-app', | ||
onGoogleSignInSuccess(event: GoogleSignInSuccess) { | ||
let googleUser: GoogleUser = event.googleUser; | ||
let googleUser: gapi.auth2.GoogleUser = event.googleUser; | ||
let id: string = googleUser.getId(); | ||
let profile: BasicProfile = googleUser.getBasicProfile(); | ||
let profile: gapi.auth2.BasicProfile = googleUser.getBasicProfile(); | ||
console.log('ID: ' + | ||
@@ -62,0 +59,0 @@ profile |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9047
6
121
91