Dela via


IUser.IdentityProvider Property

Definition

Caution

Use IAccount.Environment instead to get the Identity Provider host (See https://aka.ms/msal-net-2-released)

In MSAL.NET 1.x was the URL of the identity provider (e.g. https://login.microsoftonline.com/tenantId). From MSAL.NET 2.x use Environment which retrieves the host only (e.g. login.microsoftonline.com). See https://aka.ms/msal-net-2-released for more details.

[System.Obsolete("Use IAccount.Environment instead to get the Identity Provider host (See https://aka.ms/msal-net-2-released)", true)]
public string IdentityProvider { get; }
[<System.Obsolete("Use IAccount.Environment instead to get the Identity Provider host (See https://aka.ms/msal-net-2-released)", true)>]
member this.IdentityProvider : string
Public ReadOnly Property IdentityProvider As String

Property Value

Attributes

Applies to