We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7775140 commit 77dbe98Copy full SHA for 77dbe98
rust/cubesql/cubesql/src/sql/auth_service.rs
@@ -9,7 +9,7 @@ use serde_json::Value;
9
pub trait AuthContext: Debug + Send + Sync {
10
fn as_any(&self) -> &dyn Any;
11
12
- fn user(&self) -> Option<String>;
+ fn user(&self) -> Option<&String>;
13
14
fn security_context(&self) -> Option<&serde_json::Value>;
15
}
@@ -27,7 +27,7 @@ impl AuthContext for HttpAuthContext {
27
self
28
29
30
- fn user(&self) -> Option<String> {
+ fn user(&self) -> Option<&String> {
31
None
32
33
0 commit comments