TokenInfo - класс

An object containing information about token.

Definition

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

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

TokenInfo(String, String, TokenFormat, DateTime, DateTime, String) An object containing information about token.
TokenInfo(String, String, TokenFormat, DateTime, DateTime, TokenOptions) 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.
OptionsJson 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)

См. также