pub(crate) const DEFAULT_SCOPE: &str = "https://www.googleapis.com/auth/cloud-platform";
pub(crate) const GOOGLE_CLOUD_QUOTA_PROJECT_VAR: &str = "GOOGLE_CLOUD_QUOTA_PROJECT";
pub(crate) const TOKEN_EXCHANGE_GRANT_TYPE: &str =
"urn:ietf:params:oauth:grant-type:token-exchange";
#[cfg(feature = "idtoken")]
pub(crate) const JWT_BEARER_GRANT_TYPE: &str = "urn:ietf:params:oauth:grant-type:jwt-bearer";
pub(crate) const STS_TOKEN_URL: &str = "https://sts.googleapis.com/v1/token";
pub(crate) const OAUTH2_TOKEN_SERVER_URL: &str = "https://oauth2.googleapis.com/token";
pub(crate) const ACCESS_TOKEN_TYPE: &str = "urn:ietf:params:oauth:token-type:access_token";
pub(crate) const JWT_TOKEN_TYPE: &str = "urn:ietf:params:oauth:token-type:jwt";
pub(crate) const SAML2_TOKEN_TYPE: &str = "urn:ietf:params:oauth:token-type:saml2";
pub(crate) const ID_TOKEN_TYPE: &str = "urn:ietf:params:oauth:token-type:id_token";
pub(crate) const RETRY_EXHAUSTED_ERROR: &str = "Fetching the token resulted in transient errors. Subsequent calls with this credential might succeed.";
pub(crate) const TOKEN_FETCH_FAILED_ERROR: &str =
"Request to fetch the token failed. Subsequent calls with this credential will also fail.";
pub(crate) const TRUST_BOUNDARY_HEADER: &str = "x-goog-allowed-locations";
pub(crate) const DEFAULT_UNIVERSE_DOMAIN: &str = "googleapis.com";