Share via


UserTokenExtensions.GetTokenStatusAsync Method

Definition

Get Token Status.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.TokenStatus>> GetTokenStatusAsync (this Microsoft.Bot.Connector.IUserToken operations, string userId, string channelId = default, string include = default, System.Threading.CancellationToken cancellationToken = default);
static member GetTokenStatusAsync : Microsoft.Bot.Connector.IUserToken * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.TokenStatus>>
<Extension()>
Public Function GetTokenStatusAsync (operations As IUserToken, userId As String, Optional channelId As String = Nothing, Optional include As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of TokenStatus))

Parameters

operations
IUserToken

The operations group for this extension method.

userId
String

User ID.

channelId
String

Channel ID.

include
String

Include.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task representing the token status.

Applies to