$tokenObj = ApiQueryTokens::getToken(
$this->getUser(), $this->getRequest()->getSession(), $salts[$params['type']]
$tokenObj = ApiQueryTokens::getToken(
$this->getUser(), $this->getRequest()->getSession(), $salts[$params['type']]
ApiBase::PARAM_TYPE => array_keys( ApiQueryTokens::getTokenTypeSalts() ),
ApiBase::PARAM_REQUIRED => true,
ApiBase::PARAM_TYPE => array_keys( ApiQueryTokens::getTokenTypeSalts() ),
ApiBase::PARAM_REQUIRED => true,
ApiBase::PARAM_TYPE => 'string',
ApiBase::PARAM_REQUIRED => true,
ApiBase::PARAM_TYPE => 'string',
ApiBase::PARAM_REQUIRED => true,
'action=checktoken&type=csrf&token=123ABC'
=> 'apihelp-checktoken-example-simple',
'action=checktoken&type=csrf&token=123ABC'
=> 'apihelp-checktoken-example-simple',