Base58AccessTokenGeneratorValidateTokenAsync - метод

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

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
public 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 .

Реализации

IAccessTokenGeneratorValidateTokenAsync(String, CancellationToken)

См. также