IUserTokenProvider Interface

Definition

A contract for user token provider classes.

public interface IUserTokenProvider
type IUserTokenProvider = interface
Public Interface IUserTokenProvider
Derived

Methods

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

Retrieves Azure Active Directory tokens for particular resources on a configured connection, using the bot's AppCredentials.

GetOauthSignInLinkAsync(ITurnContext, String, CancellationToken)

Get the raw signin link to be sent to the user for signin for a connection name, using the bot's AppCredentials.

GetOauthSignInLinkAsync(ITurnContext, String, String, String, CancellationToken)

Get the raw signin link to be sent to the user for signin for a connection name, using the bot's AppCredentials.

GetTokenStatusAsync(ITurnContext, String, String, CancellationToken)

Retrieves the token status for each configured connection for the given user, using the bot's AppCredentials.

GetUserTokenAsync(ITurnContext, String, String, CancellationToken)

Attempts to retrieve the token for a user that's in a login flow, using the bot's AppCredentials.

SignOutUserAsync(ITurnContext, String, String, CancellationToken)

Signs the user out with the token server, using the bot's AppCredentials.

Applies to