Commit Graph

19 Commits

Author SHA1 Message Date
Sebastian Thiel
88d4bf8c28 fix(refresh): BorrowMut for & and owned Client
That way, we are most flexible, at the cost of additional code.
2015-02-27 20:08:53 +01:00
Sebastian Thiel
4486bd595f feat(refresh): &mut Client instead of Client
Breaking: This changes the existing API ... maybe Borrow can be used
to hide the type of client.
2015-02-27 19:58:06 +01:00
Sebastian Thiel
515e128cac feat(auth): open verification url automatically 2015-02-27 17:53:01 +01:00
Sebastian Thiel
1f655b4eff feat(common): Token type serialization support
This works by storing only timestamps.
Some convenience is provided as well.
2015-02-27 16:34:17 +01:00
Sebastian Thiel
aedc9b6696 feat(common): ConsoleApplicationSecret
A simplel structure to help reading secret files obtained from
https://code.google.com/apis/console
2015-02-27 15:32:26 +01:00
Sebastian Thiel
aa030e8987 fix(common): AuthenticationType implements Str
Instead of an arbitrary `url()` method with the signature of
`to_slice()`
2015-02-27 15:06:50 +01:00
Sebastian Thiel
646a94ac11 fix(device): DeviceFlowHelper fails by default ...
... in case there is a connection error.
Its purpose is to handle the device flow, not to retry if there are
more general problems, like connection errors. However, the user
may implement this differently in his delegate.
2015-02-27 10:39:30 +01:00
Sebastian Thiel
aef1a4a28c fix(cargo): added keywords
[skip ci]
2015-02-27 10:14:16 +01:00
Sebastian Thiel
25d26a5513 test(travis): trigger travis
Hook wasn't active previously, for some reason.
2015-02-27 09:29:39 +01:00
Sebastian Thiel
20a7fd83dc fix(cargo): fix repo link and description 2015-02-27 09:24:56 +01:00
Sebastian Thiel
40c9a0a112 docs(readme): usage inforamtion, incl. auth.gif 2015-02-27 09:13:55 +01:00
Sebastian Thiel
00e3f5f8f2 docs(contributing): quick issue guide 2015-02-27 08:49:31 +01:00
Sebastian Thiel
02410f8b5b docs(contributing): commit message guide
The one used in angular seems to be it
2015-02-27 08:42:35 +01:00
Sebastian Thiel
b23bb2459b fix(example-auth): convert UTC to local time
Requires chrono 0.2.3 to work.
Also removed some warnings
2015-02-27 08:29:41 +01:00
Sebastian Thiel
2b269e084d fix(cargo): yup-hyper-mock pulled from crates
Required to publish this crate.
2015-02-27 08:23:48 +01:00
Sebastian Thiel
e131d3c4fd doc(cargo): added license info and build status 2015-02-27 08:21:04 +01:00
Sebastian Thiel
fa9fcb9b6f Added travis config and doc url 2015-02-26 20:03:33 +01:00
Sebastian Thiel
50b3f5e357 Bumped version to 0.1.0 2015-02-26 20:01:28 +01:00
Sebastian Thiel
2feddf4f56 initial commit after moving it out of yup/lib 2015-02-26 19:43:15 +01:00