Skip to main content

signed_in

Function signed_in 

Source
pub fn signed_in(
    state: &AppState,
    headers: &HeaderMap,
    mutating: bool,
) -> Result<String, Box<Response>>
Expand description

Resolves a request to a signed-in session, or the refusal to answer with.

mutating requests must also carry CSRF_HEADER; see crate::operator::OperatorAuth::authorize.