语言

ClaimTypes 类

定义

为可分配给主题的已知声明类型定义常量。 此类不能被继承。

public ref class ClaimTypes abstract sealed
public static class ClaimTypes
[System.Runtime.InteropServices.ComVisible(false)]
public static class ClaimTypes
type ClaimTypes = class
[<System.Runtime.InteropServices.ComVisible(false)>]
type ClaimTypes = class
Public Class ClaimTypes
继承
ClaimTypes
属性

注解

这些常量为已知声明类型定义 URI。

注释

架构 URI 主要用于标识符,不应预期用作超链接。

字段

名称 说明
Actor

指定执行组件声明的 URI; http://schemas.xmlsoap.org/ws/2009/09/identity/claims/actor

Anonymous

指定指示匿名用户的声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous

Authentication

指定声明的 URI,其中包含有关标识是否经过身份验证的详细信息; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authenticated

AuthenticationInstant

指定声明的 URI,该 URI 指示对实体进行身份验证的即时; http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant

AuthenticationMethod

指定声明的 URI,该 URI 指示对实体进行身份验证的方法; http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod

AuthorizationDecision

指定声明的 URI,该 URI 指示对实体的授权决策; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision

CookiePath

指定 Cookie 路径声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/cookiepath

Country

指定声明的 URI,该 URI 指示实体所在的国家或地区; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country

DateOfBirth

指定声明的 URI,该 URI 指示实体的出生日期; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth

DenyOnlyPrimaryGroupSid

指定声明的 URI,该 URI 指示实体上的仅拒绝主组 SID; http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid

DenyOnlyPrimarySid

指定声明的 URI,该 URI 指示实体上的仅拒绝主 SID; http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid

DenyOnlySid

指定声明的 URI,该 URI 指示实体的仅拒绝安全标识符(SID); http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid

DenyOnlyWindowsDeviceGroup

指定声明的 URI,该 URI 指示设备的Windows仅拒绝组 SID;http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlywindowsdevicegroup

Dns

指定声明的 URI,该 URI 指示与计算机名称关联的 DNS 名称或 X.509 证书的使用者或颁发者的可选名称; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns

Dsa

指定数字签名算法 (DSA) 声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/dsa

Email

指定声明的 URI,该 URI 指示实体的电子邮件地址; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress

Expiration

指定过期声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration

Expired

指定声明的 URI,该 URI 指示实体的过期状态; http://schemas.microsoft.com/ws/2008/06/identity/claims/expired

Gender

指定声明的 URI,该 URI 指示实体的性别; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender

GivenName

指定声明的 URI,该 URI 指示实体的给定名称; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

GroupSid

指定声明的 URI,该 URI 指示实体组的 SID; http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid

Hash

指定哈希值声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash

HomePhone

指定声明的 URI,该 URI 指示实体的主电话号码; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone

IsPersistent

指定持久性声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent

Locality

指定声明的 URI,该 URI 指示实体所在的区域设置; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality

MobilePhone

指定声明的 URI,该 URI 指示实体的移动电话号码; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone

Name

指定声明的 URI,该 URI 指示实体的名称; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name

NameIdentifier

指定声明的 URI,该 URI 指示实体的名称标识符; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier

OtherPhone

指定声明的 URI,该 URI 指示实体的备用电话号码; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone

PostalCode

指定声明的 URI,该 URI 指示实体的邮政编码; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode

PrimaryGroupSid

指定声明的 URI,该 URI 指示实体的主组 SID; http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid

PrimarySid

指定声明的 URI,该 URI 指示实体的主要 SID; http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid

Role

指定声明的 URI,该 URI 指示实体的角色; http://schemas.microsoft.com/ws/2008/06/identity/claims/role

Rsa

指定 RSA 密钥声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa

SerialNumber

指定序列号声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/serialnumber

Sid

指定安全标识符 (SID) 声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid

Spn

指定服务主体名称(SPN)声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn

StateOrProvince

指定声明的 URI,该 URI 指示实体所在的州或省; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince

StreetAddress

指定声明的 URI,该 URI 指示实体的街道地址; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress

Surname

指定声明的 URI,该 URI 指示实体的姓氏; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

System

指定系统实体声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system

Thumbprint

指定指纹声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint

Upn

指定用户主体名称 (UPN) 声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn

Uri

指定 URI 声明的 URI; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri

UserData

指定用户数据声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata

Version

指定版本声明的 URI; http://schemas.microsoft.com/ws/2008/06/identity/claims/version

Webpage

指定声明的 URI,该 URI 指示实体的网页; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage

WindowsAccountName

指定声明的 URI,该 URI 指示实体的Windows域名;http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname

WindowsDeviceClaim

指定Windows设备声明的 URI;http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim

WindowsDeviceGroup

指定声明的 URI,该 URI 指示设备的Windows组 SID;http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdevicegroup

WindowsFqbnVersion

指定声明的 URI,该 URI 指示Windows二进制文件的完全限定二进制名称的版本;http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion

WindowsSubAuthority

指定Windows子授权声明的 URI;http://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority

WindowsUserClaim

指定Windows用户声明的 URI;http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsuserclaim

X500DistinguishedName

指定 X.500 可分辨名称声明的 URI,例如 X.509 公钥证书的主题或目录服务目录信息树中的条目标识符; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname

适用于