MediaWiki REL1_34
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 = (int)$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.