Share via


OAuthClientOld.GetTokenStatusAsync(String, String, CancellationToken) Method

Definition

Get the status of tokens for connections for this bot for a particular user.

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

Parameters

userId
String

User id.

includeFilter
String

A comma separated list of connections to include. If null, then all connections are returned.

cancellationToken
CancellationToken

Cancellation Token.

Returns

TokenStatus.

Applies to