Defines the data and behavior of a single claim for a user.
下表列出了 Claim 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| Claim | 已重载。 | 
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | ClaimType | Gets the Type of the current Claim. | 
| .gif) | Issuer | Gets the Issuer of the claim. | 
| .gif) | OriginalIssuer | Gets the original issuer of the claim. | 
| .gif) | Properties | Gets the collection of Properties that are name-value pairs. | 
| .gif) | Subject | Gets the Subject of the Claim. | 
| .gif) | Value | Gets the Value of the Claim. | 
| .gif) | ValueType | Gets the ValueType of the Claim. | 
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
| .gif) | Copy | Returns a new Claim object copied from this object. The subject of the new claim object is set to null. | 
| .gif) | Equals | 已重载。 (从 Object 继承) | 
| .gif) | GetHashCode | (从 Object 继承) | 
| .gif) | GetType | (从 Object 继承) | 
| .gif) .gif) | ReferenceEquals | (从 Object 继承) | 
| .gif) | SetSubject | Sets the new subject for the Claim. | 
| .gif) | ToString | 重写。 Returns a string representation of the claim object. The string that is returned contains the values of the ClaimType and Value properties. | 
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Finalize | (从 Object 继承) | 
| .gif) | MemberwiseClone | (从 Object 继承) | 
页首
请参见
参考
Claim 类
Microsoft.IdentityModel.Claims 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。