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