Class MemberClaimsPrincipalExtensions
Inheritance
System.Object
      Namespace: Umbraco.Extensions
Assembly: Umbraco.Web.Common.dll
Syntax
public static class MemberClaimsPrincipalExtensionsMethods
View SourceGetMemberIdentity(ClaimsPrincipal)
Tries to get specifically the member identity from the ClaimsPrincipal
Declaration
public static ClaimsIdentity GetMemberIdentity(this ClaimsPrincipal principal)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Security.Claims.ClaimsPrincipal | principal | The principal to find the identity in. | 
Returns
| Type | Description | 
|---|---|
| System.Security.Claims.ClaimsIdentity | The default authenticated authentication type identity. | 
Remarks
The identity returned is the one with default authentication type.