Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

6.31.0

Compare
Choose a tag to compare
@IngenicoEPayments IngenicoEPayments released this 31 May 14:23
· 19 commits to master since this release
  • Added:
    • Added method setCustomRule to classes BodyObfuscator and HeaderObfuscator to allow custom obfuscation rules to be specified for JSON property and header names without having to create sub classes. Custom rules should be defined as callables that take the value to obfuscate and optionally a ValueObfuscator, and return the obfuscated value. The ValueObfuscator argument allows you to use its methods in your own obfuscation rule.
    • Added setters for BodyObfuscator and HeaderObfuscator instances to classes DefaultConnection, CommunicatorLoggerHelper and HttpObfuscator. These allow custom instances to be easily set without having to create sub classes.