4 writes to Properties
Microsoft.AspNetCore.Authentication (2)
HandleRequestResult.cs (2)
35return new HandleRequestResult() { Ticket = ticket, Properties = ticket.Properties }; 56return new HandleRequestResult() { Failure = failure, Properties = properties };
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticateResult.cs (2)
82return new AuthenticateResult() { Ticket = ticket, Properties = ticket.Properties }; 112return new AuthenticateResult() { Failure = failure, Properties = properties };
30 references to Properties
Aspire.Dashboard (4)
Authentication\AspirePolicyEvaluator.cs (4)
53if (minExpiresUtc is null || result.Properties?.ExpiresUtc < minExpiresUtc) 55minExpiresUtc = result.Properties?.ExpiresUtc; 58else if (result.Properties?.GetParameter<bool>(SuppressChallengeKey) ?? false) 109if (authenticationResult.Failure != null && (authenticationResult.Properties?.GetParameter<bool>(SuppressChallengeKey) ?? false))
CookieSample (1)
Program.cs (1)
64foreach (var (key, value) in ticket.Properties.Items)
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
103properties = authResult.Properties;
Microsoft.AspNetCore.Authentication.Abstractions (3)
AuthenticateResult.cs (2)
24[MemberNotNullWhen(true, nameof(Ticket), nameof(Principal), nameof(Properties))] 64return Fail(Failure, Properties?.Clone());
TokenExtensions.cs (1)
140return result?.Properties?.GetTokenValue(tokenName);
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
95return AuthenticateResult.Success(new AuthenticationTicket(principal, result.Properties, result.Ticket!.AuthenticationScheme));
Microsoft.AspNetCore.Authentication.Test (6)
GoogleTests.cs (1)
1167var tokens = result.Properties.GetTokens();
JwtBearerTests.cs (2)
1232new { Expires = authenticationResult.Properties?.ExpiresUtc, Issued = authenticationResult.Properties?.IssuedUtc });
JwtBearerTests_Handler.cs (2)
1299new { Expires = authenticationResult.Properties?.ExpiresUtc, Issued = authenticationResult.Properties?.IssuedUtc });
TwitterTests.cs (1)
566var tokens = result.Properties.GetTokens();
Microsoft.AspNetCore.Authorization.Policy (2)
PolicyEvaluator.cs (2)
47if (minExpiresUtc is null || result.Properties?.ExpiresUtc < minExpiresUtc) 49minExpiresUtc = result.Properties?.ExpiresUtc;
Microsoft.AspNetCore.Authorization.Test (3)
AuthorizationMiddlewareTests.cs (3)
830res.Properties.ExpiresUtc = firstExpiration; 837res.Properties.ExpiresUtc = secondExpiration; 852Assert.Equal(secondExpiration, authenticateResultFeature.AuthenticateResult?.Properties?.ExpiresUtc);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
669authenticateResultFeature.AuthenticateResult?.Properties?.ExpiresUtc ?? DateTimeOffset.MaxValue;
Microsoft.AspNetCore.Identity (4)
SignInManager.cs (4)
183await SignInWithClaimsAsync(user, auth?.Properties, claims); 690var items = auth?.Properties?.Items; 715AuthenticationTokens = auth.Properties?.GetTokens(), 716AuthenticationProperties = auth.Properties
Microsoft.AspNetCore.Identity.InMemory.Test (2)
FunctionalTest.cs (2)
414if (result != null && result.Properties != null) 416xml.Add(result.Properties.Items.Select(extra => new XElement("extra", new XAttribute("type", extra.Key), new XAttribute("value", extra.Value))));
OpenIdConnectSample (1)
Startup.cs (1)
211var props = userResult.Properties;
SocialSample (1)
Startup.cs (1)
285var authProperties = userResult.Properties;