lib/collection/request-auth.js
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];
        }
    }
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];
        }
    }
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 ] ; } }
Clears the definition of an auth type.

@param {String} type
Clears the definition of an auth type .