App/Mobile Apps/android/Project/app/src/main/assets/public/default~firebase-messaging~login-login-module~signup-signup-module~student-ec-form-ec-form-module~st~88bf8aaa-es5.js
/**
     * Called only if there is a GenerateAuthToken request in progress.
     *
     * Updates the InstallationEntry in the DB based on the status of the
     * GenerateAuthToken request.
     *
     * Returns the updated InstallationEntry.
     */
Called only if there is a GenerateAuthToken request in progress.
Updates the InstallationEntry in the DB based on the status of the
GenerateAuthToken request.

Returns the updated InstallationEntry.
Called only if there is a GenerateAuthToken request in progress . Updates the InstallationEntry in the DB based on the status of the GenerateAuthToken request . Returns the updated InstallationEntry .
function updateAuthTokenRequest(appConfig) {
      return update(appConfig, function (oldEntry) {
        if (!isEntryRegistered(oldEntry)) {
          throw ERROR_FACTORY.create("not-registered"
          );
        }
        var oldAuthToken = oldEntry.authToken;
        if (hasAuthTokenRequestTimedOut(oldAuthToken)) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_2__["__assign"])(Object(tslib__WEBPACK_IMPORTED_MODULE_2__["__assign"])({}, oldEntry), {
            authToken: {
              requestStatus: 0
            }
          });
        }
        return oldEntry;
      });
    }
function updateAuthTokenRequest ( appConfig ) { return update ( appConfig , function ( oldEntry ) { if ( ! isEntryRegistered ( oldEntry ) ) { throw ERROR_FACTORY . create ( "not-registered" ) ; } var oldAuthToken = oldEntry . authToken ; if ( hasAuthTokenRequestTimedOut ( oldAuthToken ) ) { return Object ( tslib__WEBPACK_IMPORTED_MODULE_2__ [ "__assign" ] ) ( Object ( tslib__WEBPACK_IMPORTED_MODULE_2__ [ "__assign" ] ) ( { } , oldEntry ) , { authToken : { requestStatus : 0 } } ) ; } return oldEntry ; } ) ; }
Called only if there is a GenerateAuthToken request in progress.
Called only if there is a GenerateAuthToken request in progress .
/* NOT_REGISTERED */ /* NOT_STARTED */