mediawiki-extensions-OATHAuth/src/IAuthKey.php

18 lines
271 B
PHP
Raw Normal View History

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