TempFileLinkProviderCreateSaasAccessTokenAsync - метод

Create access token for SaaS.

Definition

Пространство имён: Tessa.Content.Files
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public Task<IContentTokenInfo> CreateSaasAccessTokenAsync(
	DiscoveryPublishedKey key,
	TimeSpan? lifetime = null,
	CancellationToken cancellationToken = default
)

Параметры

key  DiscoveryPublishedKey
lifetime  NullableTimeSpan  (Optional)
Desired token lifetime. May be null for "infinite" or "undefined" lifetime.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskIContentTokenInfo
File content temporary access token.

Реализации

ITempFileLinkProviderCreateSaasAccessTokenAsync(DiscoveryPublishedKey, NullableTimeSpan, CancellationToken)

См. также