}
$authRes = false;
- $context = new DerivativeContext( $this->getContext() );
$loginType = 'N/A';
// Check login token
protected function getExamplesMessages() {
return [
- 'action=login&lgname=user&lgpassword=password'
- => 'apihelp-login-example-gettoken',
'action=login&lgname=user&lgpassword=password&lgtoken=123ABC'
=> 'apihelp-login-example-login',
];