ContentTokenHelperMaskToken - метод
Masks content access token by format: XXX...XXX,
where XXX - first and last token symbols.
Пространство имён: Tessa.ContentСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static string? MaskToken(
string? token,
int unmaskedPartLength = 3
)
Public Shared Function MaskToken (
token As String,
Optional unmaskedPartLength As Integer = 3
) As String
public:
static String^ MaskToken(
String^ token,
int unmaskedPartLength = 3
)
static member MaskToken :
token : string *
?unmaskedPartLength : int
(* Defaults:
let _unmaskedPartLength = defaultArg unmaskedPartLength 3
*)
-> string
- token String
- Content access token.
- unmaskedPartLength Int32 (Optional)
- Length of unmasked symbols at the beginning and at the end of token.
StringMasked token.