mediawiki-extensions-OATHAuth/src/IAuthKey.php
Dejan Savuljesku 920136e67b Do not store proper objects in session data
Bug: T233146
Change-Id: I2f75261b276993d27f6c96e066ea7769cf7fc082
2019-10-16 13:04:49 +02:00

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 );
}