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.
| Class | Description | |
|---|---|---|
|
AuthorizationContext | The result of evaluating all authorization policies available from the tokens in the sent message and by calling the GetAuthorizationPolicies method. |
|
EvaluationContext | When overridden in a derived class, represents the results of the authorization policies that have been evaluated. |
| Interface | Description | |
|---|---|---|
|
IAuthorizationComponent | Represents a component that is used to authorize users. |
|
IAuthorizationPolicy | Defines a set of rules for authorizing a user, given a set of claims. |