AvatarContentTokenProviderTryGetTokenAsync - метод

Retrieves the information about an existing token token that has not expired, or if such a token was not found.

Definition

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

Параметры

token  String
The access token.
validationResult  IValidationResultBuilder
Объект, выполняющий построение результата валидации.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskITokenInfo
The token information as ITokenInfo that can be used to access content, or if the token does not exist or has expired.

Реализации

IAvatarContentTokenProviderTryGetTokenAsync(String, IValidationResultBuilder, CancellationToken)

См. также