Claim 成员

Defines the data and behavior of a single claim for a user.

下表列出了 Claim 类型公开的成员。

Public 构造函数

  名称 说明
  Claim 已重载。  

页首

Public 属性

  名称 说明
public property ClaimType Gets the Type of the current Claim.
public property Issuer Gets the Issuer of the claim.
public property OriginalIssuer Gets the original issuer of the claim.
public property Properties Gets the collection of Properties that are name-value pairs.
public property Subject Gets the Subject of the Claim.
public property Value Gets the Value of the Claim.
public property ValueType Gets the ValueType of the Claim.

页首

Public 方法

(另请参阅 Protected 方法)

  名称 说明
public method Copy Returns a new Claim object copied from this object. The subject of the new claim object is set to null.
public method Equals  已重载。 (从 Object 继承)
public method GetHashCode  (从 Object 继承)
public method GetType  (从 Object 继承)
public methodstatic ReferenceEquals  (从 Object 继承)
public method SetSubject Sets the new subject for the Claim.
public method ToString 重写。 Returns a string representation of the claim object. The string that is returned contains the values of the ClaimType and Value properties.

页首

Protected 方法

  名称 说明
protected method Finalize  (从 Object 继承)
protected method MemberwiseClone  (从 Object 继承)

页首

请参见

参考

Claim 类
Microsoft.IdentityModel.Claims 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。