for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nord\Lumen\OAuth2\Tests;
use League\OAuth2\Server\Entity\RefreshTokenEntity;
use League\OAuth2\Server\Storage\RefreshTokenInterface;
class MockRefreshTokenStorage extends MockStorage implements RefreshTokenInterface
{
/**
* @inheritdoc
*/
public function get($token)
return null;
}
public function create($token, $expireTime, $accessToken)
public function delete(RefreshTokenEntity $token)