pub fn validate_token_and_namespace( api_key: &str, requested_namespace: &str, state: &AppState, ) -> Result<Claims, ServerError>
Validate the token and check namespace access