Function validate_session

Source
pub async fn validate_session(
    client_session: Session,
    pool: &Pool<Postgres>,
) -> ValidatedSessionReturn<'_>
Expand description

validate_session will check the session stored in the current actix_session this will be valid if generate_session was call prior and set up a auth session. Assuming the auth session is not invalid