TokenInfo(String, String, TokenFormat, DateTime, DateTime, TokenOptions) - конструктор
An object containing information about token.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
public TokenInfo(
string? token,
string id,
TokenFormat format,
DateTime created,
DateTime expires,
TokenOptions? options = null
)
Public Sub New (
token As String,
id As String,
format As TokenFormat,
created As DateTime,
expires As DateTime,
Optional options As TokenOptions = Nothing
)
public:
TokenInfo(
String^ token,
String^ id,
TokenFormat format,
DateTime created,
DateTime expires,
TokenOptions^ options = nullptr
)
new :
token : string *
id : string *
format : TokenFormat *
created : DateTime *
expires : DateTime *
?options : TokenOptions
(* Defaults:
let _options = defaultArg options null
*)
-> TokenInfo
Параметры
- token String
The access token.
- id String
The access token.
- format TokenFormat
Token storage format.
- created DateTime
The creation date and time of the token.
- expires DateTime
The expiration date and time of the token.
- options TokenOptions (Optional)
Additional information by the token.
Parameters
created and
expires truncated due to
DBMS datetime rounding at store algorithm which could lead to invalid token signatures: