TokenHelperMaskToken - метод
Masks the access token in the format: XXX...XXX,
where XXX represents the first and last token symbols.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
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
- The access token to be masked.
- unmaskedPartLength Int32 (Optional)
- The length of the unmasked portion at the beginning and end of the token.
StringThe masked token.