mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-24 15:04:50 +03:00
30 lines
799 B
PHP
30 lines
799 B
PHP
|
<?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.
|
||
|
}
|
||
|
}
|