feat: OpenAICompatibleOAuthProvider (config-driven OAuthProvider impl)

This commit is contained in:
2026-07-20 12:55:30 -06:00
parent 68177fdb6a
commit 66bbb34d7f
7 changed files with 105 additions and 11 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ impl OAuthProvider for GeminiOAuthProvider {
""
}
fn scopes(&self) -> &str {
"https://www.googleapis.com/auth/generative-language.peruserquota https://www.googleapis.com/auth/generative-language.retriever https://www.googleapis.com/auth/userinfo.email"
fn scopes(&self) -> String {
"https://www.googleapis.com/auth/generative-language.peruserquota https://www.googleapis.com/auth/generative-language.retriever https://www.googleapis.com/auth/userinfo.email".to_string()
}
fn client_secret(&self) -> Option<&str> {