OAuthFlow.SignOutAsync<TActivity> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sign the user out, revoking their token from the Bot Framework Token Store.
public System.Threading.Tasks.Task SignOutAsync<TActivity>(Microsoft.Teams.Apps.Context<TActivity> context, System.Threading.CancellationToken cancellationToken = default) where TActivity : Microsoft.Teams.Apps.Schema.TeamsActivity;
member this.SignOutAsync : Microsoft.Teams.Apps.Context<'Activity (requires 'Activity :> Microsoft.Teams.Apps.Schema.TeamsActivity)> * System.Threading.CancellationToken -> System.Threading.Tasks.Task (requires 'Activity :> Microsoft.Teams.Apps.Schema.TeamsActivity)
Public Function SignOutAsync(Of TActivity As TeamsActivity) (context As Context(Of TActivity), Optional cancellationToken As CancellationToken = Nothing) As Task
Type Parameters
- TActivity
The activity type.
Parameters
- context
- Context<TActivity>
The current turn context.
- cancellationToken
- CancellationToken
A cancellation token.