15 instantiations of CookiePolicyOptions
Microsoft.AspNetCore.CookiePolicy.Test (15)
CookieConsentTests.cs (1)
694var options = new CookiePolicyOptions();
CookiePolicyTests.cs (14)
52new CookiePolicyOptions 72new CookiePolicyOptions 92new CookiePolicyOptions 121new CookiePolicyOptions 141new CookiePolicyOptions 161new CookiePolicyOptions 182new CookiePolicyOptions 203new CookiePolicyOptions 224new CookiePolicyOptions 251app.UseCookiePolicy(new CookiePolicyOptions 290app.UseCookiePolicy(new CookiePolicyOptions 332app.UseCookiePolicy(new CookiePolicyOptions 366app.UseCookiePolicy(new CookiePolicyOptions 417app.UseCookiePolicy(new CookiePolicyOptions
26 references to CookiePolicyOptions
BasicWebSite (1)
StartupWithCookieTempDataProviderAndCookieConsent.cs (1)
13services.Configure<CookiePolicyOptions>(o =>
CookiePolicySample (1)
Startup.cs (1)
17services.Configure<CookiePolicyOptions>(options =>
Identity.DefaultUI.WebSite (3)
NoIdentityStartup.cs (1)
21services.Configure<CookiePolicyOptions>(options =>
PocoUserStartup.cs (1)
18services.Configure<CookiePolicyOptions>(options =>
StartupBase.cs (1)
27services.Configure<CookiePolicyOptions>(options =>
Microsoft.AspNetCore.CookiePolicy (17)
AppendCookieContext.cs (1)
10/// Context for <see cref="CookiePolicyOptions.OnAppendCookie"/> that allows changes to the cookie prior to being appended.
CookiePolicyAppBuilderExtensions.cs (2)
30/// <param name="options">A <see cref="CookiePolicyOptions"/> that specifies options for the handler.</param> 32public static IApplicationBuilder UseCookiePolicy(this IApplicationBuilder app, CookiePolicyOptions options)
CookiePolicyMiddleware.cs (6)
33/// <param name="options">Accessor to <see cref="CookiePolicyOptions"/>.</param> 35public CookiePolicyMiddleware(RequestDelegate next, IOptions<CookiePolicyOptions> options, ILoggerFactory factory) 46/// <param name="options">Accessor to <see cref="CookiePolicyOptions"/>.</param> 47public CookiePolicyMiddleware(RequestDelegate next, IOptions<CookiePolicyOptions> options) 55/// Gets or sets the <see cref="CookiePolicyOptions"/>. 57public CookiePolicyOptions Options { get; set; }
CookiePolicyServiceCollectionExtensions.cs (5)
17/// <param name="configureOptions">A delegate to configure the <see cref="CookiePolicyOptions"/>.</param> 19public static IServiceCollection AddCookiePolicy(this IServiceCollection services, Action<CookiePolicyOptions> configureOptions) 31/// <param name="configureOptions">A delegate to configure the <see cref="CookiePolicyOptions"/>.</param> 33public static IServiceCollection AddCookiePolicy<TService>(this IServiceCollection services, Action<CookiePolicyOptions, TService> configureOptions) where TService : class 38services.AddOptions<CookiePolicyOptions>().Configure(configureOptions);
DeleteCookieContext.cs (1)
10/// Context for <see cref="CookiePolicyOptions.OnDeleteCookie"/> that allows changes to the cookie prior to being deleted.
ResponseCookiesWrapper.cs (2)
19public ResponseCookiesWrapper(HttpContext context, CookiePolicyOptions options, IResponseCookiesFeature feature, ILogger logger) 33private CookiePolicyOptions Options { get; }
Microsoft.AspNetCore.CookiePolicy.Test (3)
CookieConsentTests.cs (2)
694var options = new CookiePolicyOptions(); 702private async Task<HttpContext> RunTestAsync(Action<CookiePolicyOptions> configureOptions, Action<HttpContext> configureRequest, RequestDelegate handleRequest)
CookiePolicyTests.cs (1)
523CookiePolicyOptions cookiePolicy,
OpenIdConnectSample (1)
Startup.cs (1)
86services.Configure<CookiePolicyOptions>(options =>