1 write to Properties
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationTicket.cs (1)
25Properties = properties ?? new AuthenticationProperties();
41 references to Properties
Aspire.Dashboard (1)
Authentication\AspirePolicyEvaluator.cs (1)
71ticket.Properties.ExpiresUtc = minExpiresUtc;
CookieSessionSample (1)
MemoryCacheTicketStore.cs (1)
31var expiresUtc = ticket.Properties.ExpiresUtc;
Microsoft.AspNetCore.Authentication (8)
Events\TicketReceivedContext.cs (1)
25: base(context, scheme, options, ticket?.Properties)
HandleRequestResult.cs (1)
35return new HandleRequestResult() { Ticket = ticket, Properties = ticket.Properties };
RemoteAuthenticationHandler.cs (5)
148ReturnUri = ticket.Properties.RedirectUri 151ticket.Properties.RedirectUri = null; 204if (ticket != null && ticket.Principal != null && ticket.Properties != null 205&& ticket.Properties.Items.TryGetValue(AuthSchemeKey, out var authenticatedScheme) 209ticket.Properties, Scheme.Name));
TicketSerializer.cs (1)
70PropertiesSerializer.Default.Write(writer, ticket.Properties);
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticateResult.cs (1)
82return new AuthenticateResult() { Ticket = ticket, Properties = ticket.Properties };
AuthenticationTicket.cs (1)
66return new AuthenticationTicket(principal, Properties.Clone(), AuthenticationScheme);
Microsoft.AspNetCore.Authentication.Cookies (10)
CookieAuthenticationHandler.cs (8)
95var issuedUtc = ticket.Properties.IssuedUtc; 96var expiresUtc = ticket.Properties.ExpiresUtc; 97var allowRefresh = ticket.Properties.AllowRefresh ?? true; 118var issuedUtc = ticket.Properties.IssuedUtc; 119var expiresUtc = ticket.Properties.ExpiresUtc; 142foreach (var item in ticket.Properties.Items) 181var expiresUtc = ticket.Properties.ExpiresUtc; 250var properties = ticket.Properties;
CookieSlidingExpirationContext.cs (1)
24: base(context, scheme, options, ticket?.Properties)
CookieValidatePrincipalContext.cs (1)
22: base(context, scheme, options, ticket?.Properties)
Microsoft.AspNetCore.Authentication.Core.Test (14)
AuthenticationTicketTests.cs (14)
27Assert.Same(items, ticket.Properties.Items); 28Assert.Same(parameters, ticket.Properties.Parameters); 31Assert.NotSame(ticket.Properties.Items, copy.Properties.Items); 32Assert.NotSame(ticket.Properties.Parameters, copy.Properties.Parameters); 34Assert.Equal(ticket.Properties.Items, copy.Properties.Items); 35Assert.Equal(ticket.Properties.Parameters, copy.Properties.Parameters); 38Assert.NotEqual(ticket.Properties.Items, copy.Properties.Items); 39Assert.NotEqual(ticket.Properties.Parameters, copy.Properties.Parameters);
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (2)
1895if (result?.Ticket?.Properties != null) 1897xml.Add(result.Ticket.Properties.Items.Select(extra => new XElement("extra", new XAttribute("type", extra.Key), new XAttribute("value", extra.Value))));
TicketSerializerTests.cs (1)
27Assert.Equal("bye", readTicket.Properties.RedirectUri);
Microsoft.AspNetCore.Authorization.Policy (1)
PolicyEvaluator.cs (1)
60ticket.Properties.ExpiresUtc = minExpiresUtc;
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
130if (refreshTicket?.Properties?.ExpiresUtc is not { } expiresUtc ||