ApiAccessTokenHelper - класс

Helper for API content.

Definition

Пространство имён: Tessa.Tokens.Api
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public static class ApiAccessTokenHelper
Inheritance
Object    ApiAccessTokenHelper

Методы

GetExpiresDate Calculates the expiration date of an API access token based on its creation and valid-to times. If no valid-to time is provided, it defaults to a 3-year lifetime from the creation date. The time is set to 23:59:59 UTC on the expiration day.
GetLanguageCaptionByIDAsync Retrieves the caption of a language associated with a given language identifier.
GetLanguageCodeByIDAsync Retrieves the language code associated with a given language identifier.
GetTimeZoneNameByIDAsync Retrieves the time zone short name associated with a given time zone identifier.
GetTimeZoneUtcOffsetByIDAsync Retrieves the UTC offset in minutes for a given time zone identifier.

Поля

ActionHistoryFilterKey The key for storing the filter in an action history record.
ActionHistoryLanguageIDKey The key for storing the language identifier in an action history record.
ActionHistorySubnetKey The key for storing the subnet in an action history record.
ActionHistoryTimeZoneIDKey The key for storing the time zone identifier in an action history record.

См. также