auth_middleware

Function auth_middleware 

Source
pub async fn auth_middleware(
    __arg0: State<AuthState>,
    req: Request<Body>,
    next: Next,
) -> Response
Expand description

Authentication middleware function