![Picture of Manuel Lemos Picture of Manuel Lemos](/picture/user/1.jpg)
Manuel Lemos - 2013-03-31 07:20:02 -
In reply to message 1 from vizo
Real implementations should create a sub-class and override the StoreAccessToken and GetAccessToken functions to use an application specific storage, like for instance a database.
The default implementation of the class uses sessions because it is available in all PHP Web installations and does not require further configuration.
However, if you need to call an API when the user is not present, sessions will not work, so the base class implementation of the access token storage functions will not work.