ITempFileLinkProviderCreateSaasAccessTokenAsync - метод
Create access token for SaaS.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
Task<IContentTokenInfo> CreateSaasAccessTokenAsync(
DiscoveryPublishedKey key,
TimeSpan? lifetime = null,
CancellationToken cancellationToken = default
)
Function CreateSaasAccessTokenAsync (
key As DiscoveryPublishedKey,
Optional lifetime As TimeSpan? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IContentTokenInfo)
Task<IContentTokenInfo^>^ CreateSaasAccessTokenAsync(
DiscoveryPublishedKey^ key,
Nullable<TimeSpan> lifetime = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract CreateSaasAccessTokenAsync :
key : DiscoveryPublishedKey *
?lifetime : Nullable<TimeSpan> *
?cancellationToken : CancellationToken
(* Defaults:
let _lifetime = defaultArg lifetime null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IContentTokenInfo>
- 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.
TaskIContentTokenInfoFile content temporary access token.