Taal

IExtendedUserTokenProvider.GetTokenStatusAsync Methode

Definitie

Haalt de tokenstatus op voor elke geconfigureerde verbinding voor de betreffende gebruiker, met behulp van aangepaste AppCredentials.

public System.Threading.Tasks.Task<Microsoft.Bot.Schema.TokenStatus[]> GetTokenStatusAsync(Microsoft.Bot.Builder.ITurnContext context, Microsoft.Bot.Connector.Authentication.AppCredentials oAuthAppCredentials, string userId, string includeFilter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTokenStatusAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Connector.Authentication.AppCredentials * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.TokenStatus[]>
Public Function GetTokenStatusAsync (context As ITurnContext, oAuthAppCredentials As AppCredentials, userId As String, Optional includeFilter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TokenStatus())

Parameters

context
ITurnContext

Context voor de huidige beurt van gesprek met de gebruiker.

oAuthAppCredentials
AppCredentials

AppCredentials voor OAuth.

userId
String

De gebruikers-ID waarvoor de tokenstatus wordt opgehaald.

includeFilter
String

Optionele komma-gescheiden lijst van verbindingen om op te nemen. Leeg retourneert de tokenstatus voor alle geconfigureerde verbindingen.

cancellationToken
CancellationToken

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

Retouren

Array van TokenStatus.

Van toepassing op