Module: OAuth

Defined in:
lib/oauth.rb,
lib/oauth/cli.rb,
lib/oauth/oauth.rb,
lib/oauth/client.rb,
lib/oauth/helper.rb,
lib/oauth/server.rb,
lib/oauth/consumer.rb,
lib/oauth/signature.rb,
lib/oauth/errors/error.rb,
lib/oauth/tokens/token.rb,
lib/oauth/request_proxy.rb,
lib/oauth/errors/problem.rb,
lib/oauth/oauth_test_helper.rb,
lib/oauth/errors/unauthorized.rb,
lib/oauth/tokens/access_token.rb,
lib/oauth/tokens/server_token.rb,
lib/oauth/tokens/request_token.rb,
lib/oauth/tokens/consumer_token.rb,
lib/oauth/request_proxy/mock_request.rb,
lib/oauth/request_proxy/jabber_request.rb

Defined Under Namespace

Modules: Client, Helper, OAuthTestHelper, RequestProxy, Signature Classes: AccessToken, CLI, Consumer, ConsumerToken, Error, Problem, RequestToken, Server, ServerToken, Token, Unauthorized

Constant Summary collapse

VERSION =
"0.4.7"
OUT_OF_BAND =

request tokens are passed between the consumer and the provider out of band (i.e. callbacks cannot be used), per section 6.1.1

"oob"
PARAMETERS =

required parameters, per sections 6.1.1, 6.3.1, and 7

%w(oauth_callback oauth_consumer_key oauth_token
oauth_signature_method oauth_timestamp oauth_nonce oauth_verifier
oauth_version oauth_signature oauth_body_hash)
RESERVED_CHARACTERS =

reserved character regexp, per section 5.1

/[^a-zA-Z0-9\-\.\_\~]/