mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-04 04:38:13 +00:00
920136e67b
Bug: T233146 Change-Id: I2f75261b276993d27f6c96e066ea7769cf7fc082
18 lines
271 B
PHP
18 lines
271 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\OATHAuth;
|
|
|
|
use stdClass;
|
|
use JsonSerializable;
|
|
|
|
interface IAuthKey extends JsonSerializable {
|
|
|
|
/**
|
|
* @param array|stdClass $data
|
|
* @param OATHUser $user
|
|
* @return mixed
|
|
*/
|
|
public function verify( $data, OATHUser $user );
|
|
|
|
}
|