function nsDOMIdentity_beginAuthentication(aCallback) {
    this._log("beginAuthentication");
    if (this._beginAuthenticationCallback) {
      throw new Error("navigator.id.beginAuthentication already called.");
    }
    if (typeof(aCallback) !== "function") {
      throw new Error("beginAuthentication callback is required.");
    }
    if (!aCallback || typeof(aCallback) !== "function") {
      throw new Error("beginAuthentication callback is required.");
    }

    this._beginAuthenticationCallback = aCallback;
    this._identityInternal._mm.sendAsyncMessage("Identity:IDP:BeginAuthentication",
                                                this.DOMIdentityMessage());
  }
/**
   *  Identity Provider (IDP) Authentication APIs
   */
Identity Provider (IDP) Authentication APIs
Identity Provider ( IDP ) Authentication APIs
function nsDOMIdentity_beginAuthentication(aCallback) {
    this._log("beginAuthentication");
    if (this._beginAuthenticationCallback) {
      throw new Error("navigator.id.beginAuthentication already called.");
    }
    if (typeof(aCallback) !== "function") {
      throw new Error("beginAuthentication callback is required.");
    }
    if (!aCallback || typeof(aCallback) !== "function") {
      throw new Error("beginAuthentication callback is required.");
    }
    this._beginAuthenticationCallback = aCallback;
    this._identityInternal._mm.sendAsyncMessage("Identity:IDP:BeginAuthentication",
                                                this.DOMIdentityMessage());
  }
function nsDOMIdentity_beginAuthentication ( aCallback ) { this . _log ( "beginAuthentication" ) ; if ( this . _beginAuthenticationCallback ) { throw new Error ( "navigator.id.beginAuthentication already called." ) ; } if ( typeof ( aCallback ) !== "function" ) { throw new Error ( "beginAuthentication callback is required." ) ; } if ( ! aCallback || typeof ( aCallback ) !== "function" ) { throw new Error ( "beginAuthentication callback is required." ) ; } this . _beginAuthenticationCallback = aCallback ; this . _identityInternal . _mm . sendAsyncMessage ( "Identity:IDP:BeginAuthentication" , this . DOMIdentityMessage ( ) ) ; }
Identity Provider (IDP) Authentication APIs
Identity Provider ( IDP ) Authentication APIs