Curtis McEnroe
|
4a88c8779a
|
Move serde support to a (default) feature
|
2016-03-12 20:07:49 -05:00 |
Curtis McEnroe
|
0132a85be2
|
Return Url from Client::auth_uri
Fixes #10.
|
2016-02-27 19:48:41 -05:00 |
Curtis McEnroe
|
ac749b941c
|
Add Google Web Provider
|
2016-02-27 19:17:55 -05:00 |
Curtis McEnroe
|
3125a61b0c
|
Add Expiring Lifetime
|
2016-02-27 19:13:47 -05:00 |
Curtis McEnroe
|
9ae0feccc8
|
Rename Expiring to Refresh
|
2016-02-27 19:11:01 -05:00 |
Curtis McEnroe
|
93ac962b32
|
Rename Google provider to google::Installed
|
2016-02-27 19:09:58 -05:00 |
Curtis McEnroe
|
6187798a24
|
Update serde 0.7.0
|
2016-02-27 14:39:43 -05:00 |
Curtis McEnroe
|
0e9cb14231
|
Fix clippy lints
|
2016-02-23 15:50:01 -05:00 |
Curtis McEnroe
|
c6aec754c3
|
Take String in Client::new
|
2016-01-28 21:54:14 -05:00 |
Curtis McEnroe
|
ad23733ce4
|
Make Client fields public
|
2016-01-28 21:20:03 -05:00 |
Curtis McEnroe
|
954975732b
|
Implement Debug, Clone, PartialEq, Eq for Client
|
2016-01-28 21:16:27 -05:00 |
Konstantin Stepanov
|
d08e71760b
|
accept http client as a reference to *_token() methods
|
2016-01-28 11:19:41 -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
|
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
|
b70befc39d
|
Add associated constant notes to Provider docs
|
2016-01-25 20:28:56 -05:00 |
Konstantin Stepanov
|
22123533ba
|
optionally pass credentials in request body
|
2016-01-26 00:50:14 +03:00 |
Curtis McEnroe
|
10775d0823
|
Derive Clone, Copy, PartialEq, Eq wherever possible
|
2015-12-30 02:57:02 -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
|
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
|
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 |
Curtis McEnroe
|
3c32646ea4
|
Test OAuth2Error::from_response
|
2015-12-23 23:07:56 -05:00 |
Curtis McEnroe
|
fbfb2fa284
|
Derive Eq for OAuth2Error
|
2015-12-23 23:07:46 -05:00 |
Curtis McEnroe
|
db058fffdf
|
Derive Eq for ParseError
|
2015-12-23 23:07:26 -05:00 |
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 |