IAccessTokenGeneratorValidateTokenAsync - метод

Validates the input access token against the alphabet and length constraints of the current generator.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.5+a9a57e1eda0b57f197e0c68d2aa7d7dc95b6c424
C#
ValueTask<bool> ValidateTokenAsync(
	string token,
	CancellationToken cancellationToken = default
)

Параметры

token  String
The access token.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

ValueTaskBoolean
if the token is valid, otherwise .

См. также