Share via


MsalAppCredentials クラス

定義

を実装 IAuthenticatorする認証クラス。チャネルへの送信メッセージのトークンを取得するために使用されます。

public class MsalAppCredentials : Microsoft.Bot.Connector.Authentication.AppCredentials, Microsoft.Bot.Connector.Authentication.IAuthenticator
type MsalAppCredentials = class
    inherit AppCredentials
    interface IAuthenticator
Public Class MsalAppCredentials
Inherits AppCredentials
Implements IAuthenticator
継承
Microsoft.Rest.ServiceClientCredentials
MsalAppCredentials
実装

コンストラクター

MsalAppCredentials(IConfidentialClientApplication, String, String, String, Boolean, ILogger)

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

MsalAppCredentials(String, String, String, String, Boolean, ILogger)

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

MsalAppCredentials(String, X509Certificate2, String, String, Boolean, ILogger)

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

フィールド

Empty

資格情報の空のセット。

プロパティ

AuthTenant

この資格情報のチャネル認証トークン テナントを取得または設定します。

(継承元 AppCredentials)
ChannelAuthTenant

チャネル認証に使用するテナントを取得または設定します。

(継承元 AppCredentials)
CustomHttpClient

この資格情報のチャネル認証トークン テナントを取得または設定します。

(継承元 AppCredentials)
Logger

この資格情報のチャネル認証トークン テナントを取得または設定します。

(継承元 AppCredentials)
MicrosoftAppId

この資格情報の Microsoft アプリ ID を取得または設定します。

(継承元 AppCredentials)
OAuthEndpoint

使用する OAuth エンドポイントを取得します。

(継承元 AppCredentials)
OAuthScope

使用する OAuth スコープを取得します。

(継承元 AppCredentials)
ValidateAuthority

機関を検証するかどうかを示す値を取得します。

(継承元 AppCredentials)

メソッド

BuildAuthenticator()

トークンの取得に使用される遅延 AdalAuthenticator をビルドします。

BuildIAuthenticator()

トークンの取得に使用される遅延 IAuthenticator をビルドします。

GetTokenAsync(Boolean)

OAuth アクセス トークンを取得します。

(継承元 AppCredentials)
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

資格情報を HTTP 要求に適用します。

(継承元 AppCredentials)

明示的なインターフェイスの実装

IAuthenticator.GetTokenAsync(Boolean)

を実装 IAuthenticatorする認証クラス。チャネルへの送信メッセージのトークンを取得するために使用されます。

適用対象