joomla-oauth-server/com_oauthserver/site/src/Repository/RefreshTokenRepository.php

30 lines
799 B
PHP
Raw Normal View History

<?php
namespace Webmasterskaya\Component\OauthServer\Site\Repository;
use League\OAuth2\Server\Entities\RefreshTokenEntityInterface;
use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface;
class RefreshTokenRepository implements RefreshTokenRepositoryInterface
{
public function getNewRefreshToken()
{
// TODO: Implement getNewRefreshToken() method.
}
public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntity)
{
// TODO: Implement persistNewRefreshToken() method.
}
public function revokeRefreshToken($tokenId)
{
// TODO: Implement revokeRefreshToken() method.
}
public function isRefreshTokenRevoked($tokenId)
{
// TODO: Implement isRefreshTokenRevoked() method.
}
}