[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/authentication/cookie/ -> cookie.php (summary)

(no description)

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 407 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PlgAuthenticationCookie:: (4 methods):
  onPrivacyCollectAdminCapabilities()
  onUserAuthenticate()
  onUserAfterLogin()
  onUserAfterLogout()


Class: PlgAuthenticationCookie  - X-Ref

Joomla Authentication plugin

onPrivacyCollectAdminCapabilities()   X-Ref
Reports the privacy related capabilities for this plugin to site administrators.

return: array

onUserAuthenticate($credentials, $options, &$response)   X-Ref
This method should handle any authentication and report back to the subject

param: array   $credentials  Array holding the user credentials
param: array   $options      Array of extra options
param: object  &$response    Authentication response object
return: boolean

onUserAfterLogin($options)   X-Ref
We set the authentication cookie only after login is successfully finished.
We set a new cookie either for a user with no cookies or one
where the user used a cookie to authenticate.

param: array  $options  Array holding options
return: boolean  True on success

onUserAfterLogout($options)   X-Ref
This is where we delete any authentication cookie when a user logs out

param: array  $options  Array holding options (length, timeToExpiration)
return: boolean  True on success



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer