TempFileLinkProvider - конструктор

Provider for creation file and file version temporary access tokens and accessing its content.
Makes no permission check. Use it if you are absolutely sure it's safe to do.

Definition

Пространство имён: Tessa.Content.Files
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public TempFileLinkProvider(
	IDbScope dbScope,
	ISession session,
	ICardCache cardCache,
	ITokenRepositoryCached tokenRepositoryCached,
	TokenInfoBuilderFactory tokenInfoBuilderFactory,
	ICardStreamServerRepository cardStreamServerRepository,
	IFormattingSettingsCache formattingSettingsCache,
	ICardServerPermissionsProvider cardServerPermissionsProvider,
	IFileContentActionHistoryStrategy contentHistoryStrategy
)

Параметры

dbScope  IDbScope
Объект для взаимодействия с базой данных. Определяет область видимости объекта DbManager.
session  ISession
Сессия пользователя.
cardCache  ICardCache
Потокобезопасный кэш с карточками и дополнительными настройками.
tokenRepositoryCached  ITokenRepositoryCached
Repository for working with tokens.
tokenInfoBuilderFactory  TokenInfoBuilderFactory
Factory class to create instances of TokenInfoBuilder with predefined configurations.
cardStreamServerRepository  ICardStreamServerRepository
Репозиторий для потокового управления карточками на сервере.
formattingSettingsCache  IFormattingSettingsCache
Кэш, предоставляющий информацию по доступным настройкам форматирования IFormattingSettings. Возвращаемые объекты доступны только для чтения.
cardServerPermissionsProvider  ICardServerPermissionsProvider
Объект, предоставляющий права доступа в соответствии с активной системой прав. Например, для типового решения предоставляет токен KrToken с полным набором прав.
contentHistoryStrategy  IFileContentActionHistoryStrategy
Strategy for managing action history for file content access tokens.

См. также