File: IAuthenticationFeature.cs
Web Access
Project: src\src\Http\Authentication.Abstractions\src\Microsoft.AspNetCore.Authentication.Abstractions.csproj (Microsoft.AspNetCore.Authentication.Abstractions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.AspNetCore.Http;
 
namespace Microsoft.AspNetCore.Authentication;
 
/// <summary>
/// Used to capture path info so redirects can be computed properly within an app.Map().
/// </summary>
public interface IAuthenticationFeature
{
    /// <summary>
    /// The original path base.
    /// </summary>
    PathString OriginalPathBase { get; set; }
 
    /// <summary>
    /// The original path.
    /// </summary>
    PathString OriginalPath { get; set; }
}