pub async fn auth_middleware(
__arg0: State<AuthState>,
request: Request,
next: Next,
) -> Result<impl IntoResponse, (StatusCode, Json<ApiError>)>Expand description
Authentication middleware.
pub async fn auth_middleware(
__arg0: State<AuthState>,
request: Request,
next: Next,
) -> Result<impl IntoResponse, (StatusCode, Json<ApiError>)>Authentication middleware.