Commit Graph

177 Commits

Author SHA1 Message Date
Lewin Bormann
1c6f9a7d56 Release v8.1.0
Includes #188, #190. Updates some dependencies - API is stable, thus no
major release.
2022-12-02 21:20:26 +01:00
Dirkjan Ochtman
c51c7e636f Update dependencies 2022-11-25 07:56:08 -08:00
Lewin Bormann
78b79cf92c Remove very outdated service_account example 2022-10-27 20:49:28 +02:00
Lewin Bormann
10daabf66c Release v8.0.0
Includes new features from #186 #185 #184 #183 - thus a new release

Thanks to @blogle @chrisderock @luketpeterson @jneem
2022-10-27 20:22:44 +02:00
Joe Neeman
e907226c3c Implement service account impersonation. 2022-10-17 16:23:19 -05:00
Lewin Bormann
dcc35ac2e0 Release v7.0.1 2022-06-19 17:49:03 -07:00
Lewin Bormann
24f91d697c Release v7.0.0
for #177 including #178: Update Authenticator to accept clients with custom connectors
2022-05-27 11:16:31 -07:00
Kyle Gentle
c76ae18224 feat(Authenticator client): Accept custom connectors
Update Authenticator to accept clients with custom connectors, rather
than depending on the sealed hyper::client::connect::Connect trait, as recommended by hyper: https://docs.rs/hyper/0.13.8/src/hyper/client/connect/mod.rs.html#256-258

Closes #177.
2022-05-22 16:29:02 -04:00
Lewin Bormann
253528a1fe Bump version to 6.7
Includes #176 and #174
2022-05-21 12:27:53 -07: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
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
3797ff773a Release v6.4.0
Includes #172
2022-03-20 09:20:50 +01:00
Sarah Bird
2128772d88 Replace chrono with time 2022-03-11 19:39:11 -06:00
Lewin Bormann
4b414ca775 Minor fix in doc test: Publish v6.3.1 2022-02-24 13:43:10 +01:00
Lewin Bormann
3e6d260e97 Publish version v6.3.0 2022-02-24 13:38:11 +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
f7e5ff399e Release v6.1.0
containing

- #164: GCP application default credentials. Thank you @ingwinlu,
  @braincow!
2021-12-02 10:48:35 +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
Simonas Kazlauskas
469f045247 Use a test matrix to test feature combinations 2021-06-29 14:07:53 +03:00
Simonas Kazlauskas
dd004fed3c Implement an ability to work without default client 2021-06-29 13:30:40 +03:00
Simonas Kazlauskas
d385601433 --all-features and --no-default-features
This adjusts the code and documentation for `--all-features` and
`--no-default-features` to work correctly. With `--no-default-features`
no `DefaultAuthenticator` is made available. Users are in control of
picking the `Connector` they want to use, and are not forced to stomach
a dependency on `rustls` or `hyper-tls` if their TLS implementation of
choice doesn't happen to match one of the two.

To indicate this, the unstable `doc_cfg` feature is used to build
documentation on docs.rs. That way the generated documentation has
notices on these types that look as such:

> This is supported on crate features hyper-rustls or hyper-tls only.

Additionally this functionality is tested via additional coverage in the
Actions' CI.
2021-06-29 12:57:57 +03:00
Lewin Bormann
e63aa4b843 Merge pull request #146 from djrodgerspryor/custom_storage_options
Custom token storage
2021-04-01 22:53:36 +02:00
Lewin Bormann
376de2aa8c Release v5.1.0
Now, Authenticator can be cloned. #133 #151
2021-03-06 10:23:01 +01:00
Lewin Bormann
e3b2509753 Make drive_example compile and add warning 2021-03-04 11:40:36 +01:00
Daniel Rodgers-Pryor
5ef498f801 Custom token storage
Allow users to build their own token storage system by implementing the `TokenStorage` trait. This allows use of more secure storage mechanisms like OS keychains, encrypted files, or secret-management tools.

Custom storage providers are Box-ed to avoid adding more generics to the API — the indirection cost will only apply if using a custom store.

I've added `anyhow` to allow easy handling of a wide range of errors from custom storage providers.
2021-02-06 22:59:00 +11:00
Lewin Bormann
00574f278b Release v5.0.3
for #147 / #144
2021-02-05 09:03:53 +01:00
Lyon Beckers
5b1facf7a0 Merge branch 'master' of https://github.com/lyonbeckers/yup-oauth2 into option_hyper_tls 2021-02-01 07:18:48 -07:00
Lyon Beckers
26db4b6efc introduced a feature which allows the use of hyper-tls instead of hyper-rustls 2021-01-29 16:58:06 -07:00
Lewin Bormann
75e402412f Release v5.0.2
Includes fix to #141
2021-01-29 21:47:05 +01:00
Lewin Bormann
afec480587 Release v5.0.1 with stable Tokio 2020-12-29 08:39:58 +01:00
Lewin Bormann
864f918496 Merge pull request #138 from maximebedard/bump-tokio-0-3
Bump to tokio 1.0 and hyper 0.14
2020-12-27 09:05:14 +01:00
Maxime Bedard
07bc4803c0 update hyper-rustls to 0.22 2020-12-26 19:30:43 -05:00
Maxime Bedard
63b185b711 use released version of httptest 2020-12-24 16:37:35 -05:00
Maxime Bedard
ec28689080 bump hyper=0.14, tokio=1.0, hyper-rustls, httptest 2020-12-24 09:31:18 -05:00
Michael Kefeder
adc99a10ec example showing howto implement a custom flow, here opening the
default webbrowser with the oauth2 URL for the installed flow.
2020-11-16 09:52:08 +01:00
Maxime Bedard
4026d92cf6 Bump to tokio 0.3 and hyper 0.14 2020-11-12 20:31:19 -05:00
Lewin Bormann
2f50876002 Release v4.1.3 2020-10-27 11:11:33 +01:00
Lewin Bormann
4660676073 Revert "Upgrade tokio -> 0.3: Bump version to v5.0.0"
This reverts commit e07bc6f471.

Hyper and tokio 0.3 don't work together yet.
2020-10-20 17:47:39 +02:00
Lewin Bormann
e07bc6f471 Upgrade tokio -> 0.3: Bump version to v5.0.0 2020-10-20 16:28:46 +02:00
Lewin Bormann
55a8984c81 Another slight update to README 2020-10-18 22:42:14 +02:00
Lewin Bormann
3221e8986a chore(version): Publish v4.1.2 2020-05-01 20:36:01 +02:00
George Hahn
4b1262933b Update dependencies 2020-05-01 11:52:23 -05:00
Lewin Bormann
6fe83abf61 chore(version): release 4.1.1 for #127
fixes #128
2020-04-29 18:16:07 +02:00
Abdul Rehman
09d1f05a00 feat: Use futures-aware mutex 2020-04-06 15:31:49 +05:00