18 references to Subject
Microsoft.AspNetCore.Authentication (1)
TicketSerializer.cs (1)
125WriteWithDefault(writer, claim.Type, claim.Subject?.NameClaimType ?? ClaimsIdentity.DefaultNameClaimType);
OpenIdConnectSample (1)
Startup.cs (1)
371identity.AddClaim(new Claim(claim.Type, claim.Value, claim.ValueType, issuer, claim.OriginalIssuer, claim.Subject));
System.Security.Claims (16)
System\Security\Claims\Claim.cs (10)
57/// <param name="subject"> the value for <see cref="Claim.Subject"/>, which is the <see cref="ClaimsIdentity"/> that has these claims.</param> 151/// <see cref="Claim.Subject"/> is set to null. 171/// and <see cref="Claim.Subject"/> is set to null. 191/// <see cref="Claim.Subject"/> is set to null. 211/// <see cref="Claim.Subject"/> is set to null. 274/// <remarks><see cref="Claim.Subject"/>will be set to 'null'.</remarks> 285/// <param name="subject">the <see cref="ClaimsIdentity"/> to assign to <see cref="Claim.Subject"/>.</param> 286/// <remarks><see cref="Claim.Subject"/>will be set to 'subject'.</remarks> 391/// <param name="identity">the value for <see cref="Claim.Subject"/>, which is the <see cref="ClaimsIdentity"/> that has these claims.</param> 392/// <remarks><see cref="Claim.Subject"/> will be set to 'identity'.</remarks>
System\Security\Claims\ClaimsIdentity.cs (6)
411/// <remarks>If <see cref="Claim.Subject"/> != this, then Claim.Clone(this) is called before the claim is added.</remarks> 417if (object.ReferenceEquals(claim.Subject, this)) 431/// <remarks>Each claim is examined and if <see cref="Claim.Subject"/> != this, then Claim.Clone(this) is called before the claim is added.</remarks> 444if (object.ReferenceEquals(claim.Subject, this)) 511if (object.ReferenceEquals(claim.Subject, this)) 531if (object.ReferenceEquals(claim.Subject, this))