Compartilhar via


AuthorizationPolicy Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Defines an AuthorizationPolicy that carries the IDFx Claims. When IDFx is enabled a new set of Security Token Authenticators are added to the system. These Authenticators will generate the new Claims defined in Microsoft.IdentityModel.Claims.

The following tables list the members exposed by the AuthorizationPolicy type.

Public Constructors

  Name Description
  AuthorizationPolicy Overloaded. Initializes an instance of AuthorizationPolicy

Top

Public Fields

  Name Description
public fieldstatic IdentitiesKey  
public fieldstatic PrincipalKey  

Top

Public Properties

  Name Description
public property Id Returns an Id for the ClaimsPrincipal.
public property IdentityCollection Gets the ClaimsIdentityCollection.
public property Issuer Gets the Issuer Claimset. This will return a DefaultClaimSet with just one claim whose ClaimType is https://schemas.microsoft.com/claims/identityclaim.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method Evaluate Evaluates the current Policy. This is provided for backward compatibility of WCF Claims model. We always return true without affecting the EvaluationContext.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

AuthorizationPolicy Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.