コード例 #1
0
ファイル: OAuth2.php プロジェクト: kingboard/kingboard
 /**
  * uses Kingboart_Auth to destroy the session, therefor logging the user out.
  * @param $params
  */
 public function logout(array $params)
 {
     \Kingboard\Lib\Auth\Auth::logout();
     session_destroy();
     $this->redirect("/");
 }
コード例 #2
0
ファイル: Auth.php プロジェクト: kingboard/kingboard
 public function logout($request)
 {
     \Kingboard\Lib\Auth\Auth::logout();
     $this->redirect("/");
 }