Language

ManagedIdentityApplication クラス

定義

マネージド ID アプリケーションに使用するクラス (App Services、Virtual Machines、Azure Arc、サービス Fabric、Cloud ShellなどのAzure リソース上)。

public sealed class ManagedIdentityApplication : Microsoft.Identity.Client.ApplicationBase, Microsoft.Identity.Client.IManagedIdentityApplication
type ManagedIdentityApplication = class
    inherit ApplicationBase
    interface IManagedIdentityApplication
    interface IApplicationBase
Public NotInheritable Class ManagedIdentityApplication
Inherits ApplicationBase
Implements IManagedIdentityApplication
継承
ManagedIdentityApplication
実装

注釈

マネージド ID は、システム割り当てマネージド ID またはユーザー割り当てマネージド ID として、Azure リソースで有効にすることができます。

メソッド

Name 説明
AcquireTokenForManagedIdentity(String)

Azure リソースで構成されたマネージド ID のトークンを取得します。 https://aka.ms/msal-net-managed-identityを参照してください。

GetManagedIdentityCapabilitiesAsync(CancellationToken)

ホストで使用可能なマネージド ID ソースと、ホストが生成できる最も強力な mTLS バインディングを検出します。 資格情報チェーン ( DefaultAzureCredential など) で、マネージド ID が使用可能かどうか、および予想されるバインディング強度を決定するのに役立ちます。

GetManagedIdentityCapabilitiesAsync(ManagedIdentityCapabilitiesOptions, CancellationToken)

指定された検出オプションを使用して、ホストで使用可能なマネージド ID ソースと、ホストが生成できる最も強力な mTLS バインディングを検出します。

GetManagedIdentitySource()
古い.

環境で使用可能なマネージド ID ソースを検出して返します。

適用対象