public CookieClientIdGenerator(IHttpContextAccessor httpContextAccessor, IClientIdGeneratorConfiguration clientIdGeneratorConfiguration) { HttpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); Config = clientIdGeneratorConfiguration ?? throw new ArgumentNullException(nameof(clientIdGeneratorConfiguration)); }
public HttpHeaderClientIdGenerator(IHttpContextAccessor httpContextAccessor, IClientIdGeneratorConfiguration clientIdGeneratorConfiguration) : base(httpContextAccessor) { Config = clientIdGeneratorConfiguration ?? throw new ArgumentNullException(nameof(clientIdGeneratorConfiguration)); }