mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-12 16:45:08 +00:00
ea984e5c2b
Please note, this patch requires a schema change before merging Change-Id: I71286534d21d95083436d64d79811943c1a1d032 ERM: #14484 Bug: T218210
14 lines
202 B
PHP
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 );
|
|
}
|