Skip to main content

USER_ID_KEY

Constant USER_ID_KEY 

Source
pub const USER_ID_KEY: &str = "x-user-id";
Expand description

Key used by Session::user_id.

Convenience only — not required. Gateways map authenticated subject claims into this key, or handlers read gateway-specific names via Session::get.