Page MenuHomeWickedGov Phorge

CreationReasonAuthenticationRequest.php
No OneTemporary

Size
660 B
Referenced Files
None
Subscribers
None

CreationReasonAuthenticationRequest.php

<?php
namespace MediaWiki\Auth;
/**
* Authentication request for the reason given for account creation.
* Used in logs and for notification.
* @stable to extend
*/
class CreationReasonAuthenticationRequest extends AuthenticationRequest {
/** @var string Account creation reason (only used when creating for someone else) */
public $reason;
/** @inheritDoc */
public $required = self::OPTIONAL;
/**
* @inheritDoc
* @stable to override
*/
public function getFieldInfo() {
return [
'reason' => [
'type' => 'string',
'label' => wfMessage( 'createacct-reason' ),
'help' => wfMessage( 'createacct-reason-help' ),
],
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Oct 7 2026, 00:18 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ba/0a/3fcd013261b668903013f003e186
Default Alt Text
CreationReasonAuthenticationRequest.php (660 B)

Event Timeline