Vocabulary
oauth1.private

Inputs
urlan object
request-methodan object
consumer-tokenan object
request-tokenan object
paramsan object


Outputs
signed-paramsan object


Definition


:: sign-params
( url request-method consumer-token request-token params -- signed-params )
params sort-keys :> params url request-method params
signature-base-string
:> sbs consumer-token secret>> request-token dup
[ secret>> ] when hmac-key :> key sbs key sha1 hmac-bytes
>base64 >string :> signature params
{ "oauth_signature" signature } prefix ;