System.Security.Claims
5 wrapped types. Load them with using { "System.Security.Claims" }. Click a class to open it.
Claim class
System.Security.Claims.Claim · assembly System.Security.Claims
Constructors
new Claim(BinaryReader reader) |
new Claim(BinaryReader reader, ClaimsIdentity subject) |
new Claim(string type, string value) |
new Claim(string type, string value, string valueType) |
new Claim(string type, string value, string valueType, string issuer) |
new Claim(string type, string value, string valueType, string issuer, string originalIssuer) |
new Claim(string type, string value, string valueType, string issuer, string originalIssuer, ClaimsIdentity subject) |
Ring: new Claim(args) uses one constructor; the others are chosen by the parameter names: new Claim().@New([ :param = value ]) or dnNew("Claim",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Issuer | string | read | o.Issuer |
OriginalIssuer | string | read | o.OriginalIssuer |
Properties | IDictionary<string, string> | read | o.Properties |
Subject | ClaimsIdentity | read | o.Subject |
Type | string | read | o.Type |
Value | string | read | o.Value |
ValueType | string | read | o.ValueType |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | Clone(NULL)Clone(value)Clone([ :identity = … ]) | Claim Clone()Claim Clone(ClaimsIdentity identity) |
ToString | callMethod("ToString",[]) | string ToString() |
WriteTo | WriteTo(p1) | void WriteTo(BinaryWriter writer) |
ClaimsIdentity class
System.Security.Claims.ClaimsIdentity · assembly System.Security.Claims
Implements: IIdentity
Constructors
new ClaimsIdentity() |
new ClaimsIdentity(IIdentity identity) |
new ClaimsIdentity(IEnumerable<Claim> claims) |
new ClaimsIdentity(string authenticationType) |
new ClaimsIdentity(IEnumerable<Claim> claims, string authenticationType) |
new ClaimsIdentity(IIdentity identity, IEnumerable<Claim> claims) |
new ClaimsIdentity(string authenticationType, string nameType, string roleType) |
new ClaimsIdentity(IEnumerable<Claim> claims, string authenticationType, string nameType, string roleType) |
new ClaimsIdentity(IIdentity identity, IEnumerable<Claim> claims, string authenticationType, string nameType, string roleType) |
new ClaimsIdentity(BinaryReader reader) |
Ring: new ClaimsIdentity(args) uses one constructor; the others are chosen by the parameter names: new ClaimsIdentity().@New([ :param = value ]) or dnNew("ClaimsIdentity",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AuthenticationType | string | read | o.AuthenticationType |
IsAuthenticated | bool | read | o.IsAuthenticated |
Actor | ClaimsIdentity | read, write | o.Actor o.Actor = v |
BootstrapContext | object | read, write | o.BootstrapContext o.BootstrapContext = v |
Claims | IEnumerable<Claim> | read | o.Claims |
Label | string | read, write | o.Label o.Label = v |
Name | string | read | o.Name |
NameClaimType | string | read | o.NameClaimType |
RoleClaimType | string | read | o.RoleClaimType |
DefaultIssuer | string | constant · static | o.DefaultIssuer |
DefaultNameClaimType | string | constant · static | o.DefaultNameClaimType |
DefaultRoleClaimType | string | constant · static | o.DefaultRoleClaimType |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddClaim | AddClaim(p1) | void AddClaim(Claim claim) |
AddClaims | AddClaims(p1) | void AddClaims(IEnumerable<Claim> claims) |
Clone | callMethod("Clone",[]) | ClaimsIdentity Clone() |
FindAll | callMethod("FindAll",[p1]) | IEnumerable<Claim> FindAll(Predicate<Claim> match)IEnumerable<Claim> FindAll(string type) |
FindFirst | callMethod("FindFirst",[p1]) | Claim FindFirst(Predicate<Claim> match)Claim FindFirst(string type) |
HasClaim | callMethod("HasClaim",[p1])callMethod("HasClaim",[p1,p2]) | bool HasClaim(Predicate<Claim> match)bool HasClaim(string type, string value) |
RemoveClaim | RemoveClaim(p1) | void RemoveClaim(Claim claim) |
TryRemoveClaim | TryRemoveClaim(p1) | bool TryRemoveClaim(Claim claim) |
WriteTo | WriteTo(p1) | void WriteTo(BinaryWriter writer) |
ClaimsPrincipal class
System.Security.Claims.ClaimsPrincipal · assembly System.Security.Claims
Implements: IPrincipal
Constructors
new ClaimsPrincipal() |
new ClaimsPrincipal(IEnumerable<ClaimsIdentity> identities) |
new ClaimsPrincipal(IIdentity identity) |
new ClaimsPrincipal(IPrincipal principal) |
new ClaimsPrincipal(BinaryReader reader) |
Ring: new ClaimsPrincipal(args) uses one constructor; the others are chosen by the parameter names: new ClaimsPrincipal().@New([ :param = value ]) or dnNew("ClaimsPrincipal",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Claims | IEnumerable<Claim> | read | o.Claims |
Identities | IEnumerable<ClaimsIdentity> | read | o.Identities |
Identity | IIdentity | read | o.Identity |
PrimaryIdentitySelector | Func<IEnumerable<ClaimsIdentity>, ClaimsIdentity> | read, write · static | o.PrimaryIdentitySelector o.PrimaryIdentitySelector = v |
ClaimsPrincipalSelector | Func<ClaimsPrincipal> | read, write · static | o.ClaimsPrincipalSelector o.ClaimsPrincipalSelector = v |
Current | ClaimsPrincipal | read · static | o.Current |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddIdentities | AddIdentities(p1) | void AddIdentities(IEnumerable<ClaimsIdentity> identities) |
AddIdentity | AddIdentity(p1) | void AddIdentity(ClaimsIdentity identity) |
Clone | callMethod("Clone",[]) | ClaimsPrincipal Clone() |
FindAll | callMethod("FindAll",[p1]) | IEnumerable<Claim> FindAll(Predicate<Claim> match)IEnumerable<Claim> FindAll(string type) |
FindFirst | callMethod("FindFirst",[p1]) | Claim FindFirst(Predicate<Claim> match)Claim FindFirst(string type) |
HasClaim | callMethod("HasClaim",[p1])callMethod("HasClaim",[p1,p2]) | bool HasClaim(Predicate<Claim> match)bool HasClaim(string type, string value) |
IsInRole | callMethod("IsInRole",[p1]) | bool IsInRole(string role) |
WriteTo | WriteTo(p1) | void WriteTo(BinaryWriter writer) |
ClaimTypes class static
System.Security.Claims.ClaimTypes · assembly System.Security.Claims
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AuthenticationInstant | string | constant · static | o.AuthenticationInstant |
AuthenticationMethod | string | constant · static | o.AuthenticationMethod |
CookiePath | string | constant · static | o.CookiePath |
DenyOnlyPrimarySid | string | constant · static | o.DenyOnlyPrimarySid |
DenyOnlyPrimaryGroupSid | string | constant · static | o.DenyOnlyPrimaryGroupSid |
DenyOnlyWindowsDeviceGroup | string | constant · static | o.DenyOnlyWindowsDeviceGroup |
Dsa | string | constant · static | o.Dsa |
Expiration | string | constant · static | o.Expiration |
Expired | string | constant · static | o.Expired |
GroupSid | string | constant · static | o.GroupSid |
IsPersistent | string | constant · static | o.IsPersistent |
PrimaryGroupSid | string | constant · static | o.PrimaryGroupSid |
PrimarySid | string | constant · static | o.PrimarySid |
Role | string | constant · static | o.Role |
SerialNumber | string | constant · static | o.SerialNumber |
UserData | string | constant · static | o.UserData |
Version | string | constant · static | o.Version |
WindowsAccountName | string | constant · static | o.WindowsAccountName |
WindowsDeviceClaim | string | constant · static | o.WindowsDeviceClaim |
WindowsDeviceGroup | string | constant · static | o.WindowsDeviceGroup |
WindowsUserClaim | string | constant · static | o.WindowsUserClaim |
WindowsFqbnVersion | string | constant · static | o.WindowsFqbnVersion |
WindowsSubAuthority | string | constant · static | o.WindowsSubAuthority |
Anonymous | string | constant · static | o.Anonymous |
Authentication | string | constant · static | o.Authentication |
AuthorizationDecision | string | constant · static | o.AuthorizationDecision |
Country | string | constant · static | o.Country |
DateOfBirth | string | constant · static | o.DateOfBirth |
Dns | string | constant · static | o.Dns |
DenyOnlySid | string | constant · static | o.DenyOnlySid |
Email | string | constant · static | o.Email |
Gender | string | constant · static | o.Gender |
GivenName | string | constant · static | o.GivenName |
Hash | string | constant · static | o.Hash |
HomePhone | string | constant · static | o.HomePhone |
Locality | string | constant · static | o.Locality |
MobilePhone | string | constant · static | o.MobilePhone |
Name | string | constant · static | o.Name |
NameIdentifier | string | constant · static | o.NameIdentifier |
OtherPhone | string | constant · static | o.OtherPhone |
PostalCode | string | constant · static | o.PostalCode |
Rsa | string | constant · static | o.Rsa |
Sid | string | constant · static | o.Sid |
Spn | string | constant · static | o.Spn |
StateOrProvince | string | constant · static | o.StateOrProvince |
StreetAddress | string | constant · static | o.StreetAddress |
Surname | string | constant · static | o.Surname |
System | string | constant · static | o.System |
Thumbprint | string | constant · static | o.Thumbprint |
Upn | string | constant · static | o.Upn |
Uri | string | constant · static | o.Uri |
Webpage | string | constant · static | o.Webpage |
X500DistinguishedName | string | constant · static | o.X500DistinguishedName |
Actor | string | constant · static | o.Actor |
ClaimValueTypes class static
System.Security.Claims.ClaimValueTypes · assembly System.Security.Claims
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Base64Binary | string | constant · static | o.Base64Binary |
Base64Octet | string | constant · static | o.Base64Octet |
Boolean | string | constant · static | o.Boolean |
Date | string | constant · static | o.Date |
DateTime | string | constant · static | o.DateTime |
Double | string | constant · static | o.Double |
Fqbn | string | constant · static | o.Fqbn |
HexBinary | string | constant · static | o.HexBinary |
Integer | string | constant · static | o.Integer |
Integer32 | string | constant · static | o.Integer32 |
Integer64 | string | constant · static | o.Integer64 |
Sid | string | constant · static | o.Sid |
String | string | constant · static | o.String |
Time | string | constant · static | o.Time |
UInteger32 | string | constant · static | o.UInteger32 |
UInteger64 | string | constant · static | o.UInteger64 |
DnsName | string | constant · static | o.DnsName |
Email | string | constant · static | o.Email |
Rsa | string | constant · static | o.Rsa |
UpnName | string | constant · static | o.UpnName |
DsaKeyValue | string | constant · static | o.DsaKeyValue |
KeyInfo | string | constant · static | o.KeyInfo |
RsaKeyValue | string | constant · static | o.RsaKeyValue |
DaytimeDuration | string | constant · static | o.DaytimeDuration |
YearMonthDuration | string | constant · static | o.YearMonthDuration |
Rfc822Name | string | constant · static | o.Rfc822Name |
X500Name | string | constant · static | o.X500Name |