3 instantiations of UnauthorizedResult
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
1716
=> new
UnauthorizedResult
();
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1163
=> new
UnauthorizedResult
();
PageModel.cs (1)
1520
=> new
UnauthorizedResult
();
11 references to UnauthorizedResult
Microsoft.AspNetCore.Mvc.Core (5)
ControllerBase.cs (3)
1711
/// Creates an <see cref="
UnauthorizedResult
"/> that produces a <see cref="StatusCodes.Status401Unauthorized"/> response.
1713
/// <returns>The created <see cref="
UnauthorizedResult
"/> for the response.</returns>
1715
public virtual
UnauthorizedResult
Unauthorized()
UnauthorizedResult.cs (2)
10
/// Represents an <see cref="
UnauthorizedResult
"/> that when
19
/// Creates a new <see cref="
UnauthorizedResult
"/> instance.
Microsoft.AspNetCore.Mvc.RazorPages (6)
PageBase.cs (3)
1159
/// Creates an <see cref="
UnauthorizedResult
"/> that produces an <see cref="StatusCodes.Status401Unauthorized"/> response.
1161
/// <returns>The created <see cref="
UnauthorizedResult
"/> for the response.</returns>
1162
public virtual
UnauthorizedResult
Unauthorized()
PageModel.cs (3)
1516
/// Creates an <see cref="
UnauthorizedResult
"/> that produces an <see cref="StatusCodes.Status401Unauthorized"/> response.
1518
/// <returns>The created <see cref="
UnauthorizedResult
"/> for the response.</returns>
1519
public virtual
UnauthorizedResult
Unauthorized()