Commit Graph

185 Commits

Author SHA1 Message Date
Curtis McEnroe 954975732b Implement Debug, Clone, PartialEq, Eq for Client 2016-01-28 21:16:27 -05:00
Curtis McEnroe 0ff7781eb7 Merge pull request #5 from kstep/patch-1 2016-01-28 11:24:19 -05:00
Konstantin Stepanov d08e71760b accept http client as a reference to *_token() methods 2016-01-28 11:19:41 -05:00
Curtis McEnroe f388ad8f9a Merge pull request #8 from kstep/issue-6
credentials_in_body applies to all token request (fixes #6)
2016-01-28 11:07:20 -05:00
Konstantin Stepanov 52376a27fc credentials_in_body applies to all token request (fixes #6) 2016-01-28 14:42:18 +03:00
Curtis McEnroe db86c3dfa9 Version 0.6.0 2016-01-26 19:51:12 -05:00
Curtis McEnroe 41137fe3de Merge pull request #4 from programble/feature/serde
Implement Serde Serialize and Deserialize for tokens
2016-01-26 19:49:34 -05:00
Curtis McEnroe 6808f6bada Add Serde to "Persisting tokens" documentation 2016-01-25 23:14:11 -05:00
Curtis McEnroe 3cf2af8609 Test serde de/serialization of tokens 2016-01-25 23:06:44 -05:00
Curtis McEnroe ba5b74c698 Implement Serialize and Deserialize for Bearer 2016-01-25 22:50:15 -05:00
Curtis McEnroe bdd3cd8a68 Implement Serialize and Deserialize for Expiring 2016-01-25 22:23:16 -05:00
Curtis McEnroe 99c7481698 Implement Serialize and Deserialize for Static 2016-01-25 20:52:55 -05:00
Curtis McEnroe cb3f9745b1 Add Serde dependency 2016-01-25 20:39:10 -05:00
Curtis McEnroe b70befc39d Add associated constant notes to Provider docs 2016-01-25 20:28:56 -05:00
Curtis McEnroe 0b3a52dba8 Merge pull request #3 from kstep/creds-in-body
optionally pass credentials in request body
2016-01-25 19:14:01 -05:00
Konstantin Stepanov 22123533ba optionally pass credentials in request body 2016-01-26 00:50:14 +03:00
Curtis McEnroe 3be25b6e6c Build on OS X on Travis 2015-12-30 03:07:47 -05:00
Curtis McEnroe a8202395f0 Version 0.5.1 2015-12-30 03:01:07 -05:00
Curtis McEnroe 10775d0823 Derive Clone, Copy, PartialEq, Eq wherever possible 2015-12-30 02:57:02 -05:00
Curtis McEnroe 65eb87e1d4 Test mocked invalid request error 2015-12-30 01:09:17 -05:00
Curtis McEnroe 9a44d96262 Simplify mock naming 2015-12-30 01:00:22 -05:00
Curtis McEnroe d05cbad012 Add wrong lifetime mocked tests 2015-12-29 23:15:43 -05:00
Curtis McEnroe 53ac5f8e05 Add refresh token mock tests 2015-12-29 23:02:12 -05:00
Curtis McEnroe 95a27a601b Add basic mocked client integration tests 2015-12-29 22:45:33 -05:00
Curtis McEnroe f6ceabec1c Rename auth_uri tests file 2015-12-28 19:28:36 -05:00
Curtis McEnroe 0b3a888831 Version 0.5.0 2015-12-25 22:23:19 -05:00
Curtis McEnroe e69fa03de5 Add auth_uri integration tests 2015-12-25 21:35:21 -05:00
Curtis McEnroe 6cb32dd368 Merge pull request #1 from programble/rewrite
The Big Types Rewrite
2015-12-25 21:09:32 -05:00
Curtis McEnroe c0da5aa016 Update examples for Client reexport 2015-12-25 20:23:48 -05:00
Curtis McEnroe 6a07e0f9d5 Add crate documentation and examples 2015-12-25 17:52:47 -05:00
Curtis McEnroe 0dace6bb6a Test Expiring encode and decode 2015-12-25 17:46:38 -05:00
Curtis McEnroe f2fed3726d Derive or impl Encodable and Decodable for tokens 2015-12-24 16:15:18 -05:00
Curtis McEnroe cce6471a93 Implement Client::ensure_token 2015-12-24 15:49:48 -05:00
Curtis McEnroe f28d128c20 Reexport Token, Lifetime, Client, ClientError 2015-12-24 15:00:54 -05:00
Curtis McEnroe 34efa2fad0 Request and refresh token in Imgur example 2015-12-24 14:50:44 -05:00
Curtis McEnroe 0e9bbb80d9 Request token in GitHub example 2015-12-24 14:44:06 -05:00
Curtis McEnroe 33bcbd9790 Refresh token in Google example 2015-12-24 14:38:00 -05:00
Curtis McEnroe 43bc9f4e48 Implement Client::refresh_token 2015-12-24 14:37:42 -05:00
Curtis McEnroe 4fbe31693f Factor out Client::post_token 2015-12-24 14:30:07 -05:00
Curtis McEnroe d31ccaf473 Return ClientError from Client::auth_uri 2015-12-24 14:22:04 -05:00
Curtis McEnroe cfa53d8b35 Request token in Google example 2015-12-24 01:11:14 -05:00
Curtis McEnroe 03b178c89c Implement Client::request_token 2015-12-24 01:11:01 -05:00
Curtis McEnroe 8192d806f7 Add ClientError enum 2015-12-24 00:58:20 -05:00
Curtis McEnroe a8c1f7501e Test Bearer::from_response 2015-12-24 00:44:09 -05:00
Curtis McEnroe 552507478f Test Expiring::from_response 2015-12-24 00:31:58 -05:00
Curtis McEnroe 02a764720b Derive Eq for Expiring 2015-12-23 23:57:12 -05:00
Curtis McEnroe e09b0726fe Test Static::from_response 2015-12-23 23:54:56 -05:00
Curtis McEnroe 2bde28f1de Derive Eq for Static 2015-12-23 23:54:49 -05:00
Curtis McEnroe 2628759a2e Implement FromResponse for tokens 2015-12-23 23:46:21 -05:00
Curtis McEnroe 3aa66c2d30 OAuth2Error FromResponse tweak 2015-12-23 23:12:00 -05:00