11 instantiations of SignInResult
Microsoft.AspNetCore.Mvc.Core (4)
ControllerBase.cs (4)
2441=> new SignInResult(principal); 2451=> new SignInResult(authenticationScheme, principal); 2463=> new SignInResult(principal, properties); 2478=> new SignInResult(authenticationScheme, principal, properties);
Microsoft.AspNetCore.Mvc.Core.Test (3)
SignInResultTest.cs (3)
30var result = new SignInResult("", principal, null); 57var result = new SignInResult(principal); 85var result = new SignInResult("Scheme1", principal, authProperties);
Microsoft.AspNetCore.Mvc.RazorPages (4)
PageBase.cs (2)
1107=> new SignInResult(authenticationScheme, principal); 1121=> new SignInResult(authenticationScheme, principal, properties);
PageModel.cs (2)
1459=> new SignInResult(authenticationScheme, principal); 1473=> new SignInResult(authenticationScheme, principal, properties);
33 references to SignInResult
Microsoft.AspNetCore.Mvc.Core (18)
ControllerBase.cs (12)
2435/// Creates a <see cref="SignInResult"/>. 2438/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 2440public virtual SignInResult SignIn(ClaimsPrincipal principal) 2444/// Creates a <see cref="SignInResult"/> with the specified authentication scheme. 2448/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 2450public virtual SignInResult SignIn(ClaimsPrincipal principal, string authenticationScheme) 2454/// Creates a <see cref="SignInResult"/> with <paramref name="properties"/>. 2458/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 2460public virtual SignInResult SignIn( 2466/// Creates a <see cref="SignInResult"/> with the specified authentication scheme and 2472/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 2474public virtual SignInResult SignIn(
SignInResult.cs (6)
17/// Initializes a new instance of <see cref="SignInResult"/> with the 27/// Initializes a new instance of <see cref="SignInResult"/> with the 38/// Initializes a new instance of <see cref="SignInResult"/> with the 49/// Initializes a new instance of <see cref="SignInResult"/> with the 84var logger = loggerFactory.CreateLogger(typeof(SignInResult)); 92[LoggerMessage(1, LogLevel.Information, $"Executing {nameof(SignInResult)} with authentication scheme ({{Scheme}}) and the following principal: {{Principal}}.", EventName = "SignInResultExecuting")]
Microsoft.AspNetCore.Mvc.Core.Test (3)
SignInResultTest.cs (3)
30var result = new SignInResult("", principal, null); 57var result = new SignInResult(principal); 85var result = new SignInResult("Scheme1", principal, authProperties);
Microsoft.AspNetCore.Mvc.RazorPages (12)
PageBase.cs (6)
1101/// Creates a <see cref="SignInResult"/> with the specified authentication scheme. 1105/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 1106public virtual SignInResult SignIn(ClaimsPrincipal principal, string authenticationScheme) 1110/// Creates a <see cref="SignInResult"/> with the specified authentication scheme and 1116/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 1117public virtual SignInResult SignIn(
PageModel.cs (6)
1453/// Creates a <see cref="SignInResult"/> with the specified authentication scheme. 1457/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 1458public virtual SignInResult SignIn(ClaimsPrincipal principal, string authenticationScheme) 1462/// Creates a <see cref="SignInResult"/> with the specified authentication scheme and 1468/// <returns>The created <see cref="SignInResult"/> for the response.</returns> 1469public virtual SignInResult SignIn(