module OAuth
Constants
- OUT_OF_BAND
Out-Of-Band callback token value.
OAuth1.0 and 1.0a both support out-of-band flows, where callbacks cannot be used. See RFC 5849 (OAuth1.0), Section 6.1.1: Obtaining anUnauthorizedRequestTokenand the 1.0a errata. Providers treating “oob” as the callback URL indicate that the verifier (for 1.0a) will be communicated out of band to theConsumer.- PARAMETERS
OAuthparameter keys this library recognizes when normalizing/signing requests. Notes on 1.0 vs 1.0a:-
oauth_verifier: Introduced by
OAuth1.0a. Returned to theConsumerafter user authorization and required when exchanging a RequestTokenfor an AccessToken(Section 6.3.1 in RFC 5849 / 1.0a change). -
oauth_callback: Present in 1.0; 1.0a clarified that the
ConsumerMUST send it when obtaining a RequestToken(or use “oob”) and that the Service Provider MUST return oauth_callback_confirmed=true with the RequestTokenresponse to prevent session fixation attacks. Note that oauth_callback_confirmed is a response parameter, not a request signing parameter, and thus is not listed here.
Other keys are common to both 1.0 and 1.0a.
-
- RESERVED_CHARACTERS
reserved character regexp, per section 5.1