46 references to String
mscorlib (21)
system\security\claims\Claim.cs (8)
100
/// <see cref="Claim.ValueType"/> is set to <see cref="ClaimValueTypes.
String
"/>,
108
: this(type, value, ClaimValueTypes.
String
, ClaimsIdentity.DefaultIssuer, ClaimsIdentity.DefaultIssuer, (ClaimsIdentity)null)
137
/// <param name="valueType">The claim value type. If this parameter is empty or null, then <see cref="ClaimValueTypes.
String
"/> is used.</param>
157
/// <param name="valueType">The claim value type. If this parameter is null, then <see cref="ClaimValueTypes.
String
"/> is used.</param>
177
/// <param name="valueType">The claim value type. If this parameter is null, then <see cref="ClaimValueTypes.
String
"/> is used.</param>
215
m_valueType = ClaimValueTypes.
String
;
443
m_valueType = ClaimValueTypes.
String
;
535
if (!string.Equals(m_valueType, ClaimValueTypes.
String
, StringComparison.Ordinal))
system\security\claims\ClaimsIdentity.cs (1)
353
SafeAddClaim(new Claim(m_nameType, identity.Name, ClaimValueTypes.
String
, DefaultIssuer, DefaultIssuer, this));
system\security\claims\RoleClaimProvider.cs (1)
44
yield return new Claim(m_subject.RoleClaimType, m_roles[i], ClaimValueTypes.
String
, m_issuer, m_issuer, m_subject);
system\security\principal\genericidentity.cs (1)
160
base.AddClaim(new Claim(base.NameClaimType, m_name, ClaimValueTypes.
String
, ClaimsIdentity.DefaultIssuer, ClaimsIdentity.DefaultIssuer, this));
system\security\principal\windowsidentity.cs (10)
1288
m_userClaims.Add(new Claim(NameClaimType, Name, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this));
1345
Claim claim = new Claim(claimType, groupSid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture));
1352
Claim claim = new Claim(claimType, groupSid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture));
1403
instanceClaims.Add(new Claim(ClaimTypes.PrimaryGroupSid, groupSid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1407
instanceClaims.Add(new Claim(ClaimTypes.GroupSid, groupSid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1414
instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimaryGroupSid, groupSid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1418
instanceClaims.Add(new Claim(ClaimTypes.DenyOnlySid, groupSid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1452
instanceClaims.Add(new Claim(ClaimTypes.PrimarySid, sid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(sid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1456
instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimarySid, sid.Value, ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(sid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1500
instanceClaims.Add( new Claim(windowsClaim.Name, Marshal.PtrToStringAuto(stringPointers[item]), ClaimValueTypes.
String
, m_issuerName, m_issuerName, this, propertyValue, string.Empty));
System.IdentityModel (23)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
73
string valueType = ClaimValueTypes.
String
;
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
99
wi.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, AuthenticationMethods.Windows, ClaimValueTypes.
String
));
System\IdentityModel\Tokens\Saml2Attribute.cs (1)
23
private string attributeValueXsiType = System.Security.Claims.ClaimValueTypes.
String
;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
1235
attributes.Add(this.CreateAttribute(new Claim(ClaimTypes.Actor, this.CreateXmlStringFromAttributes(collectedAttributes), ClaimValueTypes.
String
), tokenDescriptor));
1784
Claim claim = new Claim(ClaimTypes.NameIdentifier, nameId.Value, ClaimValueTypes.
String
, issuer);
1981
ClaimValueTypes.
String
,
3224
if (!StringComparer.Ordinal.Equals(data.AttributeValueXsiType, ClaimValueTypes.
String
))
System\IdentityModel\Tokens\SamlAttribute.cs (1)
19
string attributeValueXsiType = System.Security.Claims.ClaimValueTypes.
String
;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (6)
540
attributes.Add(CreateAttribute(new Claim(ClaimTypes.Actor, CreateXmlStringFromAttributes(collectedAttributes), ClaimValueTypes.
String
), tokenDescriptor));
1302
string claimValueType = ClaimValueTypes.
String
;
1364
Claim claim = new Claim(ClaimTypes.NameIdentifier, samlSubject.Name, ClaimValueTypes.
String
, issuer);
1406
subject.AddClaim(new Claim(ClaimTypes.AuthenticationMethod, NormalizeAuthenticationType(samlStatement.AuthenticationMethod), ClaimValueTypes.
String
, issuer));
1469
string claimValueType = ClaimValueTypes.
String
;
2788
if (SamlAttribute != null && !StringComparer.Ordinal.Equals(SamlAttribute.AttributeValueXsiType, ClaimValueTypes.
String
))
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
247
new Claim(ClaimTypes.AuthenticationMethod, authType, ClaimValueTypes.
String
));
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1336
|| c.Type == ClaimTypes.Name && c.Issuer == ClaimsIdentity.DefaultIssuer && c.ValueType == ClaimValueTypes.
String
)
System\IdentityModel\X509Util.cs (7)
198
claimsCollection.Add(new Claim(ClaimTypes.X500DistinguishedName, value, ClaimValueTypes.
String
, issuer));
204
claimsCollection.Add(new Claim(ClaimTypes.Dns, value, ClaimValueTypes.
String
, issuer));
210
claimsCollection.Add(new Claim(ClaimTypes.Name, value, ClaimValueTypes.
String
, issuer));
216
claimsCollection.Add(new Claim(ClaimTypes.Email, value, ClaimValueTypes.
String
, issuer));
222
claimsCollection.Add(new Claim(ClaimTypes.Upn, value, ClaimValueTypes.
String
, issuer));
228
claimsCollection.Add(new Claim(ClaimTypes.Uri, value, ClaimValueTypes.
String
, issuer));
262
claimsCollection.Add(new Claim(ClaimTypes.SerialNumber, value, ClaimValueTypes.
String
, issuer));
System.Web (2)
Security\FormsIdentity.cs (1)
118
base.AddClaim(new Claim(base.NameClaimType, _Ticket.Name, ClaimValueTypes.
String
, "Forms", "Forms", this));
Security\RoleClaimProvider.cs (1)
40
yield return new Claim(_subject.RoleClaimType, role, ClaimValueTypes.
String
, _rolePrincipal.ProviderName, _rolePrincipal.ProviderName, _subject);