MediaWiki
REL1_37
CreatedAccountAuthenticationRequest.php
Go to the documentation of this file.
1
<?php
22
namespace
MediaWiki\Auth
;
23
30
class
CreatedAccountAuthenticationRequest
extends
AuthenticationRequest
{
31
32
public
$required
=
self::OPTIONAL
;
33
35
public
$id
;
36
41
public
function
getFieldInfo
() {
42
return
[];
43
}
44
50
public
function
__construct
(
$id
, $name ) {
51
$this->
id
= (int)
$id
;
52
$this->username = $name;
53
}
54
}
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition
AuthenticationRequest.php:38
MediaWiki\Auth\AuthenticationRequest\OPTIONAL
const OPTIONAL
Indicates that the request is not required for authentication to proceed.
Definition
AuthenticationRequest.php:41
MediaWiki\Auth\CreatedAccountAuthenticationRequest
Returned from account creation to allow for logging into the created account.
Definition
CreatedAccountAuthenticationRequest.php:30
MediaWiki\Auth\CreatedAccountAuthenticationRequest\getFieldInfo
getFieldInfo()
Fetch input field info.The field info is an associative array mapping field names to info arrays....
Definition
CreatedAccountAuthenticationRequest.php:41
MediaWiki\Auth\CreatedAccountAuthenticationRequest\$id
int $id
User id.
Definition
CreatedAccountAuthenticationRequest.php:35
MediaWiki\Auth\CreatedAccountAuthenticationRequest\__construct
__construct( $id, $name)
Definition
CreatedAccountAuthenticationRequest.php:50
MediaWiki\Auth\CreatedAccountAuthenticationRequest\$required
$required
Definition
CreatedAccountAuthenticationRequest.php:32
MediaWiki\Auth
Definition
AbstractAuthenticationProvider.php:22
includes
auth
CreatedAccountAuthenticationRequest.php
Generated on Fri Apr 5 2024 23:40:03 for MediaWiki by
1.9.8