C# Class BuildIt.Bot.Client.DirectLinkApi.Extensions.TokensExtensions

Mostrar archivo Open project: builttoroam/BuildIt

Public Methods

Method Description
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

Method Details

GenerateTokenForNewConversation() public static method

public static GenerateTokenForNewConversation ( this operations ) : string
operations this /// Reference to the DirectLinkApi.ITokens. ///
return string

GenerateTokenForNewConversationAsync() public static method

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. ///
return Task

RenewToken() public static method

public static RenewToken ( this operations, string conversationId ) : string
operations this /// Reference to the DirectLinkApi.ITokens. ///
conversationId string /// Required. ///
return string

RenewTokenAsync() public static method

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. ///
return Task