DefaultClaimSet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a default implementation of the ClaimSet class.
public ref class DefaultClaimSet : System::IdentityModel::Claims::ClaimSet
public class DefaultClaimSet : System.IdentityModel.Claims.ClaimSet
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.xmlsoap.org/ws/2005/05/identity")]
public class DefaultClaimSet : System.IdentityModel.Claims.ClaimSet
type DefaultClaimSet = class
inherit ClaimSet
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.xmlsoap.org/ws/2005/05/identity")>]
type DefaultClaimSet = class
inherit ClaimSet
Public Class DefaultClaimSet
Inherits ClaimSet
- Inheritance
- Attributes
Remarks
This is a concrete implementation of the ClaimSet abstract base class. Implementations of IAuthorizationPolicy can use an instance of this class to add a ClaimSet to an EvaluationContext.
Constructors
DefaultClaimSet(Claim[]) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(ClaimSet, Claim[]) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(ClaimSet, IList<Claim>) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
DefaultClaimSet(IList<Claim>) |
Initializes a new instance of the DefaultClaimSet class, using the specified claims. |
Properties
Count |
Gets the number of Claim objects in this claim set. |
Issuer |
Gets the ClaimSet object that issued this claim set. |
Item[Int32] |
Gets the Claim for the specified index. |
Methods
ContainsClaim(Claim, IEqualityComparer<Claim>) |
Determines whether the ClaimSet contains the specified Claim, by using the specified IEqualityComparer<T> object. (Inherited from ClaimSet) |
ContainsClaim(Claim) |
Determines whether the specified claim is contained within this claim set. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
FindClaims(String, String) |
Searches for the Claim object that matches the specified claim type and rights in the DefaultClaimSet. |
GetEnumerator() |
Gets an IEnumerator<T> that can be used to enumerate the Claim object in the DefaultClaimSet. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
Initialize(ClaimSet, IList<Claim>) |
Initializes an instance of the DefaultClaimSet class, using the specified claims. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns this ClaimSet object. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Gets an IEnumerator<T> that can be used to enumerate the Claim object in the ClaimSet. (Inherited from ClaimSet) |