ClaimsPrincipalExtensions Class

Definition

Extensions for ClaimsPrincipal.

public static class ClaimsPrincipalExtensions
type ClaimsPrincipalExtensions = class
Public Module ClaimsPrincipalExtensions
Inheritance
ClaimsPrincipalExtensions

Methods

GetDisplayName(ClaimsPrincipal)

Get the display name for the signed-in user, from the ClaimsPrincipal.

GetDomainHint(ClaimsPrincipal)

Gets the domain-hint associated with an identity.

GetHomeObjectId(ClaimsPrincipal)

Gets the Home Object ID associated with the ClaimsPrincipal.

GetHomeTenantId(ClaimsPrincipal)

Gets the Home Tenant ID associated with the ClaimsPrincipal.

GetLoginHint(ClaimsPrincipal)

Gets the login-hint associated with a ClaimsPrincipal.

GetMsalAccountId(ClaimsPrincipal)

Gets the account identifier for an MSAL.NET account from a ClaimsPrincipal.

GetNameIdentifierId(ClaimsPrincipal)

Gets the NameIdentifierId associated with the ClaimsPrincipal.

GetObjectId(ClaimsPrincipal)

Gets the unique object ID associated with the ClaimsPrincipal.

GetTenantId(ClaimsPrincipal)

Gets the Tenant ID associated with the ClaimsPrincipal.

GetUserFlowId(ClaimsPrincipal)

Gets the user flow ID associated with the ClaimsPrincipal.

Applies to