TokenRepositoryCachedTryGetByHashAsync - метод

Returns token information by its hash.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public override Task<ITokenInfo?> TryGetByHashAsync(
	byte[] hash,
	CancellationToken cancellationToken = default
)

Параметры

hash  Byte
The token hash.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskITokenInfo
Token data or if the token was not found.

Реализации

ITokenRepositoryTryGetByHashAsync(Byte, CancellationToken)
ITokenRepositoryTryGetByHashAsync(Byte, CancellationToken)

См. также