21 instantiations of ChallengeResult
Identity.ExternalClaims (2)
Pages\Account\ExternalLogin.cshtml.cs (1)
60
return new
ChallengeResult
(provider, properties);
Pages\Account\Manage\ExternalLogins.cshtml.cs (1)
81
return new
ChallengeResult
(provider, properties);
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
122
return new
ChallengeResult
(provider, properties);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
135
return new
ChallengeResult
(provider, properties);
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
122
return new
ChallengeResult
(provider, properties);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
135
return new
ChallengeResult
(provider, properties);
Microsoft.AspNetCore.Mvc.Core (5)
Authorization\AuthorizeFilter.cs (1)
189
context.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)
21
var result = new
ChallengeResult
("", null);
47
var 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
97
var 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>
2326
public 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>
2340
public 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>
2355
public 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>
2372
public virtual
ChallengeResult
Challenge(
Microsoft.AspNetCore.Mvc.Core.Test (4)
Authorization\AuthorizeFilterTest.cs (2)
49
Assert.IsType<
ChallengeResult
>(authorizationContext.Result);
168
Assert.IsType<
ChallengeResult
>(authorizationContext.Result);
ChallengeResultTest.cs (2)
21
var
result = new ChallengeResult("", null);
47
var
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>
159
public 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>
172
public 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>
186
public 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>
202
public virtual
ChallengeResult
Challenge(
PageModel.cs (12)
483
/// Creates a <see cref="
ChallengeResult
"/>.
485
/// <returns>The created <see cref="
ChallengeResult
"/> for the response.</returns>
491
public 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>
504
public 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>
518
public 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>
534
public virtual
ChallengeResult
Challenge(
Negotiate.Server (1)
Controllers\AuthController.cs (1)
41
public
ChallengeResult
GetUnauthorized()