1<?php
2
3namespace MediaWiki\Extension\OATHAuth;
4
5use JsonSerializable;
6use stdClass;
7
8interface IAuthKey extends JsonSerializable {
9
10	/**
11	 * @param array|stdClass $data
12	 * @param OATHUser $user
13	 * @return mixed
14	 */
15	public function verify( $data, OATHUser $user );
16
17}
18