21 instantiations of ChallengeResult
Identity.ExternalClaims (2)
Pages\Account\ExternalLogin.cshtml.cs (1)
60return new ChallengeResult(provider, properties);
Pages\Account\Manage\ExternalLogins.cshtml.cs (1)
81return new ChallengeResult(provider, properties);
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
122return new ChallengeResult(provider, properties);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
135return new ChallengeResult(provider, properties);
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
122return new ChallengeResult(provider, properties);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
135return new ChallengeResult(provider, properties);
Microsoft.AspNetCore.Mvc.Core (5)
Authorization\AuthorizeFilter.cs (1)
189context.Result = new ChallengeResult(effectivePolicy.AuthenticationSchemes.ToArray());
ControllerBase.cs (4)
2327=> new ChallengeResult(); 2341=> new ChallengeResult(authenticationSchemes); 2356=> new ChallengeResult(properties); 2375=> new ChallengeResult(authenticationSchemes, properties);
Microsoft.AspNetCore.Mvc.Core.Test (2)
ChallengeResultTest.cs (2)
21var result = new ChallengeResult("", null); 47var result = new ChallengeResult(new string[] { }, null);
Microsoft.AspNetCore.Mvc.RazorPages (8)
PageBase.cs (4)
160=> new ChallengeResult(); 173=> new ChallengeResult(authenticationSchemes); 187=> new ChallengeResult(properties); 205=> new ChallengeResult(authenticationSchemes, properties);
PageModel.cs (4)
492=> new ChallengeResult(); 505=> new ChallengeResult(authenticationSchemes); 519=> new ChallengeResult(properties); 537=> new ChallengeResult(authenticationSchemes, properties);
48 references to ChallengeResult
Microsoft.AspNetCore.Mvc.Core (19)
ChallengeResult.cs (7)
17/// Initializes a new instance of <see cref="ChallengeResult"/>. 25/// Initializes a new instance of <see cref="ChallengeResult"/> with the 35/// Initializes a new instance of <see cref="ChallengeResult"/> with the 45/// Initializes a new instance of <see cref="ChallengeResult"/> with the 56/// Initializes a new instance of <see cref="ChallengeResult"/> with the 68/// Initializes a new instance of <see cref="ChallengeResult"/> with the 97var logger = loggerFactory.CreateLogger(typeof(ChallengeResult));
ControllerBase.cs (12)
2317/// Creates a <see cref="ChallengeResult"/>. 2319/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 2326public virtual ChallengeResult Challenge() 2330/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes. 2333/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 2340public virtual ChallengeResult Challenge(params string[] authenticationSchemes) 2344/// Creates a <see cref="ChallengeResult"/> with the specified <paramref name="properties" />. 2348/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 2355public virtual ChallengeResult Challenge(AuthenticationProperties properties) 2359/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes and 2365/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 2372public virtual ChallengeResult Challenge(
Microsoft.AspNetCore.Mvc.Core.Test (4)
Authorization\AuthorizeFilterTest.cs (2)
49Assert.IsType<ChallengeResult>(authorizationContext.Result); 168Assert.IsType<ChallengeResult>(authorizationContext.Result);
ChallengeResultTest.cs (2)
21var result = new ChallengeResult("", null); 47var result = new ChallengeResult(new string[] { }, null);
Microsoft.AspNetCore.Mvc.RazorPages (24)
PageBase.cs (12)
151/// Creates a <see cref="ChallengeResult"/>. 153/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 159public virtual ChallengeResult Challenge() 163/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes. 166/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 172public virtual ChallengeResult Challenge(params string[] authenticationSchemes) 176/// Creates a <see cref="ChallengeResult"/> with the specified <paramref name="properties" />. 180/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 186public virtual ChallengeResult Challenge(AuthenticationProperties properties) 190/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes and 196/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 202public virtual ChallengeResult Challenge(
PageModel.cs (12)
483/// Creates a <see cref="ChallengeResult"/>. 485/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 491public virtual ChallengeResult Challenge() 495/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes. 498/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 504public virtual ChallengeResult Challenge(params string[] authenticationSchemes) 508/// Creates a <see cref="ChallengeResult"/> with the specified <paramref name="properties" />. 512/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 518public virtual ChallengeResult Challenge(AuthenticationProperties properties) 522/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes and 528/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns> 534public virtual ChallengeResult Challenge(
Negotiate.Server (1)
Controllers\AuthController.cs (1)
41public ChallengeResult GetUnauthorized()