131 references to AuthenticationProperties
Aspire.Dashboard (1)
Model\ValidateTokenMiddleware.cs (1)
101new AuthenticationProperties { IsPersistent = true }).ConfigureAwait(false);
BasicWebSite (1)
BasicAuthenticationHandler.cs (1)
36new AuthenticationProperties(),
Identity.ExternalClaims (2)
Pages\Account\ExternalLogin.cshtml.cs (2)
82var props = new AuthenticationProperties(); 130var props = new AuthenticationProperties();
Keycloak.Web (2)
LoginLogoutEndpointRouteBuilderExtensions.cs (2)
13group.MapGet("/login", () => TypedResults.Challenge(new AuthenticationProperties { RedirectUri = "/" })) 16group.MapPost("/logout", () => TypedResults.SignOut(new AuthenticationProperties { RedirectUri = "/" },
Microsoft.AspNetCore.Authentication (7)
AuthenticationHandler.cs (2)
315properties ??= new AuthenticationProperties(); 330properties ??= new AuthenticationProperties();
Events\PropertiesContext.cs (1)
23Properties = properties ?? new AuthenticationProperties();
Events\RemoteAuthenticationContext.cs (1)
27=> Properties = properties ?? new AuthenticationProperties();
Events\ResultContext.cs (1)
37_properties ??= new AuthenticationProperties();
SignInAuthenticationHandler.cs (1)
43: HandleSignInAsync(user, properties ?? new AuthenticationProperties());
SignOutAuthenticationHandler.cs (1)
42: HandleSignOutAsync(properties ?? new AuthenticationProperties());
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationTicket.cs (1)
25Properties = properties ?? new AuthenticationProperties();
Microsoft.AspNetCore.Authentication.BearerToken (2)
BearerTokenHandler.cs (2)
68properties ??= new(); 108var refreshProperties = new AuthenticationProperties
Microsoft.AspNetCore.Authentication.Cookies (3)
CookieAuthenticationHandler.cs (3)
141var newProperties = new AuthenticationProperties(); 295properties = properties ?? new AuthenticationProperties(); 383properties = properties ?? new AuthenticationProperties();
Microsoft.AspNetCore.Authentication.Core.Test (19)
AuthenticationPropertiesTests.cs (12)
41var props = new AuthenticationProperties(); 78var props = new AuthenticationProperties(); 113var props = new AuthenticationProperties(); 131var props = new AuthenticationProperties(); 149var props = new AuthenticationProperties(); 168var props = new AuthenticationProperties(); 182var props = new AuthenticationProperties(); 196var props = new AuthenticationProperties(); 210var props = new AuthenticationProperties(); 224var props = new AuthenticationProperties(); 308var props = new AuthenticationProperties() 364var props = new AuthenticationProperties()
AuthenticationServiceTests.cs (1)
260new AuthenticationProperties(),
TokenExtensionTests.cs (6)
15var props = new AuthenticationProperties(); 34var props = new AuthenticationProperties(); 57var props = new AuthenticationProperties(); 81var props = new AuthenticationProperties(); 104var props = new AuthenticationProperties(); 156var props = new AuthenticationProperties();
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
Events\AuthenticationFailedContext.cs (1)
19: base(context, scheme, options, new AuthenticationProperties())
Events\RemoteSignoutContext.cs (1)
19: base(context, scheme, options, new AuthenticationProperties())
OpenIdConnectHandler.cs (1)
217properties ??= new AuthenticationProperties();
Microsoft.AspNetCore.Authentication.Test (55)
CookieTests.cs (12)
111new AuthenticationProperties()); 118new AuthenticationProperties()); 265new AuthenticationProperties()); 478new AuthenticationProperties() { ExpiresUtc = _timeProvider.GetUtcNow().Add(TimeSpan.FromMinutes(5)) })); 1243app.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Cookies", new AuthenticationProperties() { RedirectUri = "/" }))); 1477map.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Cookies", new AuthenticationProperties() { RedirectUri = "/" }))); 1509new AuthenticationProperties { RedirectUri = redirectUrl }) 1600new AuthenticationProperties { RedirectUri = "/redirect_test" }); 1647new AuthenticationProperties())); 1842await context.ChallengeAsync(CookieAuthenticationDefaults.AuthenticationScheme, new AuthenticationProperties()); 1846await context.ChallengeAsync(CookieAuthenticationDefaults.AuthenticationScheme, new AuthenticationProperties() { RedirectUri = "/CustomRedirect" }); 1850await DescribeAsync(res, AuthenticateResult.Success(new AuthenticationTicket(context.User, new AuthenticationProperties(), CookieAuthenticationDefaults.AuthenticationScheme)));
DynamicSchemeTests.cs (1)
125return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
FacebookTests.cs (4)
195var properties = new AuthenticationProperties(); 215map.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Facebook", new AuthenticationProperties() { RedirectUri = "/" }))); 248app.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Facebook", new AuthenticationProperties() { RedirectUri = "/" }))); 356var properties = new AuthenticationProperties();
GoogleTests.cs (10)
548var properties = new AuthenticationProperties(); 614var properties = new AuthenticationProperties(); 667var properties = new AuthenticationProperties(); 711var properties = new AuthenticationProperties(); 752var properties = new AuthenticationProperties(); 796var properties = new AuthenticationProperties(); 872var properties = new AuthenticationProperties(); 916var properties = new AuthenticationProperties(); 960var properties = new AuthenticationProperties(); 997var properties = new AuthenticationProperties();
MicrosoftAccountTests.cs (2)
233var properties = new AuthenticationProperties(); 388var properties = new AuthenticationProperties();
OAuthTests.cs (1)
266var properties = new AuthenticationProperties();
OpenIdConnect\OpenIdConnectChallengeTests.cs (4)
190var properties = new AuthenticationProperties(); 570var properties = new AuthenticationProperties(); 618var properties = new AuthenticationProperties(); 664var properties = new AuthenticationProperties();
OpenIdConnect\TestServerBuilder.cs (1)
99new AuthenticationProperties() { RedirectUri = "http://www.example.com/specific_redirect_uri" });
PolicyTests.cs (2)
377return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name))); 427return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
TestHandlers.cs (2)
42return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name))); 74return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
TicketSerializerTests.cs (4)
15var properties = new AuthenticationProperties(); 36var properties = new AuthenticationProperties(); 58var properties = new AuthenticationProperties(); 87var properties = new AuthenticationProperties();
TokenExtensionTests.cs (5)
11var props = new AuthenticationProperties(); 30var props = new AuthenticationProperties(); 53var props = new AuthenticationProperties(); 77var props = new AuthenticationProperties(); 100var props = new AuthenticationProperties();
TwitterTests.cs (5)
202var properties = new AuthenticationProperties(); 252var properties = new AuthenticationProperties(); 358var properties = new AuthenticationProperties(); 419Properties = new() 498Properties = new()
WsFederation\WsFederationTest.cs (1)
384var authProperties = new AuthenticationProperties() { RedirectUri = context.Request.GetEncodedUrl() };
WsFederation\WsFederationTest_Handler.cs (1)
380var authProperties = new AuthenticationProperties() { RedirectUri = context.Request.GetEncodedUrl() };
Microsoft.AspNetCore.Authentication.WsFederation (2)
AuthenticationFailedContext.cs (1)
21: base(context, scheme, options, new AuthenticationProperties())
RemoteSignoutContext.cs (1)
22: base(context, scheme, options, new AuthenticationProperties())
Microsoft.AspNetCore.Http.Results.Tests (9)
ForbidResultTests.cs (2)
38var authProperties = new AuthenticationProperties(); 63new AuthenticationProperties()
ResultsTests.cs (3)
469new object[] { new AuthenticationProperties(), new List<string> { "TestScheme" } }, 470new object[] { new AuthenticationProperties(), default(IList<string>) }, 1775(() => Results.SignOut(new(), null), typeof(SignOutHttpResult)),
SignInResultTests.cs (1)
61var authProperties = new AuthenticationProperties();
SignOutResultTests.cs (1)
56var authProperties = new AuthenticationProperties();
TypedResultsTests.cs (2)
479new object[] { new AuthenticationProperties(), new List<string> { "TestScheme" } }, 480new object[] { new AuthenticationProperties(), default(IList<string>) },
Microsoft.AspNetCore.Identity (5)
SignInManager.cs (5)
195=> SignInAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, authenticationMethod); 224=> SignInWithClaimsAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, additionalClaims); 242authenticationProperties ?? new AuthenticationProperties()); 454new AuthenticationProperties { IsPersistent = true }); 759var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
Microsoft.AspNetCore.Identity.Test (11)
SecurityStampValidatorTest.cs (8)
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) }, 224new AuthenticationProperties(), 261new AuthenticationProperties { IssuedUtc = DateTimeOffset.UtcNow }, 299new AuthenticationProperties 348new AuthenticationProperties { IsPersistent = true },
SignInManagerTest.cs (3)
1039var properties = new AuthenticationProperties(); 1070var properties = new AuthenticationProperties(); 1101var properties = new AuthenticationProperties();
Microsoft.AspNetCore.Mvc.Core.Test (5)
ForbidResultTest.cs (2)
48var authProperties = new AuthenticationProperties(); 78new AuthenticationProperties()
SignInResultTest.cs (1)
77var authProperties = new AuthenticationProperties();
SignOutResultTest.cs (2)
73var authProperties = new AuthenticationProperties(); 144var authProperties = new AuthenticationProperties();
OpenIdConnectSample (1)
Startup.cs (1)
176await context.SignOutAsync(OpenIdConnectDefaults.AuthenticationScheme, new AuthenticationProperties()
SocialSample (1)
Startup.cs (1)
255await context.ChallengeAsync(authType, new AuthenticationProperties() { RedirectUri = "/" });
WsFedSample (1)
Startup.cs (1)
71await context.SignOutAsync(WsFederationDefaults.AuthenticationScheme, new AuthenticationProperties()