Inheritance: extends Gdn_Pluggable
 public function __construct()
 {
     // This authenticator gets its data directly from the request object, always
     $this->_DataSourceType = Gdn_Authenticator::DATA_NONE;
     // Which cookie signals the presence of an authentication package?
     $this->_CookieName = Gdn::Config('Garden.Authenticators.proxy.CookieName', 'VanillaProxy');
     // Initialize built-in authenticator functionality
     parent::__construct();
 }
 public function __construct()
 {
     $this->_DataSourceType = Gdn_Authenticator::DATA_FORM;
     $this->HookDataField('Email', 'Email');
     $this->HookDataField('Password', 'Password');
     $this->HookDataField('RememberMe', 'RememberMe', FALSE);
     $this->HookDataField('ClientHour', 'ClientHour', FALSE);
     // Initialize built-in authenticator functionality
     parent::__construct();
 }
Esempio n. 3
0
 /**
  * End a session
  *
  * @param Gdn_Authenticator $Authenticator
  */
 public function End($Authenticator)
 {
     $Authenticator->AuthenticateWith()->DeAuthenticate();
 }