function Authenticator(webview) {
    this.isLoaded_ = false;
    this.email_ = null;
    this.password_ = null;
    this.gaiaId_ = null, this.sessionIndex_ = null;
    this.chooseWhatToSync_ = false;
    this.skipForNow_ = false;
    this.authFlow = AuthFlow.DEFAULT;
    this.authDomain = '';
    this.videoEnabled = false;
    this.idpOrigin_ = null;
    this.continueUrl_ = null;
    this.continueUrlWithoutParams_ = null;
    this.initialFrameUrl_ = null;
    this.reloadUrl_ = null;
    this.trusted_ = true;
    this.oauthCode_ = null;
    this.gapsCookie_ = null;
    this.gapsCookieSent_ = false;
    this.newGapsCookie_ = null;
    this.readyFired_ = false;
    this.webviewEventManager_ = WebviewEventManager.create();

    this.clientId_ = null;

    this.confirmPasswordCallback = null;
    this.noPasswordCallback = null;
    this.insecureContentBlockedCallback = null;
    this.samlApiUsedCallback = null;
    this.missingGaiaInfoCallback = null;
    this.needPassword = true;
    this.services_ = null;

    this.bindToWebview_(webview);

    window.addEventListener(
        'message', this.onMessageFromWebview_.bind(this), false);
    window.addEventListener('focus', this.onFocus_.bind(this), false);
    window.addEventListener('popstate', this.onPopState_.bind(this), false);
  }
/**
   * Initializes the authenticator component.
   * @param {webview|string} webview The webview element or its ID to host IdP
   *     web pages.
   * @constructor
   */
Initializes the authenticator component.
@param {webview|string} webview The webview element or its ID to host IdP
web pages.
@constructor
Initializes the authenticator component . @param { webview|string } webview The webview element or its ID to host IdP web pages . @constructor
function Authenticator(webview) {
    this.isLoaded_ = false;
    this.email_ = null;
    this.password_ = null;
    this.gaiaId_ = null, this.sessionIndex_ = null;
    this.chooseWhatToSync_ = false;
    this.skipForNow_ = false;
    this.authFlow = AuthFlow.DEFAULT;
    this.authDomain = '';
    this.videoEnabled = false;
    this.idpOrigin_ = null;
    this.continueUrl_ = null;
    this.continueUrlWithoutParams_ = null;
    this.initialFrameUrl_ = null;
    this.reloadUrl_ = null;
    this.trusted_ = true;
    this.oauthCode_ = null;
    this.gapsCookie_ = null;
    this.gapsCookieSent_ = false;
    this.newGapsCookie_ = null;
    this.readyFired_ = false;
    this.webviewEventManager_ = WebviewEventManager.create();
    this.clientId_ = null;
    this.confirmPasswordCallback = null;
    this.noPasswordCallback = null;
    this.insecureContentBlockedCallback = null;
    this.samlApiUsedCallback = null;
    this.missingGaiaInfoCallback = null;
    this.needPassword = true;
    this.services_ = null;
    this.bindToWebview_(webview);
    window.addEventListener(
        'message', this.onMessageFromWebview_.bind(this), false);
    window.addEventListener('focus', this.onFocus_.bind(this), false);
    window.addEventListener('popstate', this.onPopState_.bind(this), false);
  }
function Authenticator ( webview ) { this . isLoaded_ = false ; this . email_ = null ; this . password_ = null ; this . gaiaId_ = null , this . sessionIndex_ = null ; this . chooseWhatToSync_ = false ; this . skipForNow_ = false ; this . authFlow = AuthFlow . DEFAULT ; this . authDomain = '' ; this . videoEnabled = false ; this . idpOrigin_ = null ; this . continueUrl_ = null ; this . continueUrlWithoutParams_ = null ; this . initialFrameUrl_ = null ; this . reloadUrl_ = null ; this . trusted_ = true ; this . oauthCode_ = null ; this . gapsCookie_ = null ; this . gapsCookieSent_ = false ; this . newGapsCookie_ = null ; this . readyFired_ = false ; this . webviewEventManager_ = WebviewEventManager . create ( ) ; this . clientId_ = null ; this . confirmPasswordCallback = null ; this . noPasswordCallback = null ; this . insecureContentBlockedCallback = null ; this . samlApiUsedCallback = null ; this . missingGaiaInfoCallback = null ; this . needPassword = true ; this . services_ = null ; this . bindToWebview_ ( webview ) ; window . addEventListener ( 'message' , this . onMessageFromWebview_ . bind ( this ) , false ) ; window . addEventListener ( 'focus' , this . onFocus_ . bind ( this ) , false ) ; window . addEventListener ( 'popstate' , this . onPopState_ . bind ( this ) , false ) ; }
Initializes the authenticator component.
Initializes the authenticator component .