次の方法で共有


MsalServiceClientCredentialsFactory クラス

定義

MSAL を使用してトークンを取得する資格情報ファクトリ。

public class MsalServiceClientCredentialsFactory : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory
type MsalServiceClientCredentialsFactory = class
    inherit ServiceClientCredentialsFactory
Public Class MsalServiceClientCredentialsFactory
Inherits ServiceClientCredentialsFactory
継承
MsalServiceClientCredentialsFactory

コンストラクター

MsalServiceClientCredentialsFactory(IConfiguration, IConfidentialClientApplication, ILogger)

MsalServiceClientCredentialsFactory クラスの新しいインスタンスを初期化します。

プロパティ

AppId

Microsoft アプリ ID を取得します。

TenantId

Microsoft テナント ID を取得します。

メソッド

CreateCredentialsAsync(String, String, String, Boolean, CancellationToken)

ServiceClientCredentials を作成するためのファクトリ メソッド。

IsAuthenticationDisabledAsync(CancellationToken)

ボット認証が無効になっているかどうかを確認します。

IsValidAppIdAsync(String, CancellationToken)

アプリ ID を検証します。

適用対象