oauth2-server/examples/relational/Storage/RefreshTokenStorage.php

36 lines
729 B
PHP
Raw Normal View History

2014-05-09 10:46:59 +01:00
<?php
namespace RelationalExample\Storage;
use League\OAuth2\Server\Storage\RefreshTokenInterface;
use League\OAuth2\Server\Storage\Adapter;
2014-05-23 16:25:09 +01:00
use League\OAuth2\Server\Entity\RefreshTokenEntity;
2014-05-09 10:46:59 +01:00
class RefreshTokenStorage extends Adapter implements RefreshTokenInterface
{
/**
* {@inheritdoc}
*/
public function get($token)
{
die(var_dump(__METHOD__, func_get_args()));
}
/**
* {@inheritdoc}
*/
public function create($token, $expireTime, $accessToken)
{
die(var_dump(__METHOD__, func_get_args()));
}
/**
* {@inheritdoc}
*/
2014-05-23 16:25:09 +01:00
public function delete(RefreshTokenEntity $token)
2014-05-09 10:46:59 +01:00
{
die(var_dump(__METHOD__, func_get_args()));
}
2014-05-23 16:25:09 +01:00
2014-05-09 10:46:59 +01:00
}