TokenInfoBuilder - класс

A builder class to facilitate the creation of ITokenInfo objects. It allows for the step-by-step configuration of token properties.

Definition

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

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

TokenInfoBuilder A builder class to facilitate the creation of ITokenInfo objects. It allows for the step-by-step configuration of token properties.

Методы

BuildAsync Builds the final ITokenInfo.
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)
ToStringReturns a string that represents the current object.
(Унаследован от Object)
WithCreated Add the creation date and time of the token to builder.
WithCreator Add the identifier of the employee who created the token to builder.
WithDescription Add a description of the token to builder.
WithExpiration Add the expiration date and time of the token to builder.
WithFormat Add the token storage format to builder.
WithIdentifier Add the identifier of the token to builder.
WithLifetime Add the lifetime of the token to builder.
WithOptions Add additional information by the token to builder.
WithReference Add the identifier of the resource for which the token was created to builder.
WithScope Add the scope of the token to builder.
WithType Add the token resource type to builder.
WithUser Add the identifier of the user for whom the token was created to builder.

См. также