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