using System.Security.Claims;

namespace DigitalData.Core.Security.Config;

public class ClaimDescriptor<TPrincipal>
{
    public Func<TPrincipal, IDictionary<string, object>>? CreateClaims { get; init; }

    public Func<TPrincipal, ClaimsIdentity>? CreateSubject { get; init; }
}