Commit Graph

574 Commits

Author SHA1 Message Date
David Schmitt
69e3a0289b docs: minor typo in docstring 2022-05-07 16:39:44 +01:00
Lewin Bormann
b46a307481 Release v6.6.0
Includes:
	#173 - upgrade rustls.

Breaks:
	Application default's `with_client()` method has its argument
	order changed to match all other methods (client last).
2022-04-18 18:53:43 -07:00
Lewin Bormann
fb658f6d10 Merge pull request #173 from djc/rustls-0.20
Upgrade rustls and related dependencies
2022-04-18 18:44:18 -07:00
Lewin Bormann
378dca1148 rustls upgrade: supply correct client in test cases 2022-04-18 18:39:57 -07:00
Dirkjan Ochtman
32b6d8fa63 Allow testing without https 2022-04-11 11:38:25 +02:00
Lewin Bormann
bfe622eaaf clean-up: fix most clippy warnings 2022-04-08 23:35:15 -07:00
Lewin Bormann
986bda2465 Merge branch 'pr165'
for #165
2022-04-08 23:27:45 -07:00
Lewin Bormann
23c8053d4a for #165: update refresh flow test 2022-04-08 23:27:22 -07:00
Lewin Bormann
4a0c527d48 Release v6.5.1: Fix visibility of authorized_user module 2022-04-07 17:48:36 -07:00
Dirkjan Ochtman
f9c59bb743 Upgrade rustls and related dependencies 2022-04-06 11:22:05 +02:00
Lewin Bormann
8762896a4c Release v6.5.0 with #170 2022-04-01 20:12:52 -07:00
Lewin Bormann
95d46f53b8 Also feature-gate doc test for #170 2022-03-22 18:31:39 +01:00
Lewin Bormann
35a3117047 Fix feature gating of function for #170 2022-03-22 18:24:31 +01:00
Lewin Bormann
3c93bd1dc4 Merge pull request #170 from FEC-bendingspoons/master
Add authorized user authenticator
2022-03-22 18:18:08 +01:00
Lewin Bormann
3797ff773a Release v6.4.0
Includes #172
2022-03-20 09:20:50 +01:00
Lewin Bormann
f7e2238f3e Merge pull request #172 from birdsarah/replace_chrono_with_time
Replace chrono with time
2022-03-19 22:56:59 +01:00
Sarah Bird
2128772d88 Replace chrono with time 2022-03-11 19:39:11 -06:00
Federico Cergol
e9cb1e43eb fix: service_account feature flag placement 2022-03-09 18:31:10 +01:00
Federico Cergol
b4c5ef8527 feat: add authorized user authenticator 2022-03-05 16:31:12 +01:00
Lewin Bormann
4b414ca775 Minor fix in doc test: Publish v6.3.1 2022-02-24 13:43:10 +01:00
Lewin Bormann
6aca7fbae5 for #169: also fix a doc test 2022-02-24 13:42:09 +01:00
Lewin Bormann
3e6d260e97 Publish version v6.3.0 2022-02-24 13:38:11 +01:00
Lewin Bormann
48ea463204 Merge pull request #169 from cataggar/spectre
more #[cfg(feature = "service_account")]
2022-02-24 13:36:25 +01:00
Lewin Bormann
92fd0861d5 for #169: add builds without service_account to GitHub Actions matrix 2022-02-24 13:35:55 +01:00
Cameron Taggart
eb2d09870b more #[cfg(feature = "service_account")] 2022-02-24 07:23:09 -05:00
Lewin Bormann
4095db3b3e Fix typo in github actions configuration for #168 2022-02-22 20:20:49 +01:00
Lewin Bormann
43e31e3c32 Update feature matrix for github test action configuration for #168 2022-02-22 20:16:38 +01:00
Lewin Bormann
9b81a7183e Make rustls dependency optional by introducing "service_account" feature
Now, service_account code must be (implicitly) enabled.

Asked for in feature #168
2022-02-22 20:10:39 +01:00
Lewin Bormann
d61ab104e4 Release v6.2.0
Including

* #166 Add ID token support
* #167 feat(helper): add parse_service_account_key() function

Thank you @bjornwein!
2021-12-27 11:21:50 +01:00
Lewin Bormann
65e7fee104 Merge pull request #167 from bjornwein/parse_service_account_key
feat(helper): add parse_service_account_key() function
2021-12-27 11:21:19 +01:00
Lewin Bormann
a7301efd84 Merge pull request #166 from bjornwein/master
Add ID token support
2021-12-26 19:55:47 +01:00
Björn Weinehall
da648e9f39 feat(helper): add parse_service_account_key() function
Add parse_service_account_key() in line with parse_application_secret().
Can be used to e.g. pass the service account key through an env variable.
2021-12-21 11:06:26 +01:00
Björn Weinehall
8829599c8c Amend tests for the ID token field 2021-12-21 10:42:59 +01:00
Björn Weinehall
6e6579ab59 Add ID token support 2021-12-17 16:25:02 +01:00
Glyn Normington
a1250e1728 Recreate token cache if token refresh fails
Fixes https://github.com/dermesser/yup-oauth2/issues/163
2021-12-15 17:49:14 +00:00
Lewin Bormann
2c5205ce32 Add @ingwinlu, @braincow to CONTRIBUTORS 2021-12-02 10:50:52 +01:00
Lewin Bormann
f7e5ff399e Release v6.1.0
containing

- #164: GCP application default credentials. Thank you @ingwinlu,
  @braincow!
2021-12-02 10:48:35 +01:00
Lewin Bormann
6baa6bec40 Merge pull request #164 from ingwinlu/gcp_instance_metadata
(GCP) Default Application Credentials flow/support (rebased and make tests pass)
2021-12-02 08:58:09 +01:00
Lukas Winkler
39c712dfab Remove no longer applicatble TODO's 2021-12-01 13:50:16 +01:00
Lukas Winkler
c7793063e4 Add feature gates where required 2021-11-25 20:01:59 +01:00
Lukas Winkler
7e90b28cf2 Add myself as adc sample author 2021-11-25 19:54:12 +01:00
Lukas Winkler
cd821f575d Make doc tests pass 2021-11-25 19:45:08 +01:00
Lukas Winkler
169e5ff1c0 Allow overriding metadata url used during testing 2021-11-25 19:37:11 +01:00
Lukas Winkler
792cc04694 Extend to provide with_client as well 2021-11-25 17:36:39 +01:00
Lukas Winkler
7818c6a460 Make work with new structure after rebase 2021-11-25 16:45:26 +01:00
Antti Peltonen
921f1c7190 builder pattern for adc struct 2021-11-21 09:57:07 +01:00
Antti Peltonen
7638946508 work started on adc implementation 2021-11-21 09:57:06 +01:00
Lewin Bormann
5d0e431772 Publish v6 2021-09-27 11:45:08 +02:00
Lewin Bormann
2d66e70ac6 Merge pull request #162 from JamesHinshelwood/fix-arbitrary-precision
Add token deserialization workaround
2021-09-26 19:41:50 +02:00
James Hinshelwood
be86791762 Add token deserialization workaround
This fixes token deserialization when the
serde_json/arbitrary_precision feature is enabled.

See https://github.com/serde-rs/json/issues/559 for details.

Co-authored-by: James Hinshelwood <james.hinshelwood@bigpayme.com>
2021-09-15 15:58:09 +01:00