Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Claims.​ClaimTypes
Assembly: System.Security.Claims
Inheritance: object → ClaimTypes
Defines constants for the well-known claim types that can be assigned to a subject. This class cannot be inherited.
Fields and Constants
public const
string
Actor
Specifies the URI for an actor claim; <c>http://schemas.xmlsoap.org/ws/2009/09/identity/claims/actor</c> .
public const
string
Anonymous
Specifies the URI for a claim that indicates the anonymous user; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous</c> .
public const
string
Authentication
Specifies the URI for a claim that contains details about whether an identity is authenticated; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authenticated</c> .
public const
string
AuthenticationInstant
Specifies the URI for a claim that indicates the instant at which an entity was authenticated; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant</c> .
public const
string
AuthenticationMethod
Specifies the URI for a claim that indicates the method with which an entity was authenticated; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod</c> .
public const
string
AuthorizationDecision
Specifies the URI for a claim that indicates the authorization decision on an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision</c> .
public const
string
CookiePath
Specifies the URI for a cookie path claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/cookiepath</c> .
public const
string
Country
Specifies the URI for a claim that indicates the country or region in which an entity resides; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country</c> .
public const
string
DateOfBirth
Specifies the URI for a claim that indicates the date of birth of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth</c> .
public const
string
DenyOnlyPrimaryGroupSid
Specifies the URI for a claim that indicates the deny-only primary group SID on an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid</c> .
public const
string
DenyOnlyPrimarySid
Specifies the URI for a claim that indicates the deny-only primary SID on an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid</c> .
public const
string
DenyOnlySid
Specifies the URI for a claim that indicates a deny-only security identifier (SID) for an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid</c> .
public const
string
DenyOnlyWindowsDeviceGroup
Specifies the URI for a claim that indicates the Windows deny-only group SID of a device; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlywindowsdevicegroup</c> .
public const
string
Dns
Specifies the URI for a claim that indicates the DNS name associated with the computer name or with the alternative name of either the subject or issuer of an X.509 certificate; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns</c> .
public const
string
Dsa
Specifies the URI for a digital signature algorithm (DSA) claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/dsa</c> .
public const
string
Email
Specifies the URI for a claim that indicates the email address of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress</c> .
public const
string
Expiration
Specifies the URI for an expiration claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration</c> .
public const
string
Expired
Specifies the URI for a claim that indicates the expired status of an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/expired</c> .
public const
string
Gender
Specifies the URI for a claim that indicates the gender of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender</c> .
public const
string
GivenName
Specifies the URI for a claim that indicates the given name of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname</c> .
public const
string
GroupSid
Specifies the URI for a claim that indicates the SID for the group of an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid</c> .
public const
string
Hash
Specifies the URI for a hash value claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash</c> .
public const
string
HomePhone
Specifies the URI for a claim that indicates the home phone number of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone</c> .
public const
string
IsPersistent
Specifies the URI for a persistence claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent</c> .
public const
string
Locality
Specifies the URI for a claim that indicates the locale in which an entity resides; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality</c> .
public const
string
MobilePhone
Specifies the URI for a claim that indicates the mobile phone number of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone</c> .
public const
string
Name
Specifies the URI for a claim that indicates the name of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name</c> .
public const
string
NameIdentifier
Specifies the URI for a claim that indicates the name identifier of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier</c> .
public const
string
OtherPhone
Specifies the URI for a claim that indicates the alternative phone number of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone</c> .
public const
string
PostalCode
Specifies the URI for a claim that indicates the postal code of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode</c> .
public const
string
PrimaryGroupSid
Specifies the URI for a claim that indicates the primary group SID of an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid</c> .
public const
string
PrimarySid
Specifies the URI for a claim that indicates the primary SID of an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid</c> .
public const
string
Role
Specifies the URI for a claim that indicates the role of an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/role</c> .
public const
string
Rsa
Specifies the URI for an RSA key claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa</c> .
public const
string
SerialNumber
Specifies the URI for a serial number claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/serialnumber</c> .
public const
string
Sid
Specifies the URI for a security identifier (SID) claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid</c> .
public const
string
Spn
Specifies the URI for a service principal name (SPN) claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn</c> .
public const
string
StateOrProvince
Specifies the URI for a claim that indicates the state or province in which an entity resides; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince</c> .
public const
string
StreetAddress
Specifies the URI for a claim that indicates the street address of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress</c> .
public const
string
Surname
Specifies the URI for a claim that indicates the surname of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname</c> .
public const
string
System
Specifies the URI for a system entity claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system</c> .
public const
string
Thumbprint
Specifies the URI for a thumbprint claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint</c> .
public const
string
Upn
Specifies the URI for a user principal name (UPN) claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn</c> .
public const
string
Uri
Specifies the URI for a URI claim; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri</c> .
public const
string
UserData
Specifies the URI for a user data claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata</c> .
public const
string
Version
Specifies the URI for a version claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/version</c> .
public const
string
Webpage
Specifies the URI for a claim that indicates the webpage of an entity; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage</c> .
public const
string
WindowsAccountName
Specifies the URI for a claim that indicates the Windows domain account name of an entity; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname</c> .
public const
string
WindowsDeviceClaim
Specifies the URI for a Windows device claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim</c> .
public const
string
WindowsDeviceGroup
Specifies the URI for a claim that indicates the Windows group SID of a device; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdevicegroup</c> .
public const
string
WindowsFqbnVersion
Specifies the URI for a claim that indicates the version of a fully qualified binary name of a Windows binary file; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion</c> .
public const
string
WindowsSubAuthority
Specifies the URI for a Windows subauthority claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority</c> .
public const
string
WindowsUserClaim
Specifies the URI for a Windows user claim; <c>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsuserclaim</c> .
public const
string
X500DistinguishedName
Specifies the URI for an X.500 distinguished name claim, such as the subject of an X.509 Public Key Certificate or an entry identifier in a directory services Directory Information Tree; <c>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname</c> .
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object