From 9cec60bcc405739180e71a014045c86f1c9dd5fb Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 8 Oct 2025 11:26:30 -0500 Subject: [PATCH] Include the RFC in the docs for our `Credentials` variants (#16162) --- crates/uv-auth/src/credentials.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/uv-auth/src/credentials.rs b/crates/uv-auth/src/credentials.rs index 6a778d4de..002565852 100644 --- a/crates/uv-auth/src/credentials.rs +++ b/crates/uv-auth/src/credentials.rs @@ -20,12 +20,14 @@ use uv_static::EnvVars; #[derive(Clone, Debug, PartialEq, Eq)] pub enum Credentials { + /// RFC 7617 HTTP Basic Authentication Basic { /// The username to use for authentication. username: Username, /// The password to use for authentication. password: Option, }, + /// RFC 6750 Bearer Token Authentication Bearer { /// The token to use for authentication. token: Vec,