TokenActionHistoryStrategyAddTokenActionAsync - метод

Inserts the action history record for an action on the token.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public virtual Task<Guid?> AddTokenActionAsync(
	bool isError,
	string? digest = null,
	string? message = null,
	ActionType? actionType = null,
	Guid? rowID = null,
	Guid? cardID = null,
	Guid? cardTypeID = null,
	string? cardTypeCaption = null,
	IUser? user = null,
	DateTime? modified = null,
	Guid? sessionID = null,
	SessionTokenKind? sessionKind = null,
	Guid? applicationID = null,
	HostInfo? hostInfo = null,
	ITokenInfo? tokenInfo = null,
	string? token = null,
	string? tokenID = null,
	byte[]? tokenHash = null,
	TokenFormat tokenFormat = TokenFormat.Unknown,
	TokenType tokenType = TokenType.Common,
	Dictionary<string, Object?>? actionDetails = null,
	Action<Dictionary<string, Object?>>? modifyActionDetails = null
)

Параметры

isError  Boolean
Indicates if the record contains an error.
digest  String  (Optional)
A brief description of the card or object, or any text associated with the record.
message  String  (Optional)
An additional message displayed in the action.
actionType  ActionType  (Optional)
Тип действия с карточкой для записи в историю действий.
rowID  NullableGuid  (Optional)
The identifier of the history record.
cardID  NullableGuid  (Optional)
The identifier of the card or object.
cardTypeID  NullableGuid  (Optional)
The identifier of the card or object type.
cardTypeCaption  String  (Optional)
The display name of the card or object type.
user  IUser  (Optional)
The user who made the request for the action with the card or another action request in the system.
modified  NullableDateTime  (Optional)
The date hen the card was modified or the date the action was performed in the system.
sessionID  NullableGuid  (Optional)
Сессия (сессионный токен) или токен доступа, в рамках которых выполнялось действие. Может быть , если действие было выполнено вне пределов токена или в старых сборках платформы, не поддерживавших токены в истории действий.
sessionKind  NullableSessionTokenKind  (Optional)
Вид сессии (сессионного токена) или токена доступа, который представляет другой токен, используемый для доступа к системным ресурсам. Может быть , если действие было выполнено вне пределов токена или в старых сборках платформы, не поддерживавших токены в истории действий.
applicationID  NullableGuid  (Optional)
The application identifier recorded in the history.
hostInfo  NullableHostInfo  (Optional)
Информация об устройстве, с которого выполнено обращение к компонентам платформы.
tokenInfo  ITokenInfo  (Optional)
An object containing information about token.
token  String  (Optional)
The access token.
tokenID  String  (Optional)
The identifier of the token.
tokenHash  Byte  (Optional)
The hash of the token.
tokenFormat  TokenFormat  (Optional)
Token storage format.
tokenType  TokenType  (Optional)
Type of token to access the resource.
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.

Реализации

ITokenActionHistoryStrategyAddTokenActionAsync(Boolean, String, String, ActionType, NullableGuid, NullableGuid, NullableGuid, String, IUser, NullableDateTime, NullableGuid, NullableSessionTokenKind, NullableGuid, NullableHostInfo, ITokenInfo, String, String, Byte, TokenFormat, TokenType, DictionaryString, Object, ActionDictionaryString, Object)

См. также