27 references to Value
Aspire.Dashboard (1)
Extensions\ClaimsIdentityExtensions.cs (1)
21return claim.Value;
Microsoft.AspNetCore.Antiforgery (7)
Internal\DefaultClaimUidExtractor.cs (7)
49if (subClaim != null && !string.IsNullOrEmpty(subClaim.Value)) 54subClaim.Value, 61if (nameIdentifierClaim != null && !string.IsNullOrEmpty(nameIdentifierClaim.Value)) 66nameIdentifierClaim.Value, 73if (upnClaim != null && !string.IsNullOrEmpty(upnClaim.Value)) 78upnClaim.Value, 107identifierParameters.Add(claim.Value);
Microsoft.AspNetCore.Authentication (1)
TicketSerializer.cs (1)
138writer.Write(claim.Value);
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
172ticket = await Options.SessionStore.RetrieveAsync(claim.Value, Context, Context.RequestAborted); 177_sessionKey = claim.Value;
Microsoft.AspNetCore.Authentication.OAuth (2)
ClaimAction.cs (1)
26/// Gets the value to use for <see cref="Claim.Value"/>when creating a Claim.
MapAllClaimsAction.cs (1)
32&& string.Equals(c.Value, claimValue, StringComparison.Ordinal)) != null;
Microsoft.AspNetCore.Authorization (1)
ClaimsAuthorizationRequirement.cs (1)
72&& requirement.AllowedValues!.Contains(claim.Value, StringComparer.Ordinal))
Microsoft.AspNetCore.Components.Authorization (2)
ClaimData.cs (2)
28/// <see cref="Claim.Type"/> and <see cref="Claim.Value"/> into their corresponding properties. 32: this(claim.Type, claim.Value)
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionDispatcher.cs (2)
646var originalName = connection.User.FindFirst(ClaimTypes.NameIdentifier)?.Value; 647var newName = connection.HttpContext?.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
Microsoft.AspNetCore.SignalR.Core (1)
DefaultUserIdProvider.cs (1)
17return connection.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
Microsoft.Extensions.Identity.Core (1)
PrincipalExtensions.cs (1)
23return claim?.Value;
Microsoft.Extensions.Identity.Stores (3)
IdentityRoleClaim.cs (1)
51ClaimValue = other?.Value;
IdentityUserClaim.cs (1)
51ClaimValue = claim.Value;
RoleStoreBase.cs (1)
247=> new TRoleClaim { RoleId = role.Id, ClaimType = claim.Type, ClaimValue = claim.Value };
System.Security.Claims (4)
System\Security\Claims\Claim.cs (1)
514/// The returned string contains the values of the <see cref="Type"/> and <see cref="Value"/> properties.
System\Security\Claims\ClaimsIdentity.cs (3)
421/// <remarks>Calls <see cref="FindFirst(string)"/> where string == NameClaimType, if found, returns <see cref="Claim.Value"/> otherwise null.</remarks> 430return claim.Value; 727&& string.Equals(claim.Value, value, StringComparison.Ordinal))