IApiAccessTokenProviderTryDeleteTokenAsync - метод

Deletes the token data for specified hash.

Definition

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

Параметры

hash  Byte
The token hash used to identify the token.
reason  String  (Optional)
Reason for the deletion token.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskNullableGuid
The token identifier of the successfully deleted token, otherwise - .

См. также