OAuthClient Class

Definition

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

public class OAuthClient : Microsoft.Rest.ServiceClient<Microsoft.Bot.Connector.OAuthClient>, IDisposable, Microsoft.Bot.Connector.IOAuthClient
type OAuthClient = class
    inherit ServiceClient<OAuthClient>
    interface IOAuthClient
    interface IDisposable
Public Class OAuthClient
Inherits ServiceClient(Of OAuthClient)
Implements IDisposable, IOAuthClient
Inheritance
Microsoft.Rest.ServiceClient<T>
OAuthClient
Implements

Constructors

OAuthClient(DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(HttpClient, Boolean)

Initializes a new instance of the OAuthClient class.

OAuthClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])
OAuthClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the OAuthClient class.

OAuthClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(Uri, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])
OAuthClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the OAuthClient class.

OAuthClient(Uri, String, String, DelegatingHandler[])

Properties

BaseUri

The base URI of the service.

BotSignIn

Gets the IBotSignIn.

Credentials

Subscription credentials which uniquely identify client subscription.

DeserializationSettings

Gets or sets json deserialization settings.

OAuthApi
SerializationSettings

Gets or sets json serialization settings.

UserToken

Gets the IUserToken.

Methods

ExchangeAsyncWithHttpMessagesAsync(String, String, String, TokenExchangeRequest, Dictionary<String,List<String>>, CancellationToken)
GetSignInResourceWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Extension Methods

GetSignInResourceAsync(OAuthClient, String, String, String, String, CancellationToken)
ExchangeAsyncAsync(OAuthClient, String, String, String, TokenExchangeRequest, CancellationToken)

Applies to