2 overrides of Build
Microsoft.AspNetCore.Authentication (1)
RequestPathBaseCookieBuilder.cs (1)
22public override CookieOptions Build(HttpContext context, DateTimeOffset expiresFrom)
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterOptions.cs (1)
120public override CookieOptions Build(HttpContext context, DateTimeOffset expiresFrom)
11 references to Build
Microsoft.AspNetCore.Authentication (3)
RemoteAuthenticationHandler.cs (2)
234var cookieOptions = Options.CorrelationCookie.Build(Context, TimeProvider.GetUtcNow()); 269var cookieOptions = Options.CorrelationCookie.Build(Context, TimeProvider.GetUtcNow());
RequestPathBaseCookieBuilder.cs (1)
32var options = base.Build(context, expiresFrom);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
1162var cookieOptions = Options.NonceCookie.Build(Context, TimeProvider.GetUtcNow()); 1193var cookieOptions = Options.NonceCookie.Build(Context, TimeProvider.GetUtcNow());
Microsoft.AspNetCore.Authentication.Twitter (3)
TwitterHandler.cs (2)
101var cookieOptions = Options.StateCookie.Build(Context, TimeProvider.GetUtcNow()); 175var cookieOptions = Options.StateCookie.Build(Context, TimeProvider.GetUtcNow());
TwitterOptions.cs (1)
122var options = base.Build(context, expiresFrom);
Microsoft.AspNetCore.Http.Abstractions (2)
CookieBuilder.cs (2)
63/// This is determined from the <see cref="HttpContext"/> passed to <see cref="Build(HttpContext, DateTimeOffset)"/>. 97public CookieOptions Build(HttpContext context) => Build(context, DateTimeOffset.Now);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
CookieBuilderTests.cs (1)
34var options = new CookieBuilder { Expiration = TimeSpan.FromHours(1) }.Build(new DefaultHttpContext(), now);