Changeset 759 for trunk/wifidog-auth/wifidog/classes/Authenticator.php
- Timestamp:
- 09/17/05 14:46:30 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/Authenticator.php
r745 r759 24 24 */ 25 25 26 require_once BASEPATH.'classes/Network.php'; 27 26 28 /** Abstract class to represent an authentication source */ 27 29 abstract class Authenticator 28 30 { 29 private $m AccountOrigin;31 private $mNetwork; 30 32 31 function __construct($ account_orgin)33 function __construct($network_id) 32 34 { 33 $this->m AccountOrigin = $account_orgin;35 $this->mNetwork = Network::getObject($network_id); 34 36 } 35 37 36 public function get AccountOrigin()38 public function getNetwork() 37 39 { 38 return $this->m AccountOrigin;40 return $this->mNetwork; 39 41 } 40 42
