IApiAccessTokenActionHistoryStrategyCreateApiAccessTokenActionAsync - метод

Inserts the action history record for creating an API access token.

Definition

Пространство имён: Tessa.Tokens.Api
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
Task<Guid?> CreateApiAccessTokenActionAsync(
	bool isError,
	string? message = null,
	string? details = null,
	ITokenInfo? tokenInfo = null,
	Dictionary<string, Object?>? actionDetails = null,
	Action<Dictionary<string, Object?>>? modifyActionDetails = null
)

Параметры

isError  Boolean
Indicates if the record contains an error.
message  String  (Optional)
An additional message displayed in the action.
details  String  (Optional)
An additional detailed message displayed with message.
tokenInfo  ITokenInfo  (Optional)
An object containing information about token.
actionDetails  DictionaryString, Object  (Optional)
The details of the token for the action history record.
modifyActionDetails  ActionDictionaryString, Object  (Optional)
An action to modify the details before it is recorded in the action history.

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

TaskNullableGuid
The identifier of the successfully added history record, or if the operation failed.

См. также