Inheritance
HeaderObfuscator.Builder
Namespace: Worldline.Connect.Sdk.Logging
Assembly: Worldline.Connect.Sdk.dll
public class HeaderObfuscator.Builder
Methods
Declaration
public HeaderObfuscator Build()
Returns
Adds an obfuscation rule that will replace all characters with *.
Declaration
public HeaderObfuscator.Builder ObfuscateAll(string headerName)
Parameters
Type |
Name |
Description |
string |
headerName |
|
Returns
Adds an obfuscation rule that will keep a fixed number of characters at the start,
then replaces all other characters with *.
Declaration
public HeaderObfuscator.Builder ObfuscateAllButFirst(int count, string headerName)
Parameters
Type |
Name |
Description |
int |
count |
|
string |
headerName |
|
Returns
Adds an obfuscation rule that will keep a fixed number of characters at the end,
then replaces all other characters with *.
Declaration
public HeaderObfuscator.Builder ObfuscateAllButLast(int count, string headerName)
Parameters
Type |
Name |
Description |
int |
count |
|
string |
headerName |
|
Returns
Adds a custom, non-null obfuscation rule.
Declaration
public HeaderObfuscator.Builder ObfuscateCustom(string headerName, ObfuscationRule obfuscationRule)
Parameters
Returns
Adds an obfuscation rule that will replace values with a fixed length string containing only *.
Declaration
public HeaderObfuscator.Builder ObfuscateWithFixedLength(int fixedLength, string headerName)
Parameters
Type |
Name |
Description |
int |
fixedLength |
|
string |
headerName |
|
Returns