IUserTokenClient Interface

Definition

Client for access user token service.

C#
public interface IUserTokenClient : IDisposable
Implements

Methods

ExchangeTokenAsync(String, String, String, TokenExchangeRequest, CancellationToken)

Performs a token exchange operation such as for single sign-on.

GetAadTokensAsync(String, String, String[], String, CancellationToken)

Retrieves Azure Active Directory tokens for particular resources on a configured connection.

GetSignInResourceAsync(String, IActivity, String, CancellationToken)

Get the raw signin link to be sent to the user for signin for a connection name.

GetTokenStatusAsync(String, String, String, CancellationToken)

Retrieves the token status for each configured connection for the given user.

GetUserTokenAsync(String, String, String, String, CancellationToken)

Attempts to retrieve the token for a user that's in a login flow.

SignOutUserAsync(String, String, String, CancellationToken)

Signs the user out with the token server.

Applies to

Product Versions
Microsoft 365 Agents SDK .NET 1