code: 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]);
      }
docs: try to require the authentcation method defined in user config
  
  @return {Object} containing all required auth methods
  @api private