[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/api/ -> ApiLogin.php (summary)

Created on Sep 19, 2006 Copyright © 2006-2007 Yuri Astrakhan "<Firstname><Lastname>@gmail.com", Daniel Cannon (cannon dot danielc at gmail dot com)

File Size: 215 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ApiLogin:: (9 methods):
  __construct()
  execute()
  mustBePosted()
  isReadMode()
  getAllowedParams()
  getParamDescription()
  getDescription()
  getExamples()
  getHelpUrls()


Class: ApiLogin  - X-Ref

Unit to authenticate log-in attempts to the current wiki.

__construct( ApiMain $main, $action )   X-Ref
No description

execute()   X-Ref
Executes the log-in attempt using the parameters passed. If
the log-in succeeds, it attaches a cookie to the session
and outputs the user id, username, and session token. If a
log-in fails, as the result of a bad password, a nonexistent
user, or any other reason, the host is cached with an expiry
and no log-in attempts will be accepted until that expiry
is reached. The expiry is $this->mLoginThrottle.


mustBePosted()   X-Ref
No description

isReadMode()   X-Ref
No description

getAllowedParams()   X-Ref
No description

getParamDescription()   X-Ref
No description

getDescription()   X-Ref
No description

getExamples()   X-Ref
No description

getHelpUrls()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1