17 writes to IssuedUtc
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
254properties.IssuedUtc = _refreshIssuedUtc; 319signInContext.Properties.IssuedUtc = issuedUtc;
Microsoft.AspNetCore.Authentication.Core.Test (3)
AuthenticationPropertiesTests.cs (3)
199props.IssuedUtc = new DateTimeOffset(new DateTime(2018, 03, 21, 0, 0, 0, DateTimeKind.Utc)); 312IssuedUtc = new DateTimeOffset(2021, 03, 28, 12, 47, 00, TimeSpan.Zero), 368IssuedUtc = new DateTimeOffset(2021, 03, 28, 12, 47, 00, TimeSpan.Zero),
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
160tokenValidatedContext.Properties.IssuedUtc = GetSafeDateTime(validatedToken.ValidFrom);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
1427properties.IssuedUtc = issued; 1482properties.IssuedUtc = issued;
Microsoft.AspNetCore.Authentication.Test (1)
CookieTests.cs (1)
843ctx.Properties.IssuedUtc = _timeProvider.GetUtcNow();
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
323properties.IssuedUtc = issued.ToUniversalTime();
Microsoft.AspNetCore.Identity (1)
SecurityStampValidator.cs (1)
117context.Properties.IssuedUtc = TimeProvider.GetUtcNow();
Microsoft.AspNetCore.Identity.Test (6)
SecurityStampValidatorTest.cs (6)
63var ticket = new AuthenticationTicket(id, new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow }, IdentityConstants.ApplicationScheme); 81var properties = new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow.AddSeconds(-1), IsPersistent = isPersistent }; 141new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow.AddSeconds(-1) }, 182new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow.AddSeconds(-1) }, 261new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow }, 301IssuedUtc = timeProvider.GetUtcNow() - TimeSpan.FromDays(1),
14 references to IssuedUtc
Microsoft.AspNetCore.Authentication.Cookies (4)
CookieAuthenticationHandler.cs (4)
95var issuedUtc = ticket.Properties.IssuedUtc; 118var issuedUtc = ticket.Properties.IssuedUtc; 312if (signInContext.Properties.IssuedUtc.HasValue) 314issuedUtc = signInContext.Properties.IssuedUtc.Value;
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationPropertiesTests.cs (5)
197Assert.Null(props.IssuedUtc); 200Assert.Equal(new DateTimeOffset(new DateTime(2018, 03, 21, 0, 0, 0, DateTimeKind.Utc)), props.IssuedUtc); 204Assert.Null(props.IssuedUtc); 334Assert.Equal(props.IssuedUtc, deserialized.IssuedUtc);
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (1)
939lastValidateIssuedDate = ctx.Properties.IssuedUtc;
JwtBearerTests.cs (1)
1232new { Expires = authenticationResult.Properties?.ExpiresUtc, Issued = authenticationResult.Properties?.IssuedUtc });
JwtBearerTests_Handler.cs (1)
1291new { Expires = authenticationResult.Properties?.ExpiresUtc, Issued = authenticationResult.Properties?.IssuedUtc });
Microsoft.AspNetCore.Identity (1)
SecurityStampValidator.cs (1)
139var issuedUtc = context.Properties.IssuedUtc;
Microsoft.AspNetCore.Identity.Test (1)
SecurityStampValidatorTest.cs (1)
315Assert.Equal(now, context.Properties.IssuedUtc);