Commit Graph

19 Commits

Author SHA1 Message Date
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
84454d1736 fix(rustup): (abf0548b5 2015-04-15) (built 2015-04-15) 2015-04-17 06:39:16 +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
2489b81383 fix(update-dependencies): rustup + dep-up
* updated to rustc (be9bd7c93 2015-04-05)
* use latest hyper

The latter required us to deal with HttpError not being clonable
anymore.
2015-04-07 10:35:25 +02:00
Sebastian Thiel
feba2d0e5a feat(header): Authorization Scheme for Oauth
Allows not natively use Oauth2 schemes with hyper Authorization headers.
Added support for serialization and parsing.
2015-03-22 11:55:05 +01:00
Sebastian Thiel
0710d310f8 feat(api_key): GetToken.api_key()
Allows to get API keys in case there is no known scope.
There might be alterations to this, as I am unsure how it's supposed
to be implemented.
2015-03-16 13:41:19 +01: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
437a60959b fix(rustup): switch to using io where possible
And adapt to hyper in the same moment
2015-03-07 13:35:21 +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
fda2d62fa2 fix(cargo): version bump
Should probably have been done in 'next' branch.
Next time, maybe.

BREAKING: DeviceFlowHelper replaced with Authenticator
2015-02-28 14:09:32 +01:00
Sebastian Thiel
515e128cac feat(auth): open verification url automatically 2015-02-27 17:53:01 +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
20a7fd83dc fix(cargo): fix repo link and description 2015-02-27 09:24:56 +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