mediawiki-extensions-OATHAuth/src/IAuthKey.php
libraryupgrader 5b1a07906a build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Idb1b91244e653b2ba2e27bceb3eba769577124a9
2020-01-14 08:27:31 +00:00

18 lines
271 B
PHP

<?php
namespace MediaWiki\Extension\OATHAuth;
use JsonSerializable;
use stdClass;
interface IAuthKey extends JsonSerializable {
/**
* @param array|stdClass $data
* @param OATHUser $user
* @return mixed
*/
public function verify( $data, OATHUser $user );
}