TokenRepositoryTryGetByIDAsync - метод

Returns token information by its identifier.

Definition

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

Параметры

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

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

TaskITokenInfo
Token data or if the token was not found.

Реализации

ITokenRepositoryTryGetByIDAsync(String, CancellationToken)

См. также