AppCredentials クラス

定義

認証とキャッシュのための AAD 資格情報の基本抽象化。

public abstract class AppCredentials : Microsoft.Rest.ServiceClientCredentials
type AppCredentials = class
    inherit ServiceClientCredentials
Public MustInherit Class AppCredentials
Inherits ServiceClientCredentials
継承
Microsoft.Rest.ServiceClientCredentials
AppCredentials
派生

コンストラクター

AppCredentials(String, HttpClient, ILogger)

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

AppCredentials(String, HttpClient, ILogger, String)

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

プロパティ

AuthTenant

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

ChannelAuthTenant

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

CustomHttpClient

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

Logger

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

MicrosoftAppId

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

OAuthEndpoint

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

OAuthScope

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

ValidateAuthority

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

メソッド

BuildAuthenticator()

トークンの取得に使用する遅延 AdalAuthenticator を構築します。

BuildIAuthenticator()

トークンの取得に使用する遅延 IAuthenticator を構築します。

GetTokenAsync(Boolean)

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

IsTrustedServiceUrl(String)
古い.

サービス URL が信頼されたホスト用であるかどうかを確認します。

ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

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

TrustServiceUrl(String)
古い.

信頼されたホストにサービス URL のホストを MicrosoftAppCredentials 追加します。

TrustServiceUrl(String, DateTime)
古い.

信頼されたホストにサービス URL のホストを MicrosoftAppCredentials 追加します。

適用対象