mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
18 lines
344 B
PHP
18 lines
344 B
PHP
|
<?php
|
||
|
|
||
|
namespace RelationalExample\Storage;
|
||
|
|
||
|
use League\OAuth2\Server\Storage\AuthCodeInterface;
|
||
|
use League\OAuth2\Server\Storage\Adapter;
|
||
|
|
||
|
class AuthCodeStorage extends Adapter implements AuthCodeInterface
|
||
|
{
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*/
|
||
|
public function get($token)
|
||
|
{
|
||
|
die(var_dump(__METHOD__, func_get_args()));
|
||
|
}
|
||
|
}
|