pub async fn inner_auth<B>( user_provider: Option<UserProviderRef>, req: Request<B>, ) -> Result<Request<B>, Response>