Inheritance: extends Gdn_Pluggable
コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
ファイル: class.session.php プロジェクト: kennyma/Garden
 /**
  * End a session
  *
  * @param Gdn_Authenticator $Authenticator
  */
 public function End($Authenticator)
 {
     $Authenticator->AuthenticateWith()->DeAuthenticate();
 }