lib/extension/identity/index.js
/**
   * Whitelist an identity
   * @param {Identity} identity
   */
Whitelist an identity
@param {Identity} identity
Whitelist an identity @param { Identity } identity
async whitelist(identity) {
    const platform = await this.platform(identity);
    return platform.connectUser(
      identity.address,
      identity.uid,
    );
  }
async whitelist ( identity ) { const platform = await this . platform ( identity ) ; return platform . connectUser ( identity . address , identity . uid , ) ; }
Whitelist an identity
 @param {Identity} identity
Whitelist an identity @param { Identity } identity