Class MemberClaimsPrincipalExtensions
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Web.Common.dll
Syntax
public static class MemberClaimsPrincipalExtensions
Methods
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. |
principal | The principal to find the identity in. |
Returns
Type | Description |
---|---|
System. |
The default authenticated authentication type identity. |
Remarks
The identity returned is the one with default authentication type.