Jaa


OAuthClientOld Class

Definition

Caution

This class is deprecated, us OAuthClientConfig instead

Service client to handle requests to the Bot Framework API service.

[System.Obsolete("This class is deprecated, us OAuthClientConfig instead", true)]
public class OAuthClientOld : Microsoft.Rest.ServiceClient<Microsoft.Bot.Connector.OAuthClientOld>
[<System.Obsolete("This class is deprecated, us OAuthClientConfig instead", true)>]
type OAuthClientOld = class
    inherit ServiceClient<OAuthClientOld>
Public Class OAuthClientOld
Inherits ServiceClient(Of OAuthClientOld)
Inheritance
Microsoft.Rest.ServiceClient<OAuthClientOld>
OAuthClientOld
Attributes

Constructors

OAuthClientOld(ConnectorClient, String)

Initializes a new instance of the OAuthClientOld class.

Properties

EmulateOAuthCards

Gets or sets a value indicating whether when using the Emulator, whether to emulate the OAuthCard behavior or use connected flows.

OAuthEndpoint

Gets or sets the default endpoint that is used for API requests.

Methods

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

Retrieve an Azure Active Directory token for particular AAD resources.

GetSignInLinkAsync(String, String, CancellationToken)

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

GetTokenStatusAsync(String, String, CancellationToken)

Get the status of tokens for connections for this bot for a particular user.

GetUserTokenAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Gets a user token for a given user and connection.

SendEmulateOAuthCardsAsync(Boolean)

Send a dummy OAuth card when the bot is being used on the Emulator for testing without fetching a real token.

SignOutUserAsync(String, String, CancellationToken)

Signs the user out of a connection.

Applies to