IUserTokenClient.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 System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.TokenStatus[]> GetTokenStatusAsync(string userId, Microsoft.Agents.Core.Models.ChannelId channelId, string includeFilter, System.Threading.CancellationToken cancellationToken);
abstract member GetTokenStatusAsync : string * Microsoft.Agents.Core.Models.ChannelId * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.TokenStatus[]>
Public Function GetTokenStatusAsync (userId As String, channelId As ChannelId, includeFilter As String, cancellationToken As CancellationToken) As Task(Of TokenStatus())
Parameters
- userId
- String
The user id that will be associated with the token.
- channelId
- ChannelId
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.