MediaWiki  1.34.0
UsernameAuthenticationRequest.php
Go to the documentation of this file.
1 <?php
22 namespace MediaWiki\Auth;
23 
30  public function getFieldInfo() {
31  return [
32  'username' => [
33  'type' => 'string',
34  'label' => wfMessage( 'userlogin-yourname' ),
35  'help' => wfMessage( 'authmanager-username-help' ),
36  ],
37  ];
38  }
39 }
MediaWiki\Auth\UsernameAuthenticationRequest\getFieldInfo
getFieldInfo()
Fetch input field info.
Definition: UsernameAuthenticationRequest.php:30
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition: GlobalFunctions.php:1264
MediaWiki\Auth\UsernameAuthenticationRequest
AuthenticationRequest to ensure something with a username is present.
Definition: UsernameAuthenticationRequest.php:29
MediaWiki\Auth
Definition: AbstractAuthenticationProvider.php:22
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition: AuthenticationRequest.php:37