Skip to main content

cookie_value

Function cookie_value 

Source
pub fn cookie_value(user_id: &impl Serialize) -> String
Expand description

The signed cookie value for a remembered user id (its JSON encoding, so it round-trips back to AuthUser::Id).