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