MediaWiki
REL1_34
UsernameAuthenticationRequest.php
Go to the documentation of this file.
1
<?php
22
namespace
MediaWiki\Auth
;
23
29
class
UsernameAuthenticationRequest
extends
AuthenticationRequest
{
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
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:1263
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition
AuthenticationRequest.php:37
MediaWiki\Auth\UsernameAuthenticationRequest
AuthenticationRequest to ensure something with a username is present.
Definition
UsernameAuthenticationRequest.php:29
MediaWiki\Auth\UsernameAuthenticationRequest\getFieldInfo
getFieldInfo()
Fetch input field info.
Definition
UsernameAuthenticationRequest.php:30
MediaWiki\Auth
Definition
AbstractAuthenticationProvider.php:22
includes
auth
UsernameAuthenticationRequest.php
Generated on Fri Apr 5 2024 23:09:42 for MediaWiki by
1.9.8