OAuthClientOld.GetTokenStatusAsync(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Task<TokenStatus[]>
TokenStatus.