IApiAccessTokenProvider - интерфейс

Provider of API access tokens.

Definition

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

Методы

CreateTokenAsync Creates the object with information about token and stores it.
TryDeleteTokenAsync Deletes the token data for specified hash.
TryGetSessionTokenAsync Retrieves session token object for API access token.
TryGetTokenAsync Retrieves the token by its hash.
TryGetTokensAsync Retrieves the collection of token data for specified filter any.
ValidateAndGetSessionTokenAsync Validates the token data against a specified scope and host information, and retrieves session token object with actual information for API access token. Also updates last activity date for token.
ValidateTokenAsync Validates the token data against a specified scope and host information.

См. также