Module: Ingenico::Connect::SDK::Logging::LoggingUtil
- Defined in:
- lib/ingenico/connect/sdk/logging/logging_util.rb
Constant Summary collapse
- @@PROPERTY_OBFUSCATOR =
Deprecated.
This constant shouldn’t have been exposed
PropertyObfuscator.builder .with_keep_end_count("cardNumber", 4) .with_keep_end_count("expiryDate", 2) .with_all("cvv") .with_keep_end_count("iban", 4) .with_keep_end_count("accountNumber", 4) .with_keep_end_count("reformattedAccountNumber", 4) .with_keep_start_count("bin", 6) .with_all("value") .with_fixed_length("keyId", 8) .with_fixed_length("secretKey", 8) .with_fixed_length("publicKey", 8) .with_fixed_length("userAuthenticationToken", 8) .with_fixed_length("encryptedPayload", 8) .with_fixed_length("decryptedPayload", 8) .with_fixed_length("encryptedCustomerInput", 8) .build
- @@HEADER_OBFUSCATOR =
Deprecated.
This constant shouldn’t have been exposed
HeaderObfuscator.builder .with_fixed_length("Authorization", 8) .with_fixed_length("WWW-Authenticate", 8) .with_fixed_length("Proxy-Authenticate", 8) .with_fixed_length("Proxy-Authorization", 8) .with_fixed_length("X-GCS-Authentication-Token", 8) .with_fixed_length("X-GCS-CallerPassword", 8) .build
Class Method Summary collapse
-
.obfuscate_body(body) ⇒ Object
deprecated
Deprecated.
This doesn’t support custom obfuscation. Use BodyObfuscator instead
-
.obfuscate_header(name, value) ⇒ Object
deprecated
Deprecated.
This doesn’t support custom obfuscation. Use HeaderObfuscator instead
Class Method Details
.obfuscate_body(body) ⇒ Object
Deprecated.
This doesn’t support custom obfuscation. Use BodyObfuscator instead
306 307 308 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 306 def self.obfuscate_body(body) return Obfuscation::BodyObfuscator.default_obfuscator.obfuscate_body(body) end |
.obfuscate_header(name, value) ⇒ Object
Deprecated.
This doesn’t support custom obfuscation. Use HeaderObfuscator instead
313 314 315 |
# File 'lib/ingenico/connect/sdk/logging/logging_util.rb', line 313 def self.obfuscate_header(name, value) return Obfuscation::HeaderObfuscator.default_obfuscator.obfuscate_header(name, value) end |