Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 916 Bytes

File metadata and controls

29 lines (22 loc) · 916 Bytes

System.Security.Claims


ClaimsPrincipalExtensions

Provides extension methods for the System.Security.Claims.ClaimsPrincipal class.

public static class ClaimsPrincipalExtensions

Static Methods

GetIdentity

string GetIdentity(this ClaimsPrincipal principal)

Summary: Retrieves the object identifier claim value from the claims principal, typically used for Azure AD authentication.

Parameters:
     principal  -  The claims principal to extract the identity from.

Returns: The object identifier claim value if found; otherwise, .


Generated by MarkdownCodeDoc version 1.2