System.IdentityModel.Policy Namespace

The System.IdentityModel.Policy namespace contains classes that are used to implement authorization policy when using the WCF claims-based identity model.

Beginning with .NET Framework 4.5 and the integration of Windows Identity Foundation (WIF) into the .NET Framework, the WCF claims-based identity model has been superseded by WIF. WIF provides a claims-based identity object model that can be used to provide authentication and authorization across several Microsoft product stacks, including the CLR, WCF, and ASP.NET. In WIF, authorization policy is implemented by extending the System.Security.Claims.ClaimsAuthorizationManager class. Beginning with .NET 4.5, authorization policy should be implemented by using WIF instead of the classes in the System.IdentityModel.Claims namespace.

  Class Description
Public class AuthorizationContext The result of evaluating all authorization policies available from the tokens in the sent message and by calling the GetAuthorizationPolicies method.
Public class EvaluationContext When overridden in a derived class, represents the results of the authorization policies that have been evaluated.

  Interface Description
Public interface IAuthorizationComponent Represents a component that is used to authorize users.
Public interface IAuthorizationPolicy Defines a set of rules for authorizing a user, given a set of claims.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft