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

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Auth::setAuth()

Auth::setAuth() – Définit un utilisateur spécifique comme identifié

Synopsis

void Auth::setAuth ( string $username )

Description

Met à jour la session afin d'indiquer que l'utilisateur fourni a été correctement identifié. Bien que normalement conçu pour une utilisation en interne, cette fonction peut être utilisée pour simuler une identification.

Parameter

string $name

le nom du champ de données

Note

This function can not be called statically.

Cette fonction appelle également la fonction session_regenerate_id(), afin de prévenir les attaques de session.

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

Download Documentation Last updated: Sun, 18 Oct 2009
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.