Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Authentication.dll Namespace: System.Security.Claims Inheritance: System.Object

Syntax

System.Security.Claims.McpAuthentication_ClaimsPrincipalExtensions

Summary

Extension methods for ClaimsPrincipal to extract user information.

Remarks

These extensions provide convenient methods to extract user scopes, roles, and other information from JWT tokens and other authentication schemes.