public/javascript/libs/oauth.js
function registerMethodClass(names, classConstructor) {
        for (var n = 0; n < names.length; ++n) {
            OAuth.SignatureMethod.REGISTERED[names[n]] = classConstructor;
        }
    }
function registerMethodClass(names, classConstructor) {
        for (var n = 0; n < names.length; ++n) {
            OAuth.SignatureMethod.REGISTERED[names[n]] = classConstructor;
        }
    }
function registerMethodClass ( names , classConstructor ) { for ( var n = 0 ; n < names . length ; ++ n ) { OAuth . SignatureMethod . REGISTERED [ names [ n ] ] = classConstructor ; } }
Subsequently, the given constructor will be used for the named methods.
The constructor will be called with no parameters.
The resulting object should usually implement getSignature(baseString).
You can easily define such a constructor by calling makeSubclass, below.
Subsequently the given constructor will be used for the named methods . The constructor will be called with no parameters . The resulting object should usually implement getSignature ( baseString ) . You can easily define such a constructor by calling makeSubclass below .