

def oauth_params(self, nonce, timestamp, signature=None):
    params = (('oauth_nonce', nonce), ('oauth_timestamp', timestamp), ('oauth_consumer_key', self.key), ('oauth_signature_method', 'HMAC-SHA1'))
    if self.oauth_token:
        params += (('oauth_token', self.oauth_token),)
    if signature:
        params += (('oauth_signature', signature),)
    return params

dataset/ETHPy150Open ducksboard/libsaas/libsaas/filters/auth.py OAuthRFC5849.oauth_params/original