ServiceClientCredentialsFactory 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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) |
驗證應用程式識別碼。 |