UserTokenClient.GetTokenStatusAsync 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.
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
Task<TokenStatus[]>
A Task of Array of TokenStatus.