TokenInfoBuilderFactoryCreate(TokenFormat, TokenType, TokenScope, String, DateTime, DateTime, String) - метод
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public TokenInfoBuilder Create(
TokenFormat format,
TokenType type,
TokenScope scope,
string description,
DateTime created,
DateTime expires,
string? id = null
)
Public Function Create (
format As TokenFormat,
type As TokenType,
scope As TokenScope,
description As String,
created As DateTime,
expires As DateTime,
Optional id As String = Nothing
) As TokenInfoBuilder
public:
TokenInfoBuilder^ Create(
TokenFormat format,
TokenType type,
TokenScope^ scope,
String^ description,
DateTime created,
DateTime expires,
String^ id = nullptr
)
member Create :
format : TokenFormat *
type : TokenType *
scope : TokenScope *
description : string *
created : DateTime *
expires : DateTime *
?id : string
(* Defaults:
let _id = defaultArg id null
*)
-> TokenInfoBuilder
- format TokenFormat
Token storage format.
- type TokenType
Type of token to access the resource.
- scope TokenScope
The token scope.
- description String
A description of the token.
- created DateTime
The creation date and time of the token.
- expires DateTime
The expiration date and time of the token.
- id String (Optional)
The identifier of the token.
TokenInfoBuilderA new
TokenInfoBuilder with the specified parameters.