function sign(message) {
        var baseString = OAuth.SignatureMethod.getBaseString(message);
        var signature = this.getSignature(baseString);
        OAuth.setParameter(message, "oauth_signature", signature);
        return signature; // just in case someone's interested
    }
function sign(message) {
        var baseString = OAuth.SignatureMethod.getBaseString(message);
        var signature = this.getSignature(baseString);
        OAuth.setParameter(message, "oauth_signature", signature);
        return signature; 
    }
function sign ( message ) { var baseString = OAuth . SignatureMethod . getBaseString ( message ) ; var signature = this . getSignature ( baseString ) ; OAuth . setParameter ( message , "oauth_signature" , signature ) ; return signature ; // just in case someone's interested }
Add a signature to the message.
Add a signature to the message .