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 を検証します。

適用対象