C# Класс BuildIt.Bot.Client.DirectLinkApi.Extensions.TokensExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GenerateTokenForNewConversation ( this operations ) : string
GenerateTokenForNewConversationAsync ( this operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
RenewToken ( this operations, string conversationId ) : string
RenewTokenAsync ( this operations, string conversationId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task

Описание методов

GenerateTokenForNewConversation() публичный статический Метод

public static GenerateTokenForNewConversation ( this operations ) : string
operations this /// Reference to the DirectLinkApi.ITokens. ///
Результат string

GenerateTokenForNewConversationAsync() публичный статический Метод

public static GenerateTokenForNewConversationAsync ( this operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the DirectLinkApi.ITokens. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
Результат Task

RenewToken() публичный статический Метод

public static RenewToken ( this operations, string conversationId ) : string
operations this /// Reference to the DirectLinkApi.ITokens. ///
conversationId string /// Required. ///
Результат string

RenewTokenAsync() публичный статический Метод

public static RenewTokenAsync ( this operations, string conversationId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the DirectLinkApi.ITokens. ///
conversationId string /// Required. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
Результат Task