index.js
function(owner_id, next) {
    var self = this,
    podName = this.getName(),
    filter = {
      owner_id : owner_id,
      type : this.getAuthType(),
      oauth_provider : this.getName()
    };
    this._dao.find('account_auth', filter, function(err, result) {
      var model, authStruct;

      if (result) {
        // normalize oauth representation
        authStruct = {
          oauth_provider : result.oauth_provider,
          repr : self._profileRepr(result)
        }
      }

      next(err, podName, filter.type, authStruct);
    });
  }
function(owner_id, next) {
    var self = this,
    podName = this.getName(),
    filter = {
      owner_id : owner_id,
      type : this.getAuthType(),
      oauth_provider : this.getName()
    };
    this._dao.find('account_auth', filter, function(err, result) {
      var model, authStruct;

      if (result) {
        // normalize oauth representation
        authStruct = {
          oauth_provider : result.oauth_provider,
          repr : self._profileRepr(result)
        }
      }

      next(err, podName, filter.type, authStruct);
    });
  }
function ( owner_id , next ) { var self = this , podName = this . getName ( ) , filter = { owner_id : owner_id , type : this . getAuthType ( ) , oauth_provider : this . getName ( ) } ; this . _dao . find ( 'account_auth' , filter , function ( err , result ) { var model , authStruct ; if ( result ) { // normalize oauth representation authStruct = { oauth_provider : result . oauth_provider , repr : self . _profileRepr ( result ) } } next ( err , podName , filter . type , authStruct ) ; } ) ; }
passes oAuth result set if one exists
passes oAuth result set if one exists