Implementation of a claims-based representation of a single user.
下表列出了 ClaimsIdentity 类型公开的成员。
Public 构造函数
(另请参阅 Protected 构造函数)
| 名称 | 说明 | |
|---|---|---|
| ClaimsIdentity | 已重载。 |
页首
Protected 构造函数
| 名称 | 说明 | |
|---|---|---|
| ClaimsIdentity | 已重载。 |
页首
Public 字段
| 名称 | 说明 | |
|---|---|---|
![]() |
DefaultIssuer | Gets the default value for the claim issuer if none is specified. |
![]() |
DefaultNameClaimType | The default name claim type. |
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Actor | T:Microsoft.IdentityModel.Claims.IClaimsIdentity of the calling party that was granted delegation rights. |
![]() |
AnonymousIdentity | Returns a ClaimsIdentity with zero claims. |
![]() |
AuthenticationType | Gets the type of authentication used. |
![]() |
BootstrapToken | Gets or sets the token that was originally used to create this identity. |
![]() |
Claims | Gets the list of T:Microsoft.IdentityModel.Claims.Claim values associated with this identity. |
![]() |
IsAuthenticated | Gets a value that indicates whether the user has been authenticated. |
![]() |
Label | A string label for the user who is represented by this IClaimsIdentity. |
![]() |
Name | Gets the name of the current user. |
![]() |
NameClaimType | Provides access to the name of the claim type used to determine IIdentity.Name. |
![]() |
RoleClaimType | Claim type used for IPrincipal.IsInRole. |
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]() |
Copy | Returns a new T:Microsoft.IdentityModel.Claims.ClaimsIdentity object copied from this object. |
![]() |
Equals | 已重载。 (从 Object 继承) |
![]() ![]() |
GetClaimsFromCertificate | Returns a collection of claims from an X509 certificate. |
![]() |
GetHashCode | (从 Object 继承) |
![]() |
GetType | (从 Object 继承) |
![]() ![]() |
ReferenceEquals | (从 Object 继承) |
![]() |
ToString | 重写。 Returns a string representation of the T:Microsoft.IdentityModel.Claims.ClaimsIdentity object. |
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Finalize | (从 Object 继承) |
![]() |
GetObjectData | Populates the specified T:System.Runtime.Serialization.SerializationInfo with the serialization data for the WindowsClaimsIdentity |
![]() |
MemberwiseClone | (从 Object 继承) |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
| System.Runtime.Serialization.ISerializable.GetObjectData |
页首
请参见
参考
ClaimsIdentity 类
Microsoft.IdentityModel.Claims 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)