docs: function clientPasswordStrategy(clientId, clientSecret, done) {
          return models.Client.findOne({slug: clientId}, {withRelated: ['trustedDomains']})
              .then(function then(model) {
                  if (model) {
                      var client = model.toJSON({withRelated: ['trustedDomains']});
                      if (client.status === 'enabled' && client.secret === clientSecret) {
                          return done(null, client);
                      }
                  }
                  return done(null, false);
              });
      }