Commit Graph

82 Commits

Author SHA1 Message Date
Curtis McEnroe 228c732e2e Add JsonObjectHelper::get_string_option 2015-12-23 22:43:19 -05:00
Curtis McEnroe cb404df6d8 Implement FromResponse for OAuth2Error 2015-12-22 01:45:21 -05:00
Curtis McEnroe 71d147eb83 Add Json helpers 2015-12-22 01:45:12 -05:00
Curtis McEnroe 565ee93113 Implement From<&str> for OAuth2ErrorCode 2015-12-22 00:59:58 -05:00
Curtis McEnroe 225f156bb6 Add OAuth2Error 2015-12-22 00:54:39 -05:00
Curtis McEnroe dc513cab34 Implement Debug for Client
ಠ╭╮ಠ
2015-12-22 00:41:36 -05:00
Curtis McEnroe de9dea402d Add derivable Debug implementations 2015-12-22 00:34:06 -05:00
Curtis McEnroe 7dcc49da8d Enable extra lints 2015-12-22 00:30:09 -05:00
Curtis McEnroe 59874c36da Add FromResponse::from_response_inherit 2015-12-22 00:16:30 -05:00
Curtis McEnroe 7e3f77aa83 Rename client::response and make public 2015-12-22 00:08:34 -05:00
Curtis McEnroe bc9555c9b9 Add FromResponse trait and ParseError 2015-12-22 00:02:29 -05:00
Curtis McEnroe 557257e71d Add Imgur example 2015-12-21 23:36:04 -05:00
Curtis McEnroe f3cdd6142d Add GitHub example 2015-12-21 23:34:38 -05:00
Curtis McEnroe eb8d3ab7b0 Add Client::auth_uri example 2015-12-21 23:08:45 -05:00
Curtis McEnroe e7d099716d Add Client::auth_uri unit tests 2015-12-21 23:05:15 -05:00
Curtis McEnroe af0d3283d0 Add Google example 2015-12-21 22:53:45 -05:00
Curtis McEnroe a7710660c1 Implement Client::auth_uri 2015-12-21 22:50:41 -05:00
Curtis McEnroe 0496dbc8fd Add Client struct 2015-12-21 22:40:18 -05:00
Curtis McEnroe 3d8bd4eb1a Add Imgur provider 2015-12-21 22:31:47 -05:00
Curtis McEnroe cd66c77a94 Add GitHub provider 2015-12-21 22:28:48 -05:00
Curtis McEnroe c3e4d78ad3 Add Google provider 2015-12-21 22:25:50 -05:00
Curtis McEnroe af0b8bfe43 Add Provider trait 2015-12-21 22:22:05 -05:00
Curtis McEnroe 76dcc305f3 Add expiring token lifetime 2015-12-21 22:16:29 -05:00
Curtis McEnroe 397578840d Add static token lifetime 2015-12-21 22:13:44 -05:00
Curtis McEnroe 38d81ed931 RFC links tweak 2015-12-21 22:13:15 -05:00
Curtis McEnroe 527ab2deed Add bearer token type 2015-12-21 22:07:52 -05:00
Curtis McEnroe 40e428f5e9 Add token trait abstraction explanation 2015-12-21 21:44:05 -05:00
Curtis McEnroe bfc17a3020 Add token traits 2015-12-21 21:40:38 -05:00
Curtis McEnroe ac156bc7b4 Begin rewrite 2015-12-21 21:31:14 -05:00
Curtis McEnroe fcd1945dba Move providers to types 2015-12-01 21:36:51 -05:00
Curtis McEnroe 7ca874de6b Tweak example GitHub redirect URI 2015-12-01 19:10:49 -05:00
Curtis McEnroe 21facd2354 Add imgur support 2015-12-01 19:10:33 -05:00
Curtis McEnroe 7bdf0a7657 Version 0.4.0 2015-12-01 00:04:40 -05:00
Curtis McEnroe ceee4c7e21 Add AccessToken::to_bearer_header method 2015-12-01 00:03:37 -05:00
Curtis McEnroe 83704cb5ba Separate Client constructors and methods 2015-11-30 23:25:15 -05:00
Curtis McEnroe 9b309f5697 Make token_type an enum 2015-11-30 23:18:19 -05:00
Curtis McEnroe 714089c683 Remove unnecessary lifetime parameters 2015-11-30 22:35:09 -05:00
Curtis McEnroe f7082cc962 Version 0.3.0 2015-11-30 22:08:25 -05:00
Curtis McEnroe c088b96f0d Split Token into AccessToken, RefreshToken, TokenPair 2015-11-30 21:55:07 -05:00
Curtis McEnroe 1441cbfb10 Version 0.2.1 2015-11-29 16:46:52 -05:00
Curtis McEnroe 173c1ced53 Bump hyper 0.7.0 2015-11-29 16:46:31 -05:00
Curtis McEnroe bb17bf90d5 Documentation tweak 2015-11-29 16:03:46 -05:00
Curtis McEnroe efe40b6173 Version 0.2.0 2015-11-29 15:57:15 -05:00
Curtis McEnroe 6ed10b58d0 Document persisting tokens 2015-11-29 15:54:53 -05:00
Curtis McEnroe 57af517929 Derive PartialEq, Eq for Token 2015-11-29 15:54:21 -05:00
Curtis McEnroe b5a56ff97e Implement Encodable and Decodable for Token 2015-11-29 15:36:12 -05:00
Curtis McEnroe e89146a3fd Version 0.1.1 2015-11-28 23:42:04 -05:00
Curtis McEnroe 353f3509f0 Derive Debug and Clone where possible 2015-11-28 23:38:59 -05:00
Curtis McEnroe efbf433025 Fill in documentation 2015-11-28 23:33:58 -05:00
Curtis McEnroe 40e2916343 Add examples to crate root 2015-11-28 22:59:12 -05:00