10 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)
195=> SignInAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, authenticationMethod); 224=> SignInWithClaimsAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, additionalClaims); 454new AuthenticationProperties { IsPersistent = true });
Microsoft.AspNetCore.Identity.Test (2)
SecurityStampValidatorTest.cs (2)
81var properties = new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow.AddSeconds(-1), IsPersistent = isPersistent }; 348new AuthenticationProperties { IsPersistent = true },
9 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 (2)
SignInManagerTest.cs (2)
761It.Is<AuthenticationProperties>(v => v.IsPersistent == true))).Returns(Task.FromResult(0)).Verifiable(); 983It.Is<AuthenticationProperties>(v => isPersistent == null || v.IsPersistent == isPersistent))).Returns(Task.FromResult(0)).Verifiable();