mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 10:42:02 +05:30
Applied fixes from StyleCI
This commit is contained in:
parent
5ca2152313
commit
6773db66c6
@ -10,7 +10,7 @@ use OAuth2ServerExamples\Entities\AccessTokenEntity;
|
|||||||
class AccessTokenRepository implements AccessTokenRepositoryInterface
|
class AccessTokenRepository implements AccessTokenRepositoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
|
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
|
||||||
{
|
{
|
||||||
@ -18,7 +18,7 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function revokeAccessToken($tokenId)
|
public function revokeAccessToken($tokenId)
|
||||||
{
|
{
|
||||||
@ -26,7 +26,7 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isAccessTokenRevoked($tokenId)
|
public function isAccessTokenRevoked($tokenId)
|
||||||
{
|
{
|
||||||
@ -34,7 +34,7 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null)
|
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null)
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ use OAuth2ServerExamples\Entities\AuthCodeEntity;
|
|||||||
class AuthCodeRepository implements AuthCodeRepositoryInterface
|
class AuthCodeRepository implements AuthCodeRepositoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
|
public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
|
||||||
{
|
{
|
||||||
@ -17,7 +17,7 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function revokeAuthCode($codeId)
|
public function revokeAuthCode($codeId)
|
||||||
{
|
{
|
||||||
@ -25,7 +25,7 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isAuthCodeRevoked($codeId)
|
public function isAuthCodeRevoked($codeId)
|
||||||
{
|
{
|
||||||
@ -33,7 +33,7 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getNewAuthCode()
|
public function getNewAuthCode()
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ use OAuth2ServerExamples\Entities\RefreshTokenEntity;
|
|||||||
class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntityInterface)
|
public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntityInterface)
|
||||||
{
|
{
|
||||||
@ -17,7 +17,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function revokeRefreshToken($tokenId)
|
public function revokeRefreshToken($tokenId)
|
||||||
{
|
{
|
||||||
@ -25,7 +25,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isRefreshTokenRevoked($tokenId)
|
public function isRefreshTokenRevoked($tokenId)
|
||||||
{
|
{
|
||||||
@ -33,7 +33,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getNewRefreshToken()
|
public function getNewRefreshToken()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user