Jaa


OAuthInput.SignOutUserAsync(DialogContext, CancellationToken) Method

Definition

Signs out the user.

public System.Threading.Tasks.Task SignOutUserAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dc, System.Threading.CancellationToken cancellationToken = default);
member this.SignOutUserAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SignOutUserAsync (dc As DialogContext, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

dc
DialogContext

DialogContext for the current turn of conversation with the user.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

A task that represents the work queued to execute.

Applies to