Commit Graph

  • c0da5aa016 Update examples for Client reexport Curtis McEnroe 2015-12-25 20:23:48 -0500
  • 6a07e0f9d5 Add crate documentation and examples Curtis McEnroe 2015-12-25 17:52:47 -0500
  • 0dace6bb6a Test Expiring encode and decode Curtis McEnroe 2015-12-25 17:46:38 -0500
  • f2fed3726d Derive or impl Encodable and Decodable for tokens Curtis McEnroe 2015-12-24 16:15:18 -0500
  • cce6471a93 Implement Client::ensure_token Curtis McEnroe 2015-12-24 15:49:48 -0500
  • f28d128c20 Reexport Token, Lifetime, Client, ClientError Curtis McEnroe 2015-12-24 15:00:54 -0500
  • 34efa2fad0 Request and refresh token in Imgur example Curtis McEnroe 2015-12-24 14:50:44 -0500
  • 0e9bbb80d9 Request token in GitHub example Curtis McEnroe 2015-12-24 14:44:06 -0500
  • 33bcbd9790 Refresh token in Google example Curtis McEnroe 2015-12-24 14:38:00 -0500
  • 43bc9f4e48 Implement Client::refresh_token Curtis McEnroe 2015-12-24 14:37:42 -0500
  • 4fbe31693f Factor out Client::post_token Curtis McEnroe 2015-12-24 14:30:07 -0500
  • d31ccaf473 Return ClientError from Client::auth_uri Curtis McEnroe 2015-12-24 14:22:04 -0500
  • cfa53d8b35 Request token in Google example Curtis McEnroe 2015-12-24 01:11:14 -0500
  • 03b178c89c Implement Client::request_token Curtis McEnroe 2015-12-24 01:11:01 -0500
  • 8192d806f7 Add ClientError enum Curtis McEnroe 2015-12-24 00:58:20 -0500
  • a8c1f7501e Test Bearer::from_response Curtis McEnroe 2015-12-24 00:44:09 -0500
  • 552507478f Test Expiring::from_response Curtis McEnroe 2015-12-24 00:22:12 -0500
  • 02a764720b Derive Eq for Expiring Curtis McEnroe 2015-12-23 23:57:12 -0500
  • e09b0726fe Test Static::from_response Curtis McEnroe 2015-12-23 23:54:56 -0500
  • 2bde28f1de Derive Eq for Static Curtis McEnroe 2015-12-23 23:54:49 -0500
  • 2628759a2e Implement FromResponse for tokens Curtis McEnroe 2015-12-23 23:46:21 -0500
  • 3aa66c2d30 OAuth2Error FromResponse tweak Curtis McEnroe 2015-12-23 23:12:00 -0500
  • 3c32646ea4 Test OAuth2Error::from_response Curtis McEnroe 2015-12-23 23:07:56 -0500
  • fbfb2fa284 Derive Eq for OAuth2Error Curtis McEnroe 2015-12-23 23:07:46 -0500
  • db058fffdf Derive Eq for ParseError Curtis McEnroe 2015-12-23 23:07:26 -0500
  • 228c732e2e Add JsonObjectHelper::get_string_option Curtis McEnroe 2015-12-23 22:38:14 -0500
  • cb404df6d8 Implement FromResponse for OAuth2Error Curtis McEnroe 2015-12-22 01:45:21 -0500
  • 71d147eb83 Add Json helpers Curtis McEnroe 2015-12-22 01:45:12 -0500
  • 565ee93113 Implement From<&str> for OAuth2ErrorCode Curtis McEnroe 2015-12-22 00:59:58 -0500
  • 225f156bb6 Add OAuth2Error Curtis McEnroe 2015-12-22 00:54:39 -0500
  • dc513cab34 Implement Debug for Client Curtis McEnroe 2015-12-22 00:41:36 -0500
  • de9dea402d Add derivable Debug implementations Curtis McEnroe 2015-12-22 00:34:06 -0500
  • 7dcc49da8d Enable extra lints Curtis McEnroe 2015-12-22 00:30:09 -0500
  • 59874c36da Add FromResponse::from_response_inherit Curtis McEnroe 2015-12-22 00:16:30 -0500
  • 7e3f77aa83 Rename client::response and make public Curtis McEnroe 2015-12-22 00:08:34 -0500
  • bc9555c9b9 Add FromResponse trait and ParseError Curtis McEnroe 2015-12-22 00:02:29 -0500
  • 557257e71d Add Imgur example Curtis McEnroe 2015-12-21 23:36:04 -0500
  • f3cdd6142d Add GitHub example Curtis McEnroe 2015-12-21 23:34:38 -0500
  • eb8d3ab7b0 Add Client::auth_uri example Curtis McEnroe 2015-12-21 23:08:45 -0500
  • e7d099716d Add Client::auth_uri unit tests Curtis McEnroe 2015-12-21 23:05:15 -0500
  • af0d3283d0 Add Google example Curtis McEnroe 2015-12-21 22:53:45 -0500
  • a7710660c1 Implement Client::auth_uri Curtis McEnroe 2015-12-21 22:50:41 -0500
  • 0496dbc8fd Add Client struct Curtis McEnroe 2015-12-21 22:40:18 -0500
  • 3d8bd4eb1a Add Imgur provider Curtis McEnroe 2015-12-21 22:31:47 -0500
  • cd66c77a94 Add GitHub provider Curtis McEnroe 2015-12-21 22:28:48 -0500
  • c3e4d78ad3 Add Google provider Curtis McEnroe 2015-12-21 22:25:50 -0500
  • af0b8bfe43 Add Provider trait Curtis McEnroe 2015-12-21 22:21:53 -0500
  • 76dcc305f3 Add expiring token lifetime Curtis McEnroe 2015-12-21 22:16:29 -0500
  • 397578840d Add static token lifetime Curtis McEnroe 2015-12-21 22:13:44 -0500
  • 38d81ed931 RFC links tweak Curtis McEnroe 2015-12-21 22:13:15 -0500
  • 527ab2deed Add bearer token type Curtis McEnroe 2015-12-21 22:07:52 -0500
  • 40e428f5e9 Add token trait abstraction explanation Curtis McEnroe 2015-12-21 21:44:05 -0500
  • bfc17a3020 Add token traits Curtis McEnroe 2015-12-21 21:40:38 -0500
  • ac156bc7b4 Begin rewrite Curtis McEnroe 2015-12-21 21:31:14 -0500
  • fcd1945dba Move providers to types Curtis McEnroe 2015-12-01 21:36:51 -0500
  • 7ca874de6b Tweak example GitHub redirect URI Curtis McEnroe 2015-12-01 19:10:49 -0500
  • 21facd2354 Add imgur support Curtis McEnroe 2015-12-01 19:10:33 -0500
  • 7bdf0a7657 Version 0.4.0 Curtis McEnroe 2015-12-01 00:04:40 -0500
  • ceee4c7e21 Add AccessToken::to_bearer_header method Curtis McEnroe 2015-12-01 00:03:37 -0500
  • 83704cb5ba Separate Client constructors and methods Curtis McEnroe 2015-11-30 23:25:15 -0500
  • 9b309f5697 Make token_type an enum Curtis McEnroe 2015-11-30 23:18:19 -0500
  • 714089c683 Remove unnecessary lifetime parameters Curtis McEnroe 2015-11-30 22:35:09 -0500
  • f7082cc962 Version 0.3.0 Curtis McEnroe 2015-11-30 22:08:25 -0500
  • c088b96f0d Split Token into AccessToken, RefreshToken, TokenPair Curtis McEnroe 2015-11-30 21:55:07 -0500
  • 1441cbfb10 Version 0.2.1 Curtis McEnroe 2015-11-29 16:46:52 -0500
  • 173c1ced53 Bump hyper 0.7.0 Curtis McEnroe 2015-11-29 16:46:31 -0500
  • bb17bf90d5 Documentation tweak Curtis McEnroe 2015-11-29 16:03:46 -0500
  • efe40b6173 Version 0.2.0 Curtis McEnroe 2015-11-29 15:57:15 -0500
  • 6ed10b58d0 Document persisting tokens Curtis McEnroe 2015-11-29 15:54:53 -0500
  • 57af517929 Derive PartialEq, Eq for Token Curtis McEnroe 2015-11-29 15:54:21 -0500
  • b5a56ff97e Implement Encodable and Decodable for Token Curtis McEnroe 2015-11-29 15:36:12 -0500
  • e89146a3fd Version 0.1.1 Curtis McEnroe 2015-11-28 23:42:04 -0500
  • 353f3509f0 Derive Debug and Clone where possible Curtis McEnroe 2015-11-28 23:38:59 -0500
  • efbf433025 Fill in documentation Curtis McEnroe 2015-11-28 23:33:58 -0500
  • 40e2916343 Add examples to crate root Curtis McEnroe 2015-11-28 22:59:12 -0500
  • acb219afad Revert "Build examples on Travis" Curtis McEnroe 2015-11-28 22:58:16 -0500
  • 21973b41bd Build examples on Travis Curtis McEnroe 2015-11-28 22:54:24 -0500
  • 7e4a0684bf Add Crates.io and Travis CI badges Curtis McEnroe 2015-11-28 22:35:12 -0500
  • 41b8d1a469 Add Travis configuration Curtis McEnroe 2015-11-28 22:29:36 -0500
  • 31343875ce Version 0.1.0 Curtis McEnroe 2015-11-28 21:50:58 -0500
  • 4b1edd3145 Add README Curtis McEnroe 2015-11-28 21:43:41 -0500
  • f718529298 Use where for Client constructors Curtis McEnroe 2015-11-28 19:18:20 -0500
  • 2ac97c61ab Implement Client::refresh_token Curtis McEnroe 2015-11-28 18:40:34 -0500
  • 6da1277507 Factor out auth_header and accept_header Curtis McEnroe 2015-11-28 18:12:43 -0500
  • 91dd81690d Handle errors Curtis McEnroe 2015-11-28 18:07:01 -0500
  • 75d309ad0c Add OAuth2Error Curtis McEnroe 2015-11-28 17:20:37 -0500
  • 2eae2724b6 Move TokenResponse out of request_token Curtis McEnroe 2015-11-28 16:56:33 -0500
  • a7e255b66c Move hyper client to Client struct Curtis McEnroe 2015-11-28 16:56:13 -0500
  • 593a08e017 Factor out Client site constructors with macro Curtis McEnroe 2015-11-28 16:40:31 -0500
  • cc8645da8f Complete examples Curtis McEnroe 2015-11-28 15:21:16 -0500
  • 10823a3d81 Implement Client::request_token Curtis McEnroe 2015-11-28 15:20:59 -0500
  • 0592eba8a1 Derive Debug for Token Curtis McEnroe 2015-11-28 15:20:51 -0500
  • 8e0d91bb24 Add Json variant to Error Curtis McEnroe 2015-11-28 14:44:01 -0500
  • da04563602 Depend on rustc-serialize Curtis McEnroe 2015-11-28 14:43:42 -0500
  • 096a9da639 Impl Display and Error for Error Curtis McEnroe 2015-11-28 14:39:18 -0500
  • 82958bab00 Return Result from Client::auth_uri Curtis McEnroe 2015-11-28 13:23:38 -0500
  • 52f73b4836 Add Error and Result types Curtis McEnroe 2015-11-28 13:21:41 -0500
  • 85acefbb6d Depend on hyper Curtis McEnroe 2015-11-28 13:12:35 -0500
  • 38801064a4 Add Token struct Curtis McEnroe 2015-11-28 13:09:43 -0500
  • 8484ee48e6 Add Client::github constructor Curtis McEnroe 2015-11-28 12:52:18 -0500