@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class RefreshTokenRepositoryInterface |
39 | 39 | * @package Platine\OAuth2\Repository |
40 | 40 | */ |
41 | -interface RefreshTokenRepositoryInterface extends TokenRepositoryInterface |
|
42 | -{ |
|
41 | +interface RefreshTokenRepositoryInterface extends TokenRepositoryInterface { |
|
43 | 42 | /** |
44 | 43 | * Save the refresh token |
45 | 44 | * @param RefreshToken $token |
@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class TokenRepositoryInterface |
39 | 39 | * @package Platine\OAuth2\Repository |
40 | 40 | */ |
41 | -interface TokenRepositoryInterface |
|
42 | -{ |
|
41 | +interface TokenRepositoryInterface { |
|
43 | 42 | /** |
44 | 43 | * Find the token |
45 | 44 | * @param string $token |
@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class ClientRepositoryInterface |
39 | 39 | * @package Platine\OAuth2\Repository |
40 | 40 | */ |
41 | -interface ClientRepositoryInterface |
|
42 | -{ |
|
41 | +interface ClientRepositoryInterface { |
|
43 | 42 | /** |
44 | 43 | * Save the client |
45 | 44 | * @param Client $client |
@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class AccessTokenRepositoryInterface |
39 | 39 | * @package Platine\OAuth2\Repository |
40 | 40 | */ |
41 | -interface AccessTokenRepositoryInterface extends TokenRepositoryInterface |
|
42 | -{ |
|
41 | +interface AccessTokenRepositoryInterface extends TokenRepositoryInterface { |
|
43 | 42 | /** |
44 | 43 | * Save the token |
45 | 44 | * @param AccessToken $token |
@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class AuthorizationCodeRepositoryInterface |
39 | 39 | * @package Platine\OAuth2\Repository |
40 | 40 | */ |
41 | -interface AuthorizationCodeRepositoryInterface extends TokenRepositoryInterface |
|
42 | -{ |
|
41 | +interface AuthorizationCodeRepositoryInterface extends TokenRepositoryInterface { |
|
43 | 42 | /** |
44 | 43 | * Save the authorization code |
45 | 44 | * @param AuthorizationCode $token |
@@ -38,8 +38,7 @@ |
||
38 | 38 | * @class ScopeRepositoryInterface |
39 | 39 | * @package Platine\OAuth2\Repository |
40 | 40 | */ |
41 | -interface ScopeRepositoryInterface |
|
42 | -{ |
|
41 | +interface ScopeRepositoryInterface { |
|
43 | 42 | /** |
44 | 43 | * Save the scope |
45 | 44 | * @param Scope $scope |
@@ -39,8 +39,7 @@ |
||
39 | 39 | * @class AccessTokenService |
40 | 40 | * @package Platine\OAuth2\Service |
41 | 41 | */ |
42 | -class AccessTokenService extends BaseTokenService |
|
43 | -{ |
|
42 | +class AccessTokenService extends BaseTokenService { |
|
44 | 43 | /** |
45 | 44 | * The AccessTokenRepositoryInterface instance |
46 | 45 | * @var AccessTokenRepositoryInterface |
@@ -42,8 +42,7 @@ |
||
42 | 42 | * @class BaseTokenService |
43 | 43 | * @package Platine\OAuth2\Service |
44 | 44 | */ |
45 | -class BaseTokenService |
|
46 | -{ |
|
45 | +class BaseTokenService { |
|
47 | 46 | /** |
48 | 47 | * The TokenRepository instance |
49 | 48 | * @var TokenRepositoryInterface |
@@ -42,8 +42,7 @@ |
||
42 | 42 | * @class AuthorizationCodeService |
43 | 43 | * @package Platine\OAuth2\Service |
44 | 44 | */ |
45 | -class AuthorizationCodeService extends BaseTokenService |
|
46 | -{ |
|
45 | +class AuthorizationCodeService extends BaseTokenService { |
|
47 | 46 | /** |
48 | 47 | * The AuthorizationCodeRepositoryInterface instance |
49 | 48 | * @var AuthorizationCodeRepositoryInterface |