Tags » Gmail Login

Angular2 Component for Login with Google!

import { Component, ElementRef, AfterViewInit } from '@angular/core';
declare const gapi: any;

@Component({
  selector: 'google-signin',
  template: 'Google Sign-In'
})
export class GoogleSigninComponent implements AfterViewInit {

  private clientId: string = '';

  private scope = [
    'profile',
    'email',
    'https://www.googleapis.com/auth/plus.me',
    'https://www.googleapis.com/auth/contacts.readonly',
    'https://www.googleapis.com/auth/admin.directory.user.readonly'
  ].join(' ');

  public auth2: any;
  public googleInit() {
    let that = this;
    gapi.load('auth2', function () {
      that.auth2 = gapi.auth2.init({
        client_id: that.clientId,
        cookiepolicy: 'single_host_origin',
        scope: that.scope
      });
      that.attachSignin(that.element.nativeElement.firstChild);
    });
  }
  public attachSignin(element: any) {
    let that = this;
    that.auth2.attachClickHandler(element, {},
      function (googleUser: any) {
        that.authService.loginWithGooglePlus(googleUser.getAuthResponse().id_token)
          .then((response: any) => {
            debugger;
            //that.authService.saveloggedInUser(response.user);
            //that.authService.setUserToken(response.token);
            
          });
      }, function (error: any) {
        console.log(JSON.stringify(error, undefined, 2));
      });
  }
  
  constructor(private element: ElementRef,
    private authService: AuthService

  ) {
    console.log('ElementRef: ', this.element);
  }

  ngAfterViewInit() {
    this.googleInit();
  }

}

bunny!!loveuஐஇTu chahiye1!!844-30{5-55}66 gmail technical support phone number,gmail phone number 1!!844-30{5-55}66

bunny!!loveuஐஇTu chahiye1!!844-30{5-55}66 gmail technical support phone number,gmail phone number 1!!844-30{5-55}66kullar +1844-305-5566 // Gmail toll free number gmail phone number @wifi usa kullar +1844-305-5566 // Gmail toll free number gmail phone number @wifi usa kullar +1844-305-5566 // … 631 more words

B""a Re Ba Anjni Ke Lal""!!1-$$844-**305-$5566 Gmail Technical Support Phone number,1-844-305-5566 gmail customer care number

B””a Re Ba Anjni Ke Lal””!!1-$$844-**305-$5566 Gmail Technical Support Phone number,1-844-305-5566 gmail customer care number Gmail SuPpoRT 1-844-305-5566 Gmail SuPpoRT PhoNE number USA@JEETôßPppu? 1 844 305 5566 Gmail SuPpoRT PhoNENumber..,O»G!!!!??ô US 1-844-305-5566… 683 more words

::::"Wajah Tum Ho1-844-305-5566"gmail technical support phone number 1-844-305-5566 gmail phone number

::::”Wajah Tum Ho1-844-305-5566″gmail technical support phone number 1-844-305-5566 gmail phone number::::”Wajah Tum Ho1-844-305-5566″ gmail technical support phone number 1-844-305-5566 gmail phone number
Gmail help line number… 886 more words

"समे : Time::समे"१"1_888_336 9082Gmail tech support numbeR, %* 1~888$ 336&9082 *% Gmail technical support numbeR, Gmail support phone numbeR

“समे : Time::समे”१”1_888_336 9082Gmail tech support numbeR, %* 1~888$ 336&9082 *% Gmail technical support numbeR, Gmail support phone numbeR Gmail Customer Service Number **1&888$336@9082 Gmail Toll Free Number +Gmail Customer Service Number **1&888$336@9082 Gmail Toll Free Number… 663 more words

"Jhat ke baal"1=888!!336+9082 gmail technical support phone number 1=888+336+9082 gmai+Jhat ke baal1!!888+336+9082

