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。

字段

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,指定对实体进行身份验证的时机,http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant

AuthenticationMethod

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

AuthorizationDecision

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

CookiePath

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

Country

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

DateOfBirth

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

DenyOnlyPrimaryGroupSid

声明的 URI,指定实体上的“仅拒绝”主组 SID,http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid。 deny-only SID 禁止指定的实体访问可保护对象。

DenyOnlyPrimarySid

声明的 URI,指定实体上的“仅拒绝”主 SID,http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid。 deny-only SID 禁止指定的实体访问可保护对象。

DenyOnlySid

声明的 URI,指定实体的“仅拒绝”安全标识符 (SID),http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid。 deny-only SID 禁止指定的实体访问可保护对象。

DenyOnlyWindowsDeviceGroup

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

Dns

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

Dsa

http://schemas.microsoft.com/ws/2008/06/identity/claims/dsa.

Email

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

Expiration

http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration.

Expired

http://schemas.microsoft.com/ws/2008/06/identity/claims/expired.

Gender

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

GivenName

声明的 URI,指定实体的名字,http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

GroupSid

声明的 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,指定实体的住宅电话号码,http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone

IsPersistent

http://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent.

Locality

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

MobilePhone

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

Name

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

NameIdentifier

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

OtherPhone

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

PostalCode

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

PrimaryGroupSid

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

PrimarySid

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

Role

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

Rsa

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

SerialNumber

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

Sid

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

Spn

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

StateOrProvince

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

StreetAddress

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

Surname

声明的 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。 指纹是 X.509 证书的全局唯一 SHA-1 哈希。

Upn

声明的 URI,指定一个用户主体名称 (UPN),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,指定实体的网页,http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage

WindowsAccountName

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

WindowsDeviceClaim

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim.

WindowsDeviceGroup

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

WindowsFqbnVersion

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion.

WindowsSubAuthority

http://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority.

WindowsUserClaim

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

适用于