ITokenRepositoryTryGetByIDAsync - метод

Returns token information by its identifier.

Definition

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

См. также