Skip to main content

check_auth

Function check_auth 

Source
pub async fn check_auth(
    state: &AuthState,
    req: &Request,
) -> Result<(), AuthRejection>
Expand description

Core authentication check, shared by both middleware variants.