MediaWiki REL1_32
CreatedAccountAuthenticationRequest.php
Go to the documentation of this file.
1<?php
22namespace MediaWiki\Auth;
23
30
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}
This is a value object for authentication requests.
const OPTIONAL
Indicates that the request is not required for authentication to proceed.
Returned from account creation to allow for logging into the created account.
Allows to change the fields on the form that will be generated $name
Definition hooks.txt:302