lib/extension/identity/index.js
/**
   * Get identity platform object
   * @param {Identity} identity
   */
Get identity platform object
@param {Identity} identity
Get identity platform object @param { Identity } identity
async platform(identity) {
    this.ensureClientSet();
    const platformRegistry = this.client.repository.api('PlatformRegistry');
    return platformRegistry.platform(identity.providerId);
  }
async platform ( identity ) { this . ensureClientSet ( ) ; const platformRegistry = this . client . repository . api ( 'PlatformRegistry' ) ; return platformRegistry . platform ( identity . providerId ) ; }
Get identity platform object
 @param {Identity} identity
Get identity platform object @param { Identity } identity