- Timestamp:
- 03/09/10 01:49:05 (5 months ago)
- Files:
-
- fAuthorization.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fAuthorization.php
r721 r766 Hide Line Numbers 3 3 * Allows defining and checking user authentication via ACLs, authorization levels or a simple logged in/not logged in scheme 4 4 * 5 * @copyright Copyright (c) 2007-20 09Will Bond5 * @copyright Copyright (c) 2007-2010 Will Bond 6 6 * @author Will Bond [wb] <will@flourishlib.com> 7 7 * @license http://flourishlib.com/license … … 10 10 * @link http://flourishlib.com/fAuthorization 11 11 * 12 * @version 1.0.0b4 12 * @version 1.0.0b5 13 * @changes 1.0.0b5 Added ::getLoginPage() [wb, 2010-03-09] 13 14 * @changes 1.0.0b4 Updated class to use new fSession API [wb, 2009-10-23] 14 15 * @changes 1.0.0b3 Updated class to use new fSession API [wb, 2009-05-08] … … 25 26 const checkLoggedIn = 'fAuthorization::checkLoggedIn'; 26 27 const destroyUserInfo = 'fAuthorization::destroyUserInfo'; 28 const getLoginPage = 'fAuthorization::getLoginPage'; 27 29 const getRequestedURL = 'fAuthorization::getRequestedURL'; 28 30 const getUserACLs = 'fAuthorization::getUserACLs'; … … 237 239 238 240 /** 241 * Returns the login page set via ::setLoginPage() 242 * 243 * @return string The login page users are redirected to if they don't have the required authorization 244 */ 245 static public function getLoginPage() 246 { 247 return self::$login_page; 248 } 249 250 /** 239 251 * Returns the URL requested before the user was redirected to the login page 240 252 * … … 507 519 508 520 /** 509 * Copyright (c) 2007-20 09Will Bond <will@flourishlib.com>521 * Copyright (c) 2007-2010 Will Bond <will@flourishlib.com> 510 522 * 511 523 * Permission is hereby granted, free of charge, to any person obtaining a copy
