This documentation is archived and is not being maintained.

System.IdentityModel.Policy Namespace

Contains the classes and interfaces necessary to build or use authorization polices in . A class that implements an authorization policy implements the IAuthorizationPolicy interface. An authorization policy. Other important classes in this namespace include AuthorizationContext and EvaluationContext.

Public classAuthorizationContextThe result of evaluating all authorization policies available from the tokens in the sent message and by calling the GetAuthorizationPolicies method.
Public classEvaluationContextWhen overridden in a derived class, represents the results of the authorization policies that have been evaluated.

Public interfaceIAuthorizationComponentRepresents a component that is used to authorize users.
Public interfaceIAuthorizationPolicyDefines a set of rules for authorizing a user, given a set of claims.