yup-oauth2 11.0.0

An oauth2 implementation, providing the 'device', 'service account' and 'installed' authorization flows
Documentation
<a name=""></a>
##  v1.0.4 (2017-02-03)


#### Improvements

* **serde:** use proc_macros and serde-derive ([59584b24]https://github.com/Byron/yup-oauth2/commit/59584b240e7d9dfa8d412fa5524d2420037373d1)



<a name=""></a>
##  v1.0.3 (2017-02-03)


#### Bug Fixes

* **deps:**  Fix dependency problems and openssl test failure. ([567ff12c]https://github.com/Byron/yup-oauth2/commit/567ff12cd4590683cc7f1e5e673d68dd1ae1a129)
* **openssl:**  Update to 0.9.x ([fe0a094b]https://github.com/Byron/yup-oauth2/commit/fe0a094b4563ff66e67f86b1ad042b80e76eafed)


<a name=""></a>
##  v1.0.1 (2017-02-03)


#### Bug Fixes

* **serde:**  use serde_derive ([11baf2f7]https://github.com/Byron/yup-oauth2/commit/11baf2f7121973f5d466abdfc0842f5f53ad389f)
* **travis-key:**  Fix typo in previous API key ([eaca1f22]https://github.com/Byron/yup-oauth2/commit/eaca1f2283fbe81157dd4321df1af340e67f0e91)



<a name="v1.0.0"></a>
### v1.0.0 (2016-10-09)


#### Bug Fixes

* **deps:**
  *  Pin dependencies to specific (major) versions ([eb6267a2]https://github.com/Byron/yup-oauth2/commit/eb6267a2dd0721969aac399106aae15304ef1df8)
  *  Use small base64 crate instead of rustc-serialize ([a4d60e75]https://github.com/Byron/yup-oauth2/commit/a4d60e754bd7f852118691c21f5e84d4e2c59320)
* **example:**  Use crates.io version of google-pubsub1 for examples ([80b21bdd]https://github.com/Byron/yup-oauth2/commit/80b21bdddbe4e8cab6e1e9989f0433a5d15d1250)
* **review comments:**  Implement @Byron's suggestions on #34 ([bb6ce78b]https://github.com/Byron/yup-oauth2/commit/bb6ce78b38a527edb8c25bbc7e581325eedd09c4)
* **service_account:**  Use correct base64 encoding ([b143033a]https://github.com/Byron/yup-oauth2/commit/b143033ad18a2c848917ab30bb7effcd62e483f0)
* **tests:**  A deactivated key leads to "Signature errors" ([08d79de3]https://github.com/Byron/yup-oauth2/commit/08d79de3132287976277f7934e4ecf176f15b89d)

#### Breaking Changes

* **device:**  Make the Device flow independent of Google ([a8479b8d]https://github.com/Byron/yup-oauth2/commit/a8479b8ddb70c32d01f907b64e0a2f61ec5b3370, breaks [#]https://github.com/Byron/yup-oauth2/issues/)

#### Features

* **device:**  Make the Device flow independent of Google ([a8479b8d]https://github.com/Byron/yup-oauth2/commit/a8479b8ddb70c32d01f907b64e0a2f61ec5b3370, breaks [#]https://github.com/Byron/yup-oauth2/issues/)
* **examples:**  Add example for service accounts + Cloud Pubsub ([4ba43532]https://github.com/Byron/yup-oauth2/commit/4ba43532aa14b76bf3019c714db265ad825c079a)
* **service_account:**  Enable service account oauth with other providers ([970d1887]https://github.com/Byron/yup-oauth2/commit/970d188794e7cefc99068d928374e561146546f4)



<a name="v0.6.3"></a>
### v0.6.3 (2016-09-11)


#### Bug Fixes

* **dependencies:**  use latest version of serde_codegen ([7a907eb3]https://github.com/Byron/yup-oauth2/commit/7a907eb31835268d131c845c85f6f18382c238fa)
* **helper:**  Parse app secrets into right type ([a4532f27]https://github.com/Byron/yup-oauth2/commit/a4532f27b4a6ddd3e59eb2ffa0f610f9d2d7ad55)
* **test:**  Add missing import to authenticator tests ([cb667379]https://github.com/Byron/yup-oauth2/commit/cb6673798822a38d4cccf9c8939458afd53c43c2)
* **travis:**
  *  actually it should already work this way ([9283db02]https://github.com/Byron/yup-oauth2/commit/9283db022d7121e5607fbdeb0ea60b559023e92c)
  *  see all environment variables ([d1189d98]https://github.com/Byron/yup-oauth2/commit/d1189d98da80949fed6bafe73cdaf6bd0c33f4e1)
  *  use actual feature matrix ([30fc78cb]https://github.com/Byron/yup-oauth2/commit/30fc78cbf88c9b5453781328771ddf9fa050114e)
  *  try again without env: matrix: ([361856ba]https://github.com/Byron/yup-oauth2/commit/361856ba5a9918a50baebf9328ac5b37833dba1b)
  *  env: matrix is required it seems ([f404fcd7]https://github.com/Byron/yup-oauth2/commit/f404fcd7fad31fd5236b201384f4300db9cdb346)
  *  try without explicit inclusion ([3fb8d0fe]https://github.com/Byron/yup-oauth2/commit/3fb8d0fec6b5937c66c49c469fd37dc525a21790)
  *  try without env: matrix ([136b5752]https://github.com/Byron/yup-oauth2/commit/136b57524f1a40c5e451476e839e50480913b1ae)
  *  another attempt to get env-config right ([17c344c9]https://github.com/Byron/yup-oauth2/commit/17c344c997e53532f65030e32fa8e182bab223c7)
  *  remove matrix code ([0fc5d693]https://github.com/Byron/yup-oauth2/commit/0fc5d6939ccf477239c1e26f5693d51d260880fd)

#### Features

* **helpers:**  Add helpers for reading/parsing JSON ([c4231e94]https://github.com/Byron/yup-oauth2/commit/c4231e94990cf74f021f237c12e16364e4ec36a2)



<a name="v0.6.1"></a>
### v0.6.1 (2016-05-20)


#### Bug Fixes

* **flows:**  save Token properly ([57a3151d]https://github.com/Byron/yup-oauth2/commit/57a3151d4d550c14e0763bcf3153791d5d832dba)



<a name="v0.6.0"></a>
## v0.6.0 (2016-05-20)


#### Features

* **flows:**  Implement flow for installed apps ([77355888]https://github.com/Byron/yup-oauth2/commit/77355888f2d1f0db09b10d81a374d8d254dd13fb)
* **storage:**  Implement DiskTokenStorage ([2cb5250e]https://github.com/Byron/yup-oauth2/commit/2cb5250e72f53bc020cad298b5689dcc88e6347f)

#### Bug Fixes

* **DiskTokenStorage:**  make DiskTokenStorage::new() return a Result<> ([ae5e94bf]https://github.com/Byron/yup-oauth2/commit/ae5e94bf7b15318a15b2885fa0d4b5fded8bcadd)
* **dependencies:**
  *  work with latest dependencies on nightly ([22bb255a]https://github.com/Byron/yup-oauth2/commit/22bb255a55e2a92e4b03c33d721ab122c6c5ae32)
  *  hyper also broke us ([4e1d9bd7]https://github.com/Byron/yup-oauth2/commit/4e1d9bd75091583ff9d8f49e6e8cd46458677457)
  *  use url = 0.5; the bump to 1.0 broke us ([95ecb5c3]https://github.com/Byron/yup-oauth2/commit/95ecb5c3887bd51367724da4e9c862aa1c3154a9, closes [#23]https://github.com/Byron/yup-oauth2/issues/23)
  *  use url = 0.5; the bump to 1.0 broke us ([5c4e3188]https://github.com/Byron/yup-oauth2/commit/5c4e318842c809551242a804c97e8696e5e6eb5c, closes [#23]https://github.com/Byron/yup-oauth2/issues/23)
* **installed:**  Genericize token/auth URI ([9b31070e]https://github.com/Byron/yup-oauth2/commit/9b31070edbac3ba9e42dc08c81a48ec3fee8a728)



<a name="v0.5.6"></a>
### v0.5.6 (2016-04-10)


#### Bug Fixes

* **serde:**  go back to serde 0.6 ([1f2f5b8f]https://github.com/Byron/yup-oauth2/commit/1f2f5b8f892ac280eb33a114b5e415f914454311)



<a name="v0.5.5"></a>
### v0.5.5 (2016-02-07)

#### Improvements

* **crates:**  remove `time` crate

<a name="v0.5.4"></a>
### v0.5.4 (2016-01-30)


#### Bug Fixes

* **secret:**  allow project_id field ([c039db56]https://github.com/Byron/yup-oauth2/commit/c039db56cdda527e51e83e3f65033b94aca11a68)

#### Improvements

* **duration:**  use std::time::Duration everywhere ([c18ae07b]https://github.com/Byron/yup-oauth2/commit/c18ae07bbb6855230ba64806967456ee681e8f4a)



<a name="v0.5.2"></a>
## v0.5.2 (2015-08-08)


#### Bug Fixes

* **tests**  assure tests actually work ([ad0bde30]https://github.com/Byron/yup-oauth2/commit/ad0bde3092499e26c819a871065f70d0d8519e0b)



<a name="v0.5.1"></a>
## v0.5.1 (2015-08-08)

* compatibility with serde 0.5.x

<a name="v0.5.0"></a>
## v0.5.0 (2015-06-18)

This release essentially make yup-oauth2 work on rustc *stable*.

#### Features

* **syntex**  basic infrastructure ([9b2f9e77]https://github.com/Byron/yup-oauth2/commit/9b2f9e77be8189e6cc9ef196f49e764011ca9519)

#### Bug Fixes

* **lib**
  *  remove macro usage to work on stable ([6a5915d7]https://github.com/Byron/yup-oauth2/commit/6a5915d7d64820ecaf6aed30c92f2f7fbe28d72f)
  *  setup nightly crate meta data correctly ([a260b138]https://github.com/Byron/yup-oauth2/commit/a260b13868aaf667ef5379e4223ec0c94b78e26b)
* **syntex**  cleanup, build works on stable ([0901497d]https://github.com/Byron/yup-oauth2/commit/0901497d8984ac5cd02aa1a0c21d463dce9a1edf)



<a name="v0.4.5"></a>
## v0.4.5 (2015-05-11)


#### Bug Fixes

* **rustup**  workaround rustlang bug ([47b68cf4]https://github.com/Byron/yup-oauth2/commit/47b68cf4010974b1ea834b292d9b9101d15a6c46)


<a name="v0.4.4"></a>
## v0.4.4 (2015-05-08)


#### Features

* **testing**  use travis-cargo ([dd711b6e]https://github.com/Byron/yup-oauth2/commit/dd711b6e8065bb699aa244cd6a51f21bdb4e05e9)

#### Bug Fixes

* **hyper**  update to hyper v0.4.0 ([7383f5ef]https://github.com/Byron/yup-oauth2/commit/7383f5efb60fabdb797a71cc5288068b3095c294)



<a name="v0.4.3"></a>
## v0.4.3 (2015-05-02)


#### Bug Fixes

* **JsonError**  make `error` field non-optional ([a395fe89]https://github.com/Byron/yup-oauth2/commit/a395fe892c9893360305f93de60b61cbc64162f9, closes [#6]https://github.com/Byron/yup-oauth2/issues/6)



<a name="v0.4.2"></a>
## v0.4.2 (2015-05-02)


#### Bug Fixes

* **json**  assure we understand json errors ([b08b239e]https://github.com/Byron/yup-oauth2/commit/b08b239e88815f83034eadd751d64b25d9650798)



<a name="v0.4.1"></a>
## v0.4.1 (2015-05-02)


#### Bug Fixes

* **TokenStorage**  `set()` returns `Result<(), _>` ([f95bb816]https://github.com/Byron/yup-oauth2/commit/f95bb816f7346ae5d1b04e946f09da372e9c0a37, closes [#5]https://github.com/Byron/yup-oauth2/issues/5)



<a name="v0.4.0"></a>
## v0.4.0 (2015-05-02)


#### Features

* **serde**  use serde instead of rustc_serialize ([e05e5553]https://github.com/Byron/yup-oauth2/commit/e05e5553e3bbfb0b8bebf3da785f4d1a16e353f3, closes [#2]https://github.com/Byron/yup-oauth2/issues/2)



<a name="v0.3.10"></a>
## v0.3.10 (2015-05-02)


#### Bug Fixes

* **rustup**  1.1.0-nightly (97d4e76c2 2015-04-27) ([3ca51ccf]https://github.com/Byron/yup-oauth2/commit/3ca51ccfe2c410349002279ddd925edf245da1e6)



<a name="v0.3.9"></a>
## v0.3.9 (2015-05-02)


#### Bug Fixes

* **rustup**  replace sleep with sleep_ms ([727c1d80]https://github.com/Byron/yup-oauth2/commit/727c1d801b4ae8f7b7cb80050139926bbcb9bf48)



<a name="v0.3.8"></a>
## v0.3.8 (2015-05-02)


#### Bug Fixes

* **common**  remove obsolete marker trait ([2a1247ba]https://github.com/Byron/yup-oauth2/commit/2a1247bae0b7a5fd0195b8dca8cda2a2cf1b2132)



<a name="v0.3.7"></a>
## v0.3.7 (2015-05-02)


#### Bug Fixes

* **helper**  unset stored token on refresh failure ([690bcdb6]https://github.com/Byron/yup-oauth2/commit/690bcdb627ed8dc9e033bc8823997fcfb69ccd89)



<a name="v0.3.6"></a>
## v0.3.6 (2015-05-02)


#### Bug Fixes

* **refresh**  use correct URL for refresh flow ([1ce4147d]https://github.com/Byron/yup-oauth2/commit/1ce4147d545a3a22d60180e9ae0473c8d039784d)



<a name="v0.3.5"></a>
## v0.3.5 (2015-05-02)


#### Bug Fixes

* **rustup**  (abf0548b5 2015-04-15) (built 2015-04-15) ([84454d17]https://github.com/Byron/yup-oauth2/commit/84454d1736fb3a4b5448a678b3fb26495bd64a69)
* **API**
  *  review Result types and adapt code ([2481c75c]https://github.com/Byron/yup-oauth2/commit/2481c75c3148e262419a969feb49aa0a8141f836, closes [#4]https://github.com/Byron/yup-oauth2/issues/4)
  *  overall improved error handling ([2cdf8bbf]https://github.com/Byron/yup-oauth2/commit/2cdf8bbf76976c47b9052d2e675aa0ced16f726b)



<a name="v0.3.3"></a>
## v0.3.3 (2015-05-02)


#### Bug Fixes

* **version-up**  v0.3.3 ([0222a19e]https://github.com/Byron/yup-oauth2/commit/0222a19e9df3fa7b90ee429b02a053cc2210d9ea, closes [#3]https://github.com/Byron/yup-oauth2/issues/3)



<a name="v0.3.2"></a>
## v0.3.2 (2015-05-02)


#### Bug Fixes

* **update-dependencies**  rustup + dep-up ([2489b813]https://github.com/Byron/yup-oauth2/commit/2489b81383dae08b9ddf5809286ceee08d091fcc)
* **common**
  *  Default trait for ApplicationSecret ([445675db]https://github.com/Byron/yup-oauth2/commit/445675db7f3b34f01a794732a9f254889d1f16b6)
  *  AuthenticationType implements Str ([aa030e89]https://github.com/Byron/yup-oauth2/commit/aa030e8987760720f3d616cb0dad18c531bc7a45)
* **example-auth**  convert UTC to local time ([b23bb245]https://github.com/Byron/yup-oauth2/commit/b23bb2459b282ebc0cc4b9667a576d9a427710d5)
* **device**  DeviceFlowHelper fails by default ... ([646a94ac]https://github.com/Byron/yup-oauth2/commit/646a94ac11c06d456cf05ae80954e6ca7e3bc47a)
* **cargo**
  *  version bump ([fda2d62f]https://github.com/Byron/yup-oauth2/commit/fda2d62fa221cd0b8150af41a09706f6e78f9cfb)
  *  added keywords ([aef1a4a2]https://github.com/Byron/yup-oauth2/commit/aef1a4a28cdae083c3098dd8f7973fec0b7b3de8)
  *  fix repo link and description ([20a7fd83]https://github.com/Byron/yup-oauth2/commit/20a7fd83dc2f482508d3764dacdb4981e03a44d9)
  *  yup-hyper-mock pulled from crates ([2b269e08]https://github.com/Byron/yup-oauth2/commit/2b269e084d2016d93f07e48f8b31e73677492ef7)
* **rustup**
  *  update to latest rustc ([3d1678da]https://github.com/Byron/yup-oauth2/commit/3d1678daead26705b876ec7f1ad7305479c0225c)
  *  switch to using io where possible ([437a6095]https://github.com/Byron/yup-oauth2/commit/437a60959b15aae657ad9285fa5ab33580ccd221)
* **refresh**  BorrowMut for & and owned Client ([88d4bf8c]https://github.com/Byron/yup-oauth2/commit/88d4bf8c28ea10db0730e072986303f71bdbfed3)

#### Features

* **header**  Authorization Scheme for Oauth ([feba2d0e]https://github.com/Byron/yup-oauth2/commit/feba2d0e5afe01171bb6ba1289dcf68644c00354)
* **auth**
  *  Authenticator support GetToken trait ([fb0c3ff5]https://github.com/Byron/yup-oauth2/commit/fb0c3ff506a70431112c46f4c4d79f6a9559dd58)
  *  open verification url automatically ([515e128c]https://github.com/Byron/yup-oauth2/commit/515e128cac42569b5009108fa0eb008b412631ca)
* **common**
  *  Token type serialization support ([1f655b4e]https://github.com/Byron/yup-oauth2/commit/1f655b4eff499457d4ee9554aaa3b0eb99465b42)
  *  ConsoleApplicationSecret ([aedc9b66]https://github.com/Byron/yup-oauth2/commit/aedc9b6696c2880808705eb0cb130137ccdaf481)
* **refresh**  &mut Client instead of Client ([4486bd59]https://github.com/Byron/yup-oauth2/commit/4486bd595fc4a3e6fecafbc5323fc0d6398a9ff9)
* **api_key**  GetToken.api_key() ([0710d310]https://github.com/Byron/yup-oauth2/commit/0710d310f821662ea8cdf449d192e671ecfa9f69)
* **helper**  full implementation of Authenticator ([c227c161]https://github.com/Byron/yup-oauth2/commit/c227c161fd7233d236c1ee5e700dd56298922f08)
* **util**  new MemoryStorage and NullStorage ([091f1c07]https://github.com/Byron/yup-oauth2/commit/091f1c07592808656735cb8800f0a809329e58d9)
* **device**  BorrowMut for client ([3f965c8f]https://github.com/Byron/yup-oauth2/commit/3f965c8fea1f341809be97364cbaa570b986f2c4)