Delen via


IExtendedUserTokenProvider.SignOutUserAsync Methode

Definitie

De gebruiker afmeldt bij de tokenserver met behulp van aangepaste AppCredentials.

public System.Threading.Tasks.Task SignOutUserAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Connector.Authentication.AppCredentials oAuthAppCredentials, string connectionName = default, string userId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SignOutUserAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Connector.Authentication.AppCredentials * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SignOutUserAsync (turnContext As ITurnContext, oAuthAppCredentials As AppCredentials, Optional connectionName As String = Nothing, Optional userId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

turnContext
ITurnContext

Context voor de huidige wending van het gesprek met de gebruiker.

oAuthAppCredentials
AppCredentials

AppCredentials voor OAuth.

connectionName
String

Naam van de verificatieverbinding die moet worden gebruikt.

userId
String

Gebruikers-id van de gebruiker die zich moet afmelden.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om een kennisgeving van annulering te ontvangen.

Retouren

Een taak die het werk vertegenwoordigt dat in de wachtrij staat om uit te voeren.

Van toepassing op