mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
49 lines
982 B
C#
49 lines
982 B
C#
using Microsoft.AspNetCore.Http;
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using Microsoft.AspNetCore.Authentication;
|
|
|
|
namespace Microsoft.AspNetCore.Authentication.Cookies
|
|
{
|
|
public class CookieAuthenticationOptions : AuthenticationSchemeOptions
|
|
{
|
|
public CookieBuilder Cookie
|
|
{
|
|
get
|
|
{
|
|
throw null;
|
|
}
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public bool CookieHttpOnly
|
|
{
|
|
get
|
|
{
|
|
return Cookie.HttpOnly;
|
|
}
|
|
set
|
|
{
|
|
Cookie.HttpOnly = value;
|
|
}
|
|
}
|
|
|
|
public CookieSecurePolicy CookieSecure
|
|
{
|
|
get
|
|
{
|
|
return Cookie.SecurePolicy;
|
|
}
|
|
set
|
|
{
|
|
Cookie.SecurePolicy = value;
|
|
}
|
|
}
|
|
|
|
public CookieAuthenticationOptions()
|
|
{
|
|
}
|
|
}
|
|
} |