CertificateGovernmentAppCredentials 类

定义

Gov Cloud 的 CertificateGovAppCredentials 身份验证实现。

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应用 ID。

(继承自 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)

适用于