Crate oauth_client_fix [−] [src]
OAuth 1.0 client library for Rust.
Dependent on libcurl.
Examples
Send request for request token.
const REQUEST_TOKEN: &'static str = "http://oauthbin.com/v1/request-token"; let consumer = oauth_client::Token::new("key", "secret"); let bytes = oauth_client::get(REQUEST_TOKEN, &consumer, None, None).unwrap();
Structs
Token |
Token structure for the OAuth |
Enums
Error |
The |
Functions
authorization_header |
Create an authorization header. See https://dev.twitter.com/oauth/overview/authorizing-requests |
get |
Send authorized GET request to the specified URL.
|
post |
Send authorized POST request to the specified URL.
|
Type Definitions
ParamList |
Alias for |