Commit Graph

174 Commits

Author SHA1 Message Date
Curtis McEnroe 6da1277507 Factor out auth_header and accept_header 2015-11-28 18:12:43 -05:00
Curtis McEnroe 91dd81690d Handle errors 2015-11-28 18:07:01 -05:00
Curtis McEnroe 75d309ad0c Add OAuth2Error 2015-11-28 17:20:37 -05:00
Curtis McEnroe 2eae2724b6 Move TokenResponse out of request_token 2015-11-28 16:56:33 -05:00
Curtis McEnroe a7e255b66c Move hyper client to Client struct 2015-11-28 16:56:13 -05:00
Curtis McEnroe 593a08e017 Factor out Client site constructors with macro 2015-11-28 16:40:31 -05:00
Curtis McEnroe cc8645da8f Complete examples 2015-11-28 15:21:16 -05:00
Curtis McEnroe 10823a3d81 Implement Client::request_token 2015-11-28 15:20:59 -05:00
Curtis McEnroe 0592eba8a1 Derive Debug for Token 2015-11-28 15:20:51 -05:00
Curtis McEnroe 8e0d91bb24 Add Json variant to Error 2015-11-28 14:44:01 -05:00
Curtis McEnroe da04563602 Depend on rustc-serialize 2015-11-28 14:43:42 -05:00
Curtis McEnroe 096a9da639 Impl Display and Error for Error 2015-11-28 14:39:18 -05:00
Curtis McEnroe 82958bab00 Return Result from Client::auth_uri 2015-11-28 13:23:38 -05:00
Curtis McEnroe 52f73b4836 Add Error and Result types 2015-11-28 13:21:41 -05:00
Curtis McEnroe 85acefbb6d Depend on hyper 2015-11-28 13:12:35 -05:00
Curtis McEnroe 38801064a4 Add Token struct 2015-11-28 13:09:43 -05:00
Curtis McEnroe 8484ee48e6 Add Client::github constructor 2015-11-28 12:52:18 -05:00
Curtis McEnroe 454f8a1f62 Move everything back into lib.rs 2015-11-28 04:23:26 -05:00
Curtis McEnroe 9e45fd6b75 Add a bit of documentation 2015-11-28 04:20:40 -05:00
Curtis McEnroe bb4a216c9d Add google constructor 2015-11-28 04:14:12 -05:00
Curtis McEnroe c80fb5855d Add Google example 2015-11-28 03:36:13 -05:00
Curtis McEnroe 692e912d2b Implement authorization_uri 2015-11-28 03:36:03 -05:00
Curtis McEnroe c05488dab2 Rename 2015-11-28 02:59:18 -05:00
Curtis McEnroe 454a37ec68 cargo new 2015-11-28 01:09:30 -05:00