MicrosoftGovernmentAppCredentials 类

定义

MicrosoftGovernmentAppCredentials 身份验证实现。

public class MicrosoftGovernmentAppCredentials : Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
type MicrosoftGovernmentAppCredentials = class
    inherit MicrosoftAppCredentials
Public Class MicrosoftGovernmentAppCredentials
Inherits MicrosoftAppCredentials
继承
Microsoft.Rest.ServiceClientCredentials
MicrosoftGovernmentAppCredentials

构造函数

MicrosoftGovernmentAppCredentials(String, String, HttpClient)

初始化 MicrosoftGovernmentAppCredentials 类的新实例。

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger)

初始化 MicrosoftGovernmentAppCredentials 类的新实例。

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger, String)

初始化 MicrosoftGovernmentAppCredentials 类的新实例。

MicrosoftGovernmentAppCredentials(String, String, String, HttpClient, ILogger, String)

初始化 MicrosoftGovernmentAppCredentials 类的新实例。

字段

Empty

一组空凭据。

MicrosoftAppIdKey

Microsoft 应用 ID 的配置属性。

(继承自 MicrosoftAppCredentials)
MicrosoftAppPasswordKey

Microsoft 应用密码的配置属性。

(继承自 MicrosoftAppCredentials)
MicrosoftAppTenantIdKey

Azure AD 租户的租户 ID 的配置属性。

(继承自 MicrosoftAppCredentials)
MicrosoftAppTypeKey

机器人的应用类型的配置属性 - MultiTenant、SingleTenant 或 MSI。

(继承自 MicrosoftAppCredentials)

属性

AuthTenant

获取或设置此凭据的通道身份验证令牌租户。

(继承自 AppCredentials)
ChannelAuthTenant

获取或设置要用于通道身份验证的租户。

(继承自 AppCredentials)
CustomHttpClient

获取或设置此凭据的通道身份验证令牌租户。

(继承自 AppCredentials)
Logger

获取或设置此凭据的通道身份验证令牌租户。

(继承自 AppCredentials)
MicrosoftAppId

获取或设置此凭据的 Microsoft 应用 ID。

(继承自 AppCredentials)
MicrosoftAppPassword

获取或设置此凭据的 Microsoft 应用密码。

(继承自 MicrosoftAppCredentials)
OAuthEndpoint

获取要使用的 OAuth 终结点。

OAuthScope

获取要使用的 OAuth 范围。

(继承自 AppCredentials)
ValidateAuthority

获取一个值,该值指示是否验证颁发机构。

(继承自 AppCredentials)

方法

BuildAuthenticator()

生成用于获取令牌的延迟 AdalAuthenticator

(继承自 MicrosoftAppCredentials)
BuildIAuthenticator()

生成用于获取令牌的延迟 IAuthenticator

(继承自 AppCredentials)
GetTokenAsync(Boolean)

获取 OAuth 访问令牌。

(继承自 AppCredentials)
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

将凭据应用于 HTTP 请求。

(继承自 AppCredentials)

适用于