From 33d2384c93038b5837473b7ac405fcd356a4d9ac Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 18 Oct 2017 22:48:14 +0200 Subject: [PATCH] Add list of available cookie prefixes as constant in class 'Auth' --- src/Auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Auth.php b/src/Auth.php index a7983bc..5126ad5 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -28,6 +28,7 @@ final class Auth extends UserManager { const SESSION_FIELD_STATUS = 'auth_status'; const SESSION_FIELD_ROLES = 'auth_roles'; const SESSION_FIELD_REMEMBERED = 'auth_remembered'; + const COOKIE_PREFIXES = [ '__Secure-', '__Host-' ]; const COOKIE_CONTENT_SEPARATOR = '~'; const COOKIE_NAME_REMEMBER = 'auth_remember';