MediaWiki
REL1_35
UsernameAuthenticationRequest.php
Go to the documentation of this file.
1
<?php
22
namespace
MediaWiki\Auth
;
23
30
class
UsernameAuthenticationRequest
extends
AuthenticationRequest
{
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
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:1220
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition
AuthenticationRequest.php:38
MediaWiki\Auth\UsernameAuthenticationRequest
AuthenticationRequest to ensure something with a username is present Stable to extend.
Definition
UsernameAuthenticationRequest.php:30
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
MediaWiki\Auth
Definition
AbstractAuthenticationProvider.php:22
includes
auth
UsernameAuthenticationRequest.php
Generated on Sat Apr 6 2024 00:06:57 for MediaWiki by
1.9.8