]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/auth/class_CookieAuth.php
Continued:
[core.git] / inc / main / classes / auth / class_CookieAuth.php
index 1e195271c823630564b11b1e4afa58d2049573fd..b25213ae22b15c1df4fb2fccde81ece7d4117f36 100644 (file)
@@ -1,10 +1,17 @@
 <?php
+// Own namespace
+namespace CoreFramework\Auth;
+
+// Import framework stuff
+use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Registry\Registerable;
+
 /**
  * A cookie-bases authorization class
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -109,14 +116,11 @@ class CookieAuth extends BaseFrameworkSystem implements Authorizeable, Registera
        /**
         * Updates the authorization data and/or sets additional tracking data
         *
-        * @param       $requestInstance        An instance of a Requestable class
         * @return      void
         */
        public function updateAuthData () {
                $this->getResponseInstance()->refreshCookie('username');
                $this->getResponseInstance()->refreshCookie('u_hash');
        }
-}
 
-// [EOF]
-?>
+}