[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/includes/auth/ -> auth_apache.php (summary)

Apache auth plug-in for phpBB3 Authentication plug-ins is largely down to Sergey Kanareykin, our thanks to him.

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 249 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  init_apache()
  login_apache()
  autologin_apache()
  user_row_apache()
  validate_session_apache()

Functions
Functions that are not part of a class:

init_apache()   X-Ref
Checks whether the user is identified to apache
Only allow changing authentication to apache if the user is identified
Called in acp_board while setting authentication plugins

return: boolean|string false if the user is identified and else an error message

login_apache(&$username, &$password)   X-Ref
Login function


autologin_apache()   X-Ref
Autologin function

return: array containing the user row or empty if no auto login should take place

user_row_apache($username, $password)   X-Ref
This function generates an array which can be passed to the user_add function in order to create a user


validate_session_apache(&$user)   X-Ref
The session validation function checks whether the user is still logged in

return: boolean true if the given user is authenticated or false if the session should be closed



Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1