ManagedIdentityApplication Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class to be used for managed identity applications (on Azure resources like App Services, Virtual Machines, Azure Arc, Service Fabric and Cloud Shell).
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
- Inheritance
- Implements
Remarks
Managed identity can be enabled on Azure resources as a system assigned managed identity or a user assigned managed identity.
Methods
AcquireTokenForManagedIdentity(String) |
Acquires token for a managed identity configured on Azure resource. See https://aka.ms/msal-net-managed-identity. |
GetManagedIdentitySource() |
Detects and returns the managed identity source available on the environment. |