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

3.31.0

Compare
Choose a tag to compare
@IngenicoEPayments IngenicoEPayments released this 31 May 14:29
· 17 commits to master since this release
  • Added:
    • Allow custom obfuscation rules to be specified through classes BodyObfuscator and HeaderObfuscator. These can be set on instances of Client, Communicator or DefaultConnection. Custom rules should be defined as functions that take the value to obfuscate, and return the obfuscated value.
    • The constructors of class LogMessage and its sub classes now take an optional BodyObfuscator and HeaderObfuscator.
    • Added new module ingenico.connect.sdk.log.obfuscation_rule with functions obfuscate_all, obfuscate_with_fixed_length, obfuscate_all_but_first and obfuscate_all_but_last that provide some pre-defined obfuscation rules.
  • Deprecated:
    • Deprecated the functions of class LoggingUtil in favor of BodyObfuscator and HeaderObfuscator instances.