Share via


UserTokenClient.GetTokenStatusAsync Method

Definition

Retrieves the token status for each configured connection for the given user.

public abstract System.Threading.Tasks.Task<Microsoft.Bot.Schema.TokenStatus[]> GetTokenStatusAsync (string userId, string channelId, string includeFilter, System.Threading.CancellationToken cancellationToken);
abstract member GetTokenStatusAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.TokenStatus[]>
Public MustOverride Function GetTokenStatusAsync (userId As String, channelId As String, includeFilter As String, cancellationToken As CancellationToken) As Task(Of TokenStatus())

Parameters

userId
String

The user id that will be associated with the token.

channelId
String

The channel Id that will be associated with the token.

includeFilter
String

The includeFilter.

cancellationToken
CancellationToken

Cancellation token.

Returns

A Task of Array of TokenStatus.

Applies to