mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-02 20:06:22 +00:00
5b1a07906a
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
18 lines
271 B
PHP
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 );
|
|
|
|
}
|