public function getAllowedParams() { return ['securitysensitiveoperation' => null, 'requestsfor' => [ApiBase::PARAM_TYPE => [AuthManager::ACTION_LOGIN, AuthManager::ACTION_LOGIN_CONTINUE, AuthManager::ACTION_CREATE, AuthManager::ACTION_CREATE_CONTINUE, AuthManager::ACTION_LINK, AuthManager::ACTION_LINK_CONTINUE, AuthManager::ACTION_CHANGE, AuthManager::ACTION_REMOVE, AuthManager::ACTION_UNLINK]]] + ApiAuthManagerHelper::getStandardParams('', 'mergerequestfields', 'messageformat'); }
public function getAllowedParams() { return ApiAuthManagerHelper::getStandardParams(AuthManager::ACTION_CHANGE, 'request'); }
public function getAllowedParams() { return ApiAuthManagerHelper::getStandardParams($this->authAction, 'request'); }
public function getAllowedParams() { return ApiAuthManagerHelper::getStandardParams(AuthManager::ACTION_LOGIN, 'requests', 'messageformat', 'mergerequestfields', 'preservestate', 'returnurl', 'continue'); }
public function getAllowedParams() { $ret = ApiAuthManagerHelper::getStandardParams(AuthManager::ACTION_CREATE, 'requests', 'messageformat', 'mergerequestfields', 'preservestate', 'returnurl', 'continue'); $ret['preservestate'][ApiBase::PARAM_HELP_MSG_APPEND][] = 'apihelp-createaccount-param-preservestate'; return $ret; }