PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
league
/
oauth2-server
/
src
/
Repositories
<?php /** * @author Alex Bilbie <hello@alexbilbie.com> * @copyright Copyright (c) Alex Bilbie * @license http://mit-license.org/ * * @link https://github.com/thephpleague/oauth2-server */ namespace League\OAuth2\Server\Repositories; use League\OAuth2\Server\Entities\RefreshTokenEntityInterface; use League\OAuth2\Server\Exception\UniqueTokenIdentifierConstraintViolationException; /** * Refresh token interface. */ interface RefreshTokenRepositoryInterface extends RepositoryInterface { /** * Creates a new refresh token * * @return RefreshTokenEntityInterface|null */ public function getNewRefreshToken(); /** * Create a new refresh token_name. * * @param RefreshTokenEntityInterface $refreshTokenEntity * * @throws UniqueTokenIdentifierConstraintViolationException */ public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntity); /** * Revoke the refresh token. * * @param string $tokenId */ public function revokeRefreshToken($tokenId); /** * Check if the refresh token has been revoked. * * @param string $tokenId * * @return bool Return true if this token has been revoked */ public function isRefreshTokenRevoked($tokenId); }
[-] ClientRepositoryInterface.php
[edit]
[+]
..
[-] UserRepositoryInterface.php
[edit]
[-] AuthCodeRepositoryInterface.php
[edit]
[-] RepositoryInterface.php
[edit]
[-] ScopeRepositoryInterface.php
[edit]
[-] RefreshTokenRepositoryInterface.php
[edit]
[-] AccessTokenRepositoryInterface.php
[edit]