MediaWiki
REL1_40
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:44
MediaWiki\Auth\AuthenticationRequest\OPTIONAL
const OPTIONAL
Indicates that the request is not required for authentication to proceed.
Definition
AuthenticationRequest.php:47
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.This will be used in the AuthManager APIs and web UIs to define API input para...
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 Thu Jun 27 2024 14:02:22 for MediaWiki by
1.10.0