code: function (type) {
          if (!(RequestAuth.isValidType(type) && VariableList.isVariableList(this[type]))) {
              return;
          }
  
          // clear the variable list
          this[type].clear();
  
          // if it is not a currently selected auth type, do not delete the variable list, but simply delete it
          if (type !== this.type) {
              delete this[type];
          }
      }
docs: Clears the definition of an auth type.
  
  @param {String} type