#![allow(unexpected_cfgs)]
#[cfg(all(
feature = "id-token-verify",
not(any(
feature = "jwt-aws-lc-rs",
feature = "jwt-rust-crypto",
feature = "jwt-custom-provider"
))
))]
compile_error!(
"the `id-token-verify` feature needs a jsonwebtoken crypto provider: enable `jwt-aws-lc-rs` \
or `jwt-rust-crypto`, or `jwt-custom-provider` when the application installs its own"
);
mod apis;
pub use apis::*;
#[cfg(feature = "axum")]
mod axum_layer;
#[cfg(feature = "axum")]
pub use axum_layer::{VerifyIdToken, VerifyIdTokenLayer};
mod adc;
mod auth_headers;
pub mod error;
mod id_token;
#[cfg(feature = "id-token-verify")]
pub mod id_token_verify;
#[cfg(feature = "id-token-verify")]
mod jwt_crypto;
mod metadata;
pub use auth_headers::GoogleAuthHeaders;
pub use id_token::{IdTokenAudience, ServiceAccountEmail};
pub use middleware::GoogleAuthMiddlewareLayer;
mod api_client;
pub use api_client::*;
mod middleware;
mod request_timeouts;
pub use request_timeouts::{RequestTimeoutElapsed, RequestTimeouts};
#[cfg(feature = "reqwest-middleware")]
mod reqwest_auth_middleware;
#[cfg(feature = "reqwest-middleware")]
pub use reqwest_auth_middleware::GoogleAuthReqwestMiddleware;
#[cfg(test)]
mod test_support;
pub mod proto_ext;
pub const GCLOUD_SDK_USER_AGENT: &str = concat!("gcloud-sdk-rs/v", env!("CARGO_PKG_VERSION"));
pub use google_cloud_auth;
pub use hyper::HeaderMap;
pub use prost;
pub use prost_types;
pub use secret_vault_value::SecretValue;
pub use tonic;