mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-20 01:00:59 +01:00
Also feature-gate doc test for #170
This commit is contained in:
@@ -363,6 +363,7 @@ where
|
||||
|
||||
/// Create an authenticator that uses an authorized user credentials.
|
||||
/// ```
|
||||
/// # #[cfg(any(feature = "hyper-rustls", feature = "hyper-tls"))]
|
||||
/// # async fn foo() {
|
||||
/// # use yup_oauth2::authenticator::AuthorizedUserAuthenticator;
|
||||
/// # let secret = yup_oauth2::read_authorized_user_secret("/tmp/foo").await.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user