ClaimsIdentity class 
表示基于声明的标识。
构造函数
| Claims | 
	初始化 ClaimsIdentity 类的新实例。  | 
属性
| claims | |
| is | 
	返回身份验证状态。  | 
方法
| get | 
	返回声明值(如果存在)  | 
构造函数详细信息
	ClaimsIdentity(Claim[], string | boolean)
 
初始化 ClaimsIdentity 类的新实例。
new ClaimsIdentity(claims: Claim[], authenticationType?: string | boolean)
			参数
- claims
 - 
				
Claim[]
 
声明的 
- authenticationType
 - 
				
string | boolean
 
此声明集的身份验证类型,或要重写的布尔值是Authenticated
属性详细信息
claims
	isAuthenticated
 
返回身份验证状态。
boolean isAuthenticated
			属性值
boolean
如此 如果已经过身份验证。
方法详细信息
	getClaimValue(string)
  
返回声明值(如果存在)
function getClaimValue(claimType: string): string | null
			参数
- claimType
 - 
				
string
 
要查找的声明类型
返回
string | null
如果未找到声明值,则为 null