pub fn validate_in_context( payload: &str, context: InjectionContext, ) -> Result<(), ContextualEncodeError>