コード例 #1
0
 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');
 }
コード例 #2
0
 public function getAllowedParams()
 {
     return ApiAuthManagerHelper::getStandardParams(AuthManager::ACTION_CHANGE, 'request');
 }
コード例 #3
0
 public function getAllowedParams()
 {
     return ApiAuthManagerHelper::getStandardParams($this->authAction, 'request');
 }
コード例 #4
0
 public function getAllowedParams()
 {
     return ApiAuthManagerHelper::getStandardParams(AuthManager::ACTION_LOGIN, 'requests', 'messageformat', 'mergerequestfields', 'preservestate', 'returnurl', 'continue');
 }
コード例 #5
0
 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;
 }