Auth::setAuthData()

Auth::setAuthData() – store extra information with the Auth session

Synopsis

void Auth::setAuthData ( string $name , mixed $value , boolean $overwrite = true )

Description

This function allows the registration of extra information to be stored allowing with the authentication data.

Parameter

string $name

the name of the data field

mixed $value

the value of the data field

boolean $overwrite

whether to overwrite the value of the data field if it already exists.

Note

This function can not be called statically.

set a specific user to be marked as logged in (Previous) set a callback to run when ever session validity is checked (Next)
Last updated: Wed, 30 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.