Introduce IScoped<TScope> interface for unified scope access and add AuthScope record. Remove legacy IScopedRequest interfaces to streamline scope management across the application.
10 lines
212 B
C#
10 lines
212 B
C#
using MediatR;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace ReC.Application.Common.Interfaces;
|
|
|
|
public interface IScoped<TScope> where TScope : notnull
|
|
{
|
|
[JsonIgnore]
|
|
public TScope Scope { get; }
|
|
} |