using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ablera.Serdica.Authority.Services;

public sealed class ConfigureCookieTicketStore(ITicketStore store)
    : IPostConfigureOptions<CookieAuthenticationOptions>
{
    public void PostConfigure(string? scheme, CookieAuthenticationOptions opts)
        => opts.SessionStore = store;
}
