Class Ethna_Plugin_Csrf_Session

Description

CSRF対策

CSRF対策をトークンを用いて対策するためのコード

Located in /class/Plugin/Csrf/Session.php (line 22)

Ethna_Plugin_Abstract
   |
   --Ethna_Plugin_Csrf
      |
      --Ethna_Plugin_Csrf_Session
Method Summary
 string get ()
 void remove ()
 boolean set ()
Variables
Methods
get (line 53)

トークンIDを取得する

  • return: トークンIDを返す。
  • access: public
string get ()

Redefinition of:
Ethna_Plugin_Csrf::get()
トークンIDを取得する
remove (line 67)

トークンIDを削除する

  • access: public
void remove ()

Redefinition of:
Ethna_Plugin_Csrf::remove()
トークンIDを削除する
set (line 30)

トークンをViewとローカルファイルにセットする

  • return: 成功か失敗か
  • access: public
boolean set ()

Redefinition of:
Ethna_Plugin_Csrf::set()
トークンをViewとローカルファイルにセットする

Inherited Methods

Inherited From Ethna_Plugin_Csrf

 Ethna_Plugin_Csrf::get()
 Ethna_Plugin_Csrf::getTokenName()
 Ethna_Plugin_Csrf::isValid()
 Ethna_Plugin_Csrf::remove()
 Ethna_Plugin_Csrf::set()
 Ethna_Plugin_Csrf::_generateKey()
 Ethna_Plugin_Csrf::_get_token()

Inherited From Ethna_Plugin_Abstract

 Ethna_Plugin_Abstract::__construct()
 Ethna_Plugin_Abstract::getConfig()
 Ethna_Plugin_Abstract::getName()
 Ethna_Plugin_Abstract::getType()
 Ethna_Plugin_Abstract::_detectName()
 Ethna_Plugin_Abstract::_detectType()
 Ethna_Plugin_Abstract::_load()
 Ethna_Plugin_Abstract::_loadConfig()

Documentation generated on Fri, 11 Nov 2011 03:59:01 +0900 by phpDocumentor 1.4.3