{
namespace Microsoft.AspNetCore.Authentication.Cookies {
public class CookieAuthenticationOptions : AuthenticationSchemeOptions {
- public string CookieDomain { get; set; }
- public bool CookieHttpOnly { get; set; }
- public string CookieName { get; set; }
- public string CookiePath { get; set; }
- public CookieSecurePolicy CookieSecure { get; set; }
}
}
- namespace Microsoft.AspNetCore.Builder {
{
- public static class CookieAppBuilderExtensions {
{
- public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app);
- public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app, CookieAuthenticationOptions options);
- }
- }
}