diff --git a/pkg/http/cookie.go b/pkg/http/cookie.go index 922aec0..cbd9655 100644 --- a/pkg/http/cookie.go +++ b/pkg/http/cookie.go @@ -117,3 +117,7 @@ func (c *CookieHandler) DeleteCookie(w http.ResponseWriter, name string) { SameSite: c.sameSite, }) } + +func (c *CookieHandler) IsRequestAware() bool { + return c.secureCookieFunc != nil +}