MediaWiki  master
UsernameAuthenticationRequest.php
Go to the documentation of this file.
1 <?php
22 namespace MediaWiki\Auth;
23 
31 
36  public function getFieldInfo() {
37  return [
38  'username' => [
39  'type' => 'string',
40  'label' => wfMessage( 'userlogin-yourname' ),
41  'help' => wfMessage( 'authmanager-username-help' ),
42  ],
43  ];
44  }
45 }
MediaWiki\Auth\UsernameAuthenticationRequest\getFieldInfo
getFieldInfo()
Fetch input field info.The field info is an associative array mapping field names to info arrays....
Definition: UsernameAuthenticationRequest.php:36
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition: GlobalFunctions.php:1220
MediaWiki\Auth\UsernameAuthenticationRequest
AuthenticationRequest to ensure something with a username is present Stable to extend.
Definition: UsernameAuthenticationRequest.php:30
MediaWiki\Auth
Definition: AbstractAuthenticationProvider.php:22
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition: AuthenticationRequest.php:38