Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Thiel
3ca51ccfe2 fix(rustup): 1.1.0-nightly (97d4e76c2 2015-04-27)
Also incremented version
2015-04-29 09:53:27 +02:00
Sebastian Thiel
727c1d801b fix(rustup): replace sleep with sleep_ms
Now it works with the latest compiler. I wonder why I didn't notice
that before ... .
2015-04-26 21:13:45 +02:00
Sebastian Thiel
2481c75c31 fix(API): review Result types and adapt code
* Do not return massive custom result enums, but instead adhere to the
  `Result` convention. This natively fixed our problem related to having
  to make unnecessary clones, making our design much cleaner.

Fixes #4
2015-04-23 17:01:21 +02:00
Sebastian Thiel
2cdf8bbf76 fix(API): overall improved error handling
* Return `Result<Token, Box<Error>>` type wherever feasible
* increment version to 0.3.5
* remove all usages of depreceated std items
2015-04-23 13:47:49 +02:00
Sebastian Thiel
0222a19e9d fix(version-up): v0.3.3
* hyper adjustments to deal with Client without type parameter
* adjust to changed crate name conventions, '-' are converted to '_'

Fixes #3
2015-04-08 16:40:48 +02:00
Sebastian Thiel
3d1678daea fix(rustup): update to latest rustc
rustc 1.0.0-nightly (3e4be02b8 2015-03-13) (built 2015-03-13)
2015-03-15 11:34:03 +01:00
Sebastian Thiel
fb0c3ff506 feat(auth): Authenticator support GetToken trait
This will allow its usage in generics, without having to provide
the 4 additional template types it usees.
2015-03-01 09:56:58 +01:00
Sebastian Thiel
dea3e6b3fd test(auth): removed DeviceFlowHelper
It's superseded by the more powerful `Authenticator`.
Adjusted library documentation accordingly, as well as `auth` program.
2015-02-28 12:03:30 +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
40c9a0a112 docs(readme): usage inforamtion, incl. auth.gif 2015-02-27 09:13:55 +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
2feddf4f56 initial commit after moving it out of yup/lib 2015-02-26 19:43:15 +01:00