TokenInfo - класс

An object containing information about token.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class TokenInfo : ITokenInfo, 
	ISealable
Inheritance
Object    TokenInfo
Implements
ISealable, ITokenInfo

Заметки

Parameters created and expires truncated due to DBMS datetime rounding at store algorithm which could lead to invalid token signatures:

Конструкторы

TokenInfo An object containing information about token.

Свойства

Created The creation date and time of the token.
CreatedByID The identifier of the employee who created the token.
Description A description of the token.
Expires The expiration date and time of the token.
Format Token storage format.
Hash The hash of the token.
ID The identifier of the token.
IsSealedПризнак того, что объект был защищён от изменений.
IsVerified Indicates confirmation of the validity of the token.
Options Additional information by the token.
RefID The identifier of the resource for which the token was created.
Scope The token scope.
Token The access token.
Type Type of token to access the resource.
UserID The identifier of the user for whom the token was created.

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
SealЗащищает объект от изменений.
ToStringReturns a string that represents the current object.
(Унаследован от Object)

Методы расширения

IsExpired Returns whether the token has expired.
(Определяется TokenExtensions)
ToAccessToken Converts the token data into an access token.
(Определяется TokenExtensions)

См. также