Class | HTTPClient::OAuth |
In: |
lib/httpclient/auth.rb
|
Parent: | Object |
Authentication filter for handling OAuth negotiation. Used in WWWAuth.
CAUTION: This impl only support ‘7 Accessing Protected Resources’ in OAuth Core 1.0 spec for now. You need to obtain Access token and Access secret by yourself.
CAUTION: This impl does NOT support OAuth Request Body Hash spec for now. oauth.googlecode.com/svn/spec/ext/body_hash/1.0/oauth-bodyhash.html
scheme | [R] | Authentication scheme. |
Response handler: returns credential. It sends cred only when a given uri is;
Resets challenge state. Do not send ’*Authorization’ header until the server sends ’*Authentication’ again.
Set authentication credential. You cannot set OAuth config via WWWAuth#set_auth. Use OAuth#config=