Added initial examples

This commit is contained in:
Alex Bilbie
2014-05-23 16:25:09 +01:00
parent 11c4c93398
commit 4ebf3f838f
3 changed files with 109 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ namespace RelationalExample\Storage;
use League\OAuth2\Server\Storage\RefreshTokenInterface;
use League\OAuth2\Server\Storage\Adapter;
use League\OAuth2\Server\Entity\RefreshTokenEntity;
class RefreshTokenStorage extends Adapter implements RefreshTokenInterface
{
@@ -26,8 +27,9 @@ class RefreshTokenStorage extends Adapter implements RefreshTokenInterface
/**
* {@inheritdoc}
*/
public function delete($token)
public function delete(RefreshTokenEntity $token)
{
die(var_dump(__METHOD__, func_get_args()));
}
}