Share via


IExtendedUserTokenProvider Interface

Definition

Caution

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

Methods to call methods on the Token Service.

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

Methods

ExchangeTokenAsync(ITurnContext, AppCredentials, String, String, TokenExchangeRequest, CancellationToken)

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

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

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

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

Retrieves Azure Active Directory tokens for particular resources on a configured connection, using customized AppCredentials.

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

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

(Inherited from IUserTokenProvider)
GetOauthSignInLinkAsync(ITurnContext, AppCredentials, String, CancellationToken)

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

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

Get the raw signin link to be sent to the user for signin for a connection name, using customized 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.

(Inherited from IUserTokenProvider)
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.

(Inherited from IUserTokenProvider)
GetSignInResourceAsync(ITurnContext, AppCredentials, String, String, String, CancellationToken)

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

GetSignInResourceAsync(ITurnContext, String, CancellationToken)

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

GetSignInResourceAsync(ITurnContext, String, String, String, CancellationToken)

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

GetTokenStatusAsync(ITurnContext, AppCredentials, String, String, CancellationToken)

Retrieves the token status for each configured connection for the given user, using customized AppCredentials.

GetTokenStatusAsync(ITurnContext, String, String, CancellationToken)

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

(Inherited from IUserTokenProvider)
GetUserTokenAsync(ITurnContext, AppCredentials, String, String, CancellationToken)

Attempts to retrieve the token for a user that's in a login flow, using customized 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.

(Inherited from IUserTokenProvider)
SignOutUserAsync(ITurnContext, AppCredentials, String, String, CancellationToken)

Signs the user out with the token server, using customized AppCredentials.

SignOutUserAsync(ITurnContext, String, String, CancellationToken)

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

(Inherited from IUserTokenProvider)

Applies to