4 references to AddOptions
CookieSessionSample (1)
Startup.cs (1)
22services.AddOptions<CookieAuthenticationOptions>(CookieAuthenticationDefaults.AuthenticationScheme)
Microsoft.AspNetCore.Authentication (1)
AuthenticationBuilder.cs (1)
46Services.AddOptions<TOptions>(authenticationScheme).Validate(o =>
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieExtensions.cs (1)
80builder.Services.AddOptions<CookieAuthenticationOptions>(authenticationScheme).Validate(o => o.Cookie.Expiration == null, "Cookie.Expiration is ignored, use ExpireTimeSpan instead.");
Microsoft.Extensions.Options (1)
OptionsServiceCollectionExtensions.cs (1)
268=> services.AddOptions<TOptions>(Options.Options.DefaultName);