verifyChallenge(secretAttempt) {
    const authorize = () => {
      this.acls = ['*'];
      this.authorizeConsumer();
    };

    if (typeof this.secret === 'string' && fixedTimeCompare(this.secret, secretAttempt)) {
      authorize();
    } else if (typeof this.secret === 'function') {
      return this.secret.call(this, secretAttempt).then(authorize);
    }
    return Promise.resolve();
  }
/**
  * Verify the challange made to the parent frame.
  * @param {string} secretAttempt - The secret string to verify
  */
Verify the challange made to the parent frame.
@param {string} secretAttempt - The secret string to verify
Verify the challange made to the parent frame . @param { string } secretAttempt - The secret string to verify
verifyChallenge(secretAttempt) {
    const authorize = () => {
      this.acls = ['*'];
      this.authorizeConsumer();
    };
    if (typeof this.secret === 'string' && fixedTimeCompare(this.secret, secretAttempt)) {
      authorize();
    } else if (typeof this.secret === 'function') {
      return this.secret.call(this, secretAttempt).then(authorize);
    }
    return Promise.resolve();
  }
verifyChallenge ( secretAttempt ) { const authorize = ( ) => { this . acls = [ '*' ] ; this . authorizeConsumer ( ) ; } ; if ( typeof this . secret === 'string' && fixedTimeCompare ( this . secret , secretAttempt ) ) { authorize ( ) ; } else if ( typeof this . secret === 'function' ) { return this . secret . call ( this , secretAttempt ) . then ( authorize ) ; } return Promise . resolve ( ) ; }
Verify the challange made to the parent frame.
Verify the challange made to the parent frame .