Results.Unauthorized Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Produces a Status401Unauthorized response.
public static Microsoft.AspNetCore.Http.IResult Unauthorized ();
static member Unauthorized : unit -> Microsoft.AspNetCore.Http.IResult
Public Shared Function Unauthorized () As IResult
Returns
The created IResult for the response.