ITokenRepository - интерфейс

Repository for working with tokens.

Definition

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

Методы

AddTokenAsync Adds new token information.
DeleteExpiredTokensAsync Deletes the information for the expired tokens.
TryDeleteByHashAsync Deletes the token information by its hash.
TryDeleteByIDAsync Deletes the token information by its identifier.
TryDeleteByTokenAsync Deletes the token information for given token.
TryGetByHashAsync Returns token information by its hash.
TryGetByIDAsync Returns token information by its identifier.
TryGetByTokenAsync Returns token information for given token.
TryGetTokensAsync Returns a collection of token information based on the filter criteria.

См. также