Enum MaskingType
Kinds of mask that can be applied to a string value before it leaves the server: generic types first, then the types predefined for common formats.
public enum MaskingType
Fields
Card number: only the last 4 digits stay visible, separators are kept.
E-mail address: the first character of the local part and the domain stay visible.
Every character is masked. The length is kept.
IBAN: the country code and the last 4 characters stay visible, spaces are kept.
No mask: the value is sent as is.
A prefix and a suffix of configurable lengths stay visible, the rest is masked.
Every character is masked and the length is hidden: the value is always replaced by the same fixed-length mask.
Phone number: only the last 2 digits stay visible, separators are kept.
Only the parts designated by a regular expression stay visible, the rest is masked.