bearer_auth

Function bearer_auth 

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

axum middleware:Bearer Token + scope 校验