MediaWiki
REL1_31
CreatedAccountAuthenticationRequest.php
Go to the documentation of this file.
1
<?php
22
namespace
MediaWiki\Auth
;
23
29
class
CreatedAccountAuthenticationRequest
extends
AuthenticationRequest
{
30
31
public
$required
=
self::OPTIONAL
;
32
34
public
$id
;
35
36
public
function
getFieldInfo
() {
37
return
[];
38
}
39
44
public
function
__construct
(
$id
, $name ) {
45
$this->
id
=
$id
;
46
$this->username =
$name
;
47
}
48
}
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition
AuthenticationRequest.php:37
MediaWiki\Auth\AuthenticationRequest\OPTIONAL
const OPTIONAL
Indicates that the request is not required for authentication to proceed.
Definition
AuthenticationRequest.php:40
MediaWiki\Auth\CreatedAccountAuthenticationRequest
Returned from account creation to allow for logging into the created account.
Definition
CreatedAccountAuthenticationRequest.php:29
MediaWiki\Auth\CreatedAccountAuthenticationRequest\getFieldInfo
getFieldInfo()
Fetch input field info.
Definition
CreatedAccountAuthenticationRequest.php:36
MediaWiki\Auth\CreatedAccountAuthenticationRequest\$id
int $id
User id.
Definition
CreatedAccountAuthenticationRequest.php:34
MediaWiki\Auth\CreatedAccountAuthenticationRequest\__construct
__construct( $id, $name)
Definition
CreatedAccountAuthenticationRequest.php:44
MediaWiki\Auth\CreatedAccountAuthenticationRequest\$required
$required
Definition
CreatedAccountAuthenticationRequest.php:31
$name
Allows to change the fields on the form that will be generated $name
Definition
hooks.txt:302
MediaWiki\Auth
Definition
AbstractAuthenticationProvider.php:22
includes
auth
CreatedAccountAuthenticationRequest.php
Generated on Mon Nov 25 2024 15:34:33 for MediaWiki by
1.10.0