2 writes to Subject
System.IdentityModel (2)
System\IdentityModel\SecurityTokenService.cs (2)
744
_tokenDescriptor.
Subject
= GetOutputClaimsIdentity(principal, request, scope);
939
_tokenDescriptor.
Subject
= EndGetOutputClaimsIdentity(result);
17 references to Subject
System.IdentityModel (17)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (7)
1298
Saml2AttributeStatement attributeStatement = this.CreateAttributeStatement(tokenDescriptor.
Subject
, tokenDescriptor);
1333
if (tokenDescriptor.
Subject
== null)
1342
IEnumerable<Claim> claimCollection = from c in tokenDescriptor.
Subject
.Claims where c.Type == ClaimTypes.AuthenticationMethod select c;
1351
claimCollection = from c in tokenDescriptor.
Subject
.Claims where c.Type == ClaimTypes.AuthenticationInstant select c;
1423
if (tokenDescriptor.
Subject
!= null && tokenDescriptor.
Subject
.Claims != null)
1425
foreach (Claim claim in tokenDescriptor.
Subject
.Claims)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (7)
311
SamlAttributeStatement attributeStatement = CreateAttributeStatement(subject, tokenDescriptor.
Subject
, tokenDescriptor);
350
if (tokenDescriptor.
Subject
== null)
358
IEnumerable<Claim> claimCollection = (from c in tokenDescriptor.
Subject
.Claims
369
claimCollection = (from c in tokenDescriptor.
Subject
.Claims
566
if (tokenDescriptor.
Subject
!= null && tokenDescriptor.
Subject
.Claims != null)
568
foreach (Claim claim in tokenDescriptor.
Subject
.Claims)
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (2)
246
this.
Subject
.AddClaim(
249
this.
Subject
.AddClaim(
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
248
ClaimsPrincipal principal = new ClaimsPrincipal(tokenDescriptor.
Subject
);