MediaWiki REL1_40
CreatedAccountAuthenticationRequest.php
Go to the documentation of this file.
1<?php
22namespace MediaWiki\Auth;
23
31
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}
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.
getFieldInfo()
Fetch input field info.This will be used in the AuthManager APIs and web UIs to define API input para...