aspnetcore/src/Microsoft.AspNet.Authentica.../Events/EndpointContext.cs

23 lines
576 B
C#

// 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.AspNet.Http;
namespace Microsoft.AspNet.Authentication
{
public abstract class EndpointContext : BaseContext
{
protected EndpointContext(HttpContext context)
: base(context)
{
}
public bool IsRequestCompleted { get; private set; }
public void RequestCompleted()
{
IsRequestCompleted = true;
}
}
}