編集

次の方法で共有


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 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.

Classes

AuthorizationContext

The result of evaluating all authorization policies available from the tokens in the sent message and by calling the GetAuthorizationPolicies(OperationContext) method.

EvaluationContext

When overridden in a derived class, represents the results of the authorization policies that have been evaluated.

Interfaces

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.