語言

ServiceClientCredentialsFactory 類別

定義

ServiceClientCredentialsFactory抽象類別允許機器人提供自己的Microsoft.Rest.ServiceClientCredentials指令,讓機器人對通道或技能機器人對父機器人的呼叫。

public abstract class ServiceClientCredentialsFactory
type ServiceClientCredentialsFactory = class
Public MustInherit Class ServiceClientCredentialsFactory
繼承
ServiceClientCredentialsFactory
衍生

建構函式

名稱 Description
ServiceClientCredentialsFactory()

ServiceClientCredentialsFactory抽象類別允許機器人提供自己的Microsoft.Rest.ServiceClientCredentials指令,讓機器人對通道或技能機器人對父機器人的呼叫。

方法

名稱 Description
CreateCredentialsAsync(String, String, String, Boolean, CancellationToken)

用來建立 ServiceClientCredentials 的 Factory 方法。

IsAuthenticationDisabledAsync(CancellationToken)

檢查 Bot 驗證是否已停用。

IsValidAppIdAsync(String, CancellationToken)

驗證應用程式識別碼。

適用於