Skip to main content

auth_layer

Function auth_layer 

Source
pub async fn auth_layer(req: Request<Body>, next: Next) -> Response
Expand description

Tower/axum layer function: consults strategies in config order and stores the first resolved AuthIdentity in request extensions.