13 instantiations of ChallengeResult
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.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);
43 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.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(