IAccessTokenProviderResolverTryResolveAsync - метод

Returns an access token provider for the specified type, or if no provider is found.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
ValueTask<IAccessTokenProvider> TryResolveAsync(
	string type,
	CancellationToken cancellationToken = default
)

Параметры

type  String
The token type for which provider is requested.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskIAccessTokenProvider
IAccessTokenProvider for the specified type, or if no provider is found.

См. также