Auth::setAllowLogin() (Previous) (Next) Auth::setAuthData()

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Auth::setAuth()

Auth::setAuth() -- 特定のユーザをログイン済みとして扱う

説明

指定したユーザが、そのセッションでログイン済みであるとして扱います。 通常は内部的に使用するものですが、この関数を使用してログイン情報を詐称することも可能です。

パラメータ

string $name

データフィールドの名前。

注意

この関数は、スタティックにコールする ことはできません。

この関数は session_regenerate_id() をコールします。 そのため、セッション固定攻撃 (session fixation attack) を防ぐことができます。

Auth::setAllowLogin() (Previous) (Next) Auth::setAuthData()

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.