// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc { /// /// Represents an that when /// executed will produce an Unauthorized (401) response. /// public class UnauthorizedResult : StatusCodeResult { /// /// Creates a new instance. /// public UnauthorizedResult() : base(StatusCodes.Status401Unauthorized) { } } }