MediaWiki  master
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 }
AuthenticationRequest to ensure something with a username is present.
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
This is a value object for authentication requests.