CertificateGovernmentAppCredentials 類別

定義

GovAppCredentials Gov Cloud 的驗證實作。

public class CertificateGovernmentAppCredentials : Microsoft.Bot.Connector.Authentication.CertificateAppCredentials
type CertificateGovernmentAppCredentials = class
    inherit CertificateAppCredentials
Public Class CertificateGovernmentAppCredentials
Inherits CertificateAppCredentials
繼承
Microsoft.Rest.ServiceClientCredentials
CertificateGovernmentAppCredentials

建構函式

CertificateGovernmentAppCredentials(CertificateAppCredentialsOptions)

初始化 CertificateGovernmentAppCredentials 類別的新實例。

CertificateGovernmentAppCredentials(X509Certificate2, Boolean, String, String, HttpClient, ILogger)

初始化 CertificateGovernmentAppCredentials 類別的新實例。

CertificateGovernmentAppCredentials(X509Certificate2, String, String, HttpClient, ILogger)

初始化 CertificateGovernmentAppCredentials 類別的新實例。

CertificateGovernmentAppCredentials(X509Certificate2, String, String, String, Boolean, HttpClient, ILogger)

初始化 CertificateGovernmentAppCredentials 類別的新實例。

屬性

AuthTenant

取得或設定此認證的通道驗證令牌租使用者。

(繼承來源 AppCredentials)
ChannelAuthTenant

取得或設定要用於通道驗證的租使用者。

(繼承來源 AppCredentials)
CustomHttpClient

取得或設定此認證的通道驗證令牌租使用者。

(繼承來源 AppCredentials)
DefaultChannelAuthTenant

取得 DefaultChannelAuthTenant。

Logger

取得或設定此認證的通道驗證令牌租使用者。

(繼承來源 AppCredentials)
MicrosoftAppId

取得或設定此認證Microsoft應用程式標識碼。

(繼承來源 AppCredentials)
OAuthEndpoint

取得要使用的 OAuth 端點。

(繼承來源 AppCredentials)
OAuthScope

取得要使用的 OAuth 範圍。

(繼承來源 AppCredentials)
ToChannelFromBotLoginUrlTemplate

取得 ToChannelFromBotLoginUrlTemplate。

ToChannelFromBotOAuthScope

取得 ToChannelFromBotoAuthScope。

ValidateAuthority

取得值,指出是否要驗證授權單位。

(繼承來源 AppCredentials)

方法

BuildIAuthenticator()

建置要用於取得令牌的延遲 IAuthenticator

(繼承來源 CertificateAppCredentials)
GetTokenAsync(Boolean)

取得 OAuth 存取令牌。

(繼承來源 AppCredentials)
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

將認證套用至 HTTP 要求。

(繼承來源 AppCredentials)

適用於