Jaa


IUserTokenProvider Interface

Definition

Caution

Use UserTokenClient instead. With CloudAdapter the UserTokenClient is available on TurnState.

A contract for user token provider classes.

[System.Obsolete("Use UserTokenClient instead. With CloudAdapter the UserTokenClient is available on TurnState.", false)]
public interface IUserTokenProvider
[<System.Obsolete("Use UserTokenClient instead. With CloudAdapter the UserTokenClient is available on TurnState.", false)>]
type IUserTokenProvider = interface
Public Interface IUserTokenProvider
Derived
Attributes

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