models/UserApplications.js
function (done) {
      Client.listByTrusted('true', {
        select: [
          '_id',
          'client_name',
          'client_uri',
          'application_type',
          'logo_uri',
          'trusted',
          'scopes',
          'created',
          'modified'
        ]
      }, function (err, clients) {
        if (err) { return done(err) }
        done(null, clients)
      })
    }
function (done) {
      Client.listByTrusted('true', {
        select: [
          '_id',
          'client_name',
          'client_uri',
          'application_type',
          'logo_uri',
          'trusted',
          'scopes',
          'created',
          'modified'
        ]
      }, function (err, clients) {
        if (err) { return done(err) }
        done(null, clients)
      })
    }
function ( done ) { Client . listByTrusted ( 'true' , { select : [ '_id' , 'client_name' , 'client_uri' , 'application_type' , 'logo_uri' , 'trusted' , 'scopes' , 'created' , 'modified' ] } , function ( err , clients ) { if ( err ) { return done ( err ) } done ( null , clients ) } ) }
List the trusted clients
List the trusted clients