TokenInfoBuilderFactoryCreate(TokenFormat, TokenType, TokenScope, String, DateTime, DateTime, String) - метод

Creates a TokenInfoBuilder with the specified token parameters.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public TokenInfoBuilder Create(
	TokenFormat format,
	TokenType type,
	TokenScope scope,
	string description,
	DateTime created,
	DateTime expires,
	string? id = null
)

Параметры

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.

Возвращаемое значение

TokenInfoBuilder
A new TokenInfoBuilder with the specified parameters.

См. также