Table of Contents

Enum MaskingType

Namespace
GroupeIsa.Neos.Shared.Masking
Assembly
GroupeIsa.Neos.Shared.dll

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

CreditCard = 5

Card number: only the last 4 digits stay visible, separators are kept.

Email = 7

E-mail address: the first character of the local part and the domain stay visible.

Full = 1

Every character is masked. The length is kept.

Iban = 6

IBAN: the country code and the last 4 characters stay visible, spaces are kept.

None = 0

No mask: the value is sent as is.

Partial = 3

A prefix and a suffix of configurable lengths stay visible, the rest is masked.

Password = 2

Every character is masked and the length is hidden: the value is always replaced by the same fixed-length mask.

Phone = 8

Phone number: only the last 2 digits stay visible, separators are kept.

Regex = 4

Only the parts designated by a regular expression stay visible, the rest is masked.