芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/lib/OAuth/RefreshTokenRepository.php
. */ namespace Xibo\OAuth; use League\OAuth2\Server\Entities\RefreshTokenEntityInterface; use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; class RefreshTokenRepository implements RefreshTokenRepositoryInterface { /** * {@inheritdoc} */ public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntity) { // Some logic to persist the refresh token in a database } /** * {@inheritdoc} */ public function revokeRefreshToken($tokenId) { // Some logic to revoke the refresh token in a database } /** * {@inheritdoc} */ public function isRefreshTokenRevoked($tokenId) { return false; // The refresh token has not been revoked } /** * {@inheritdoc} */ public function getNewRefreshToken() { return new RefreshTokenEntity(); } }