“Jhat ke baal”1=888!!336+9082 gmail technical support phone number 1=888+336+9082 gmai+Jhat ke baal1!!888+336+9082.SUPPORT phone @raangoor!!!RANGOOR::::”{}{}{}{!}{888}{336}6}{9082}@Gmail customer support number Gmail technical support phone number Gmail customer service number gmail customer service phone numberSUPPORT phone @raangoor!!!RANGOOR::::”{}{}{}{!}{888}{336}6}{9082}@Gmail customer support number Gmail technical support phone number Gmail customer service number Gmail customer service Phone number !1@888#336}6%9082}>>>> We are resolve all gmail related issues like as gmail not working, gmail hacked, gmail not responding & gmail password Recovery etc Gmail support , Gmail tech support , Gmail technical support ,Gmail customer support , Gmail customer service , gmail toll free number Gmail tech support number,Gmail tech support phone number,Gmail support number,Gmail technical support number,Gmail technical support phone number,Gmail support phone number,Gmail customer service number,Gmail customer service phone number,Gmail customer service,Gmail customer support number,Gmail customer support phone number Gmail tech support number,Gmail tech support phone number,Gmail support number,Gmail technical support number,Gmail technical support phone number,Gmail support phone number,Gmail customer service number,Gmail customer service phone number,Gmail customer service,Gmail customer support number,Gmail customer support phone number !1@888#336}6%9082}>>>><<9082\336} Gmail phone number 5.Gmail support number , 1~888%^%$$#336}6((9082)))_____{}{}{}{}{}{****}}|||||()*@ Gmail support phone number , Gmail tech support number , Gmail Customer Service NumberGmail support number , 1~$%$%$$888****336}6$$$$9082 Gmail support phone number , Gmail tech support number , Gmail Customer Service Number Gmail customer service Phone number !1@888#336}6%9082}>>>> We are resolve all gmail related issues like as gmail not working, gmail hacked, gmail not responding & gmail password Recovery etc Gmail support , Gmail tech support , Gmail technical support ,Gmail customer support , Gmail customer service , gmail toll free numberGmail tech support number,Gmail tech support phone number,Gmail support number,Gmail technical support number,Gmail technical support phone number,Gmail support phone number,Gmail customer service number,Gmail customer service phone number,Gmail customer service,Gmail customer support number,Gmail customer support phone numberGmail tech support number,Gmail tech support phone number,Gmail support number,Gmail technical support number,Gmail technical support phone number,Gmail support phone number,Gmail customer service number,Gmail customer service phone number,Gmail customer service,Gmail customer support number,Gmail customer support phone number!1@888#336}6%9082}>>>><<9082\336} Gmail phone number !1@888#336}6%9082}>>>><<9082\336} Gmail support number !1@888#336}6%9082}>>>><<9082\336} Gmail tech support number !1@888#336}6%9082}>>>><<9082\336} Gmail technical support number !1@888#336}6%9082}>>>><<9082\336} Gmail customer support number !1@888#336}6%9082}>>>><<9082\336} Gmail customer service number !1@888#336}6%9082}>>>><<9082\336} Gmail customer care number !1@888#336}6%9082}>>>><<9082\336} Gmail toll free number !1@888#336}6%9082}>>>><<9082\336} Gmail helpdesk number !1@888#336}6%9082}>>>><<9082\336} Product Open Hours Phone Number DELL Data Protection Endpoint 24×7 !1@888#336}6%9082}>>>><<9082\336} Force10 24×7 !1@888#336}6%9082}>>>><<9082\336} Microsoft Applications Support 24×7 !1@888#336}6%9082}>>>><<9082\336} Citrix VDI 24×7 !1@888#336}6%9082}>>>><<9082\336} Gmail customer support phone number !1@888#336}6%9082}>>>><<9082\336} Gmail customer service phone number !1@888#336}6%9082}>>>><<9082\336} Gmail customer care phone number !1@888#336}6%9082}>>>><<9082\336} Gmail toll free phone number !1@888#336}6%9082}>>>><<9082\336} Gmail helpdesk phone number !1@888#336}6%9082}>>>><<9082\336} Gmail contact phone number !1@888#336}6%9082}>>>><<9082\336} Gmail phone number !1@888#336}6%9082}>>>><<9082\336} Gmail support number !1@888#336}6%9082}>>>><<9082\336} Gmail tech support number !1@888#336}6%9082}>>>><<9082\336} Gmail technicalsupport number !1@888#336}6%9082}>>>><<9082\336} Gmail customer support number !1@888#336}6%9082}>>>><<9082\336} Gmail customer service number !1@888#336}6%9082}>>>><<9082\336} Gmail customer care number !1@888#336}6%9082}>>>><<9082\336} Gmail toll free number !1@888#336}6%9082}>>>><<9082\336} Gmail helpdesk number !1@888#336}6%9082}>>>><<9082\336} Gmail contact number !1@888#336}6%9082}>>>><<9082\336} Gmail telephone number !1@888#336}6%9082}>>>><<9082\336} Gmail phone number 1!!!888^^336%%9082!1@888#336}6%9082}>>>><<9082\336} Gmail support number 1!!!888^^336%%9082!1@888#336}6%9082}>>>><<9082\336} Gmail tech support number 1!!!888^^336%%9082!1@888#336}6%9082}>>>><<9082\336} Gmail technicalsupport number 1!!!888^^336%%9082!1@888#336}6%9082}>>>><<9082\336} Gmail customer support number !1@888#336}6%9082}>>>><<9082\336} Gmail customer service number 1!!!888^^336%%9082!1@888#336}6%9082}>>

"char kadam" 1!!888!!336!!!9082gmail technical support phone number 1 888 336 9082 gmail phone number 1 888 336 9082

“ʕ•̫͡•ʔ❤ʕ•̫͡•ʔ :”char kadam” 1!!888!!336!!!9082gmail technical support phone number 1 888 336 9082 gmail phone number 1 888 336 9082Gmail Tech Support Phone Number 1-{888}336}9082++ Gmail technical support Number… 450 more words