50 $ret = parent::getFieldInfo();
53 if ( isset( $ret[
'username'] ) ) {
58 'help' =>
wfMessage(
'authmanager-domain-help' ),
60 foreach ( $this->domainList as
$domain ) {
61 $ret[
'domain'][
'options'][
$domain] = new \RawMessage(
'$1', [
$domain ] );
74 'provider' =>
wfMessage(
'authmanager-provider-password-domain' ),
76 'authmanager-account-password-domain', [ $this->username, $this->domain ]
87 $ret =
new static( $data[
'domainList'] );
88 foreach ( $data as $k => $v ) {
89 if ( $k !==
'domainList' ) {
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
This is a value object for authentication requests with a username, password, and domain Stable to ex...
__construct(array $domainList)
Stable to call.
getFieldInfo()
Fetch input field info.The field info is an associative array mapping field names to info arrays....
static __set_state( $data)
describeCredentials()
Describe the credentials represented by this request.This is used on requests returned by Authenticat...
string[] $domainList
Domains available.