Example #1
0
 /**
  * Logout from user instance.
  *
  * Usage:
  * 
  * <code>\Hybrid\Auth::instance('user')->logout();</code>
  * 
  * @access  public
  * @return  bool
  */
 public function logout($redirect = true)
 {
     $this->provider->logout();
     return true;
 }
Example #2
0
 public function __construct($provider)
 {
     parent::__construct($provider);
     $this->provider = Auth_Provider_Normal::make();
     return $this;
 }