Language

OAuthClient コンストラクター

定義

オーバーロード

名前 説明
OAuthClient(DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(Uri, String, String, DelegatingHandler[])
OAuthClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])
OAuthClient(Uri, HttpClientHandler, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(Uri, ServiceClientCredentials, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

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

OAuthClient クラスの新しいインスタンスを初期化します。

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

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(HttpClientHandler, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(HttpClient, Boolean)

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(ServiceClientCredentials, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(ServiceClientCredentials, HttpClient, Boolean)

OAuthClient クラスの新しいインスタンスを初期化します。

OAuthClient(DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

protected OAuthClient(params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

パラメーター

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

適用対象

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

public OAuthClient(Uri baseUri, string microsoftAppId = default, string microsoftAppPassword = default, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * string * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, Optional microsoftAppId As String = Nothing, Optional microsoftAppPassword As String = Nothing, ParamArray handlers As DelegatingHandler())

パラメーター

baseUri
Uri
microsoftAppId
String
microsoftAppPassword
String
handlers
DelegatingHandler[]

適用対象

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

public OAuthClient(Uri baseUri, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

パラメーター

baseUri
Uri
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

適用対象

OAuthClient(Uri, HttpClientHandler, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

protected OAuthClient(Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

OAuthClient(Uri, ServiceClientCredentials, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

public OAuthClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

OAuthClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

public OAuthClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

パラメーター

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

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

OAuthClient クラスの新しいインスタンスを初期化します。

public OAuthClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

OAuthClient(MicrosoftAppCredentials, Boolean, DelegatingHandler[])

public OAuthClient(Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

パラメーター

addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

適用対象

OAuthClient(Uri, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

protected OAuthClient(Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

OAuthClient(HttpClientHandler, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

protected OAuthClient(System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

パラメーター

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

適用対象

OAuthClient(HttpClient, Boolean)

OAuthClient クラスの新しいインスタンスを初期化します。

protected OAuthClient(System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.OAuthClient : System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.OAuthClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

パラメーター

httpClient
HttpClient

HttpClientを使います。

disposeHttpClient
Boolean

True: はOAuthClient.Dispose()を呼び出した際に提供されたhttpClientを破棄します。 誤り:提供されたhttpClientは処分されません。

適用対象

OAuthClient(ServiceClientCredentials, DelegatingHandler[])

OAuthClient クラスの新しいインスタンスを初期化します。

public OAuthClient(Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

パラメーター

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

OAuthClient(ServiceClientCredentials, HttpClient, Boolean)

OAuthClient クラスの新しいインスタンスを初期化します。

public OAuthClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.OAuthClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.OAuthClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

パラメーター

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

httpClient
HttpClient

HttpClientを使います。

disposeHttpClient
Boolean

True: はOAuthClient.Dispose()を呼び出した際に提供されたhttpClientを破棄します。 誤り:提供されたhttpClientは処分されません。

例外

必要なパラメータがnullのときに投げられます。

適用対象