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

Afficher le fichier Open project: builttoroam/BuildIt

Méthodes publiques

Méthode 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 méthode

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

GenerateTokenForNewConversationAsync() public static méthode

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. ///
Résultat Task

RenewToken() public static méthode

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

RenewTokenAsync() public static méthode

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. ///
Résultat Task