11 writes to IsPersistent
Aspire.Dashboard (1)
Model\ValidateTokenMiddleware.cs (1)
101new AuthenticationProperties { IsPersistent = true }).ConfigureAwait(false);
Identity.DefaultUI.WebSite (1)
Pages\Contoso\Login.cshtml.cs (1)
65IsPersistent = Input.RememberMe
Microsoft.AspNetCore.Authentication.Core.Test (3)
AuthenticationPropertiesTests.cs (3)
171props.IsPersistent = true; 313IsPersistent = true, 369IsPersistent = true,
Microsoft.AspNetCore.Identity (3)
SignInManager.cs (3)
208=> SignInAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, authenticationMethod); 237=> SignInWithClaimsAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, additionalClaims); 467new AuthenticationProperties { IsPersistent = true });
Microsoft.AspNetCore.Identity.Test (3)
SecurityStampValidatorTest.cs (2)
81var properties = new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow.AddSeconds(-1), IsPersistent = isPersistent }; 348new AuthenticationProperties { IsPersistent = true },
SignInManagerTest.cs (1)
609var properties = new AuthenticationProperties { IsPersistent = isPersistent };
10 references to IsPersistent
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
275if (properties.IsPersistent && _refreshExpiresUtc.HasValue) 329if (signInContext.Properties.IsPersistent)
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationPropertiesTests.cs (5)
169Assert.False(props.IsPersistent); 172Assert.True(props.IsPersistent); 176Assert.False(props.IsPersistent); 335Assert.Equal(props.IsPersistent, deserialized.IsPersistent);
Microsoft.AspNetCore.Identity.Test (3)
SignInManagerTest.cs (3)
622It.Is<AuthenticationProperties>(properties => properties.IsPersistent == isPersistent), 813It.Is<AuthenticationProperties>(v => v.IsPersistent == true))).Returns(Task.FromResult(0)).Verifiable(); 1035It.Is<AuthenticationProperties>(v => isPersistent == null || v.IsPersistent == isPersistent))).Returns(Task.FromResult(0)).Verifiable();