af1152b001
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
// <copyright file="IAuthorizationContext.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
/// <summary>
|
|
/// IAuthorization context.
|
|
/// </summary>
|
|
public interface IAuthorizationContext
|
|
{
|
|
/// <summary>
|
|
/// Gets the authorization information.
|
|
/// </summary>
|
|
/// <param name="requestContext">The request context.</param>
|
|
/// <returns>A task containing the authorization info.</returns>
|
|
Task<AuthorizationInfo> GetAuthorizationInfo(HttpContext requestContext);
|
|
|
|
/// <summary>
|
|
/// Gets the authorization information.
|
|
/// </summary>
|
|
/// <param name="requestContext">The request context.</param>
|
|
/// <returns>A <see cref="Task"/> containing the authorization info.</returns>
|
|
Task<AuthorizationInfo> GetAuthorizationInfo(HttpRequest requestContext);
|
|
}
|
|
}
|