lib/methods.js
function(){
      var func;

      if(typeof waterlock.config.authMethod[0] === 'object'){
        func = this._handleObjects;
      }else if(typeof waterlock.config.authMethod === 'object'){
        func = this._handleObject;
      }else{
        func = this._handleName;
      }

      return func.apply(this, [waterlock.config.authMethod]);
    }
function(){
      var func;

      if(typeof waterlock.config.authMethod[0] === 'object'){
        func = this._handleObjects;
      }else if(typeof waterlock.config.authMethod === 'object'){
        func = this._handleObject;
      }else{
        func = this._handleName;
      }

      return func.apply(this, [waterlock.config.authMethod]);
    }
function ( ) { var func ; if ( typeof waterlock . config . authMethod [ 0 ] === 'object' ) { func = this . _handleObjects ; } else if ( typeof waterlock . config . authMethod === 'object' ) { func = this . _handleObject ; } else { func = this . _handleName ; } return func . apply ( this , [ waterlock . config . authMethod ] ) ; }
try to require the authentcation method defined in user config

@return {Object} containing all required auth methods
@api private
try to require the authentcation method defined in user config