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, Boolean, String, String, Boolean, ILogger)

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

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

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

フィールド

名前 説明
Empty

空の資格情報のセット。

プロパティ

名前 説明
AuthTenant

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

(継承元 AppCredentials)
ChannelAuthTenant

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

(継承元 AppCredentials)
CustomHttpClient

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

(継承元 AppCredentials)
DefaultChannelAuthTenant

DefaultChannelAuthTenant を取得します。

(継承元 AppCredentials)
Logger

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

(継承元 AppCredentials)
MicrosoftAppId

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

(継承元 AppCredentials)
OAuthEndpoint

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

(継承元 AppCredentials)
OAuthScope

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

(継承元 AppCredentials)
ToChannelFromBotLoginUrlTemplate

ToChannelFromBotLoginUrlTemplate を取得します。

(継承元 AppCredentials)
ToChannelFromBotOAuthScope

ToChannelFromBotoAuthScope を取得します。

(継承元 AppCredentials)
ValidateAuthority

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

(継承元 AppCredentials)

メソッド

名前 説明
BuildIAuthenticator()

トークン獲得に使うための怠惰な IAuthenticator を築きます。

GetTokenAsync(Boolean)

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

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

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

(継承元 AppCredentials)

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

名前 説明
IAuthenticator.GetTokenAsync(Boolean)

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

適用対象