mediawiki-extensions-OATHAuth/src/IAuthKey.php
Dejan Savuljesku ea984e5c2b Refactor the extension to support multiple auth modules
Please note, this patch requires a schema change before merging

Change-Id: I71286534d21d95083436d64d79811943c1a1d032
ERM: #14484
Bug: T218210
2019-06-18 10:45:21 +00:00

14 lines
202 B
PHP

<?php
namespace MediaWiki\Extension\OATHAuth;
interface IAuthKey {
/**
* @param string $token
* @param OATHUser $user
* @return mixed
*/
public function verify( $token, OATHUser $user );
}