SimplePrincipal Methods |
The SimplePrincipal type exposes the following members.
| Name | Description | |
|---|---|---|
| AddIdentities | Adds the specified claims identities to this claims principal. (Inherited from ClaimsPrincipal.) | |
| AddIdentity | Adds the specified claims identity to this claims principal. (Inherited from ClaimsPrincipal.) | |
| Equals |
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindAll(PredicateClaim) | Retrieves all of the claims that are matched by the specified predicate. (Inherited from ClaimsPrincipal.) | |
| FindAll(String) | Retrieves all or the claims that have the specified claim type. (Inherited from ClaimsPrincipal.) | |
| FindFirst(PredicateClaim) | Retrieves the first claim that is matched by the specified predicate. (Inherited from ClaimsPrincipal.) | |
| FindFirst(String) | Retrieves the first claim with the specified claim type. (Inherited from ClaimsPrincipal.) | |
| GetHashCode |
Obtain the hashcode for this object.
(Overrides ObjectGetHashCode.) | |
| GetObjectData | Populates the SerializationInfo with data needed to serialize the current ClaimsPrincipal object. (Inherited from ClaimsPrincipal.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasClaim(PredicateClaim) | Determines whether any of the claims identities associated with this claims principal contains a claim that is matched by the specified predicate. (Inherited from ClaimsPrincipal.) | |
| HasClaim(String, String) | Determines whether any of the claims identities associated with this claims principal contains a claim with the specified claim type and value. (Inherited from ClaimsPrincipal.) | |
| IsInRole | (Inherited from GenericPrincipal.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |