TUserClaims Class
A collection of TUserClaim objects keyed by claim name, owning the claims it contains.
Syntax
Unit: Sparkle.Security
TUserClaims = class(TObject);
Constructors
| Name | Description |
|---|---|
| Create | Creates an empty claim collection. |
Methods
| Name | Description |
|---|---|
| AddOrSet | Overloaded AddOrSet(TUserClaim) AddOrSet(string) AddOrSet(string, string) |
| Exists | Indicates whether a claim with the given name exists in the collection. |
| Find | Finds the claim with the given name. |
| GetEnumerator | Returns an enumerator over the claims in the collection. |
| Remove | Removes the claim with the given name, if present. |
Properties
| Name | Description |
|---|---|
| Items[const Name] | Gets the claim with the given name. |