Moved entity interfaces into parent folder. Fixes #504

This commit is contained in:
Alex Bilbie 2016-04-09 15:25:32 +01:00
parent 00518dded7
commit 4eee48ca4e
7 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
use League\OAuth2\Server\CryptKey; use League\OAuth2\Server\CryptKey;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
interface AuthCodeEntityInterface extends TokenInterface interface AuthCodeEntityInterface extends TokenInterface
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
interface ClientEntityInterface interface ClientEntityInterface
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
interface RefreshTokenEntityInterface interface RefreshTokenEntityInterface
{ {
@ -35,14 +35,14 @@ interface RefreshTokenEntityInterface
/** /**
* Set the access token that the refresh token was associated with. * Set the access token that the refresh token was associated with.
* *
* @param \League\OAuth2\Server\Entities\Interfaces\AccessTokenEntityInterface $accessToken * @param \League\OAuth2\Server\Entities\AccessTokenEntityInterface $accessToken
*/ */
public function setAccessToken(AccessTokenEntityInterface $accessToken); public function setAccessToken(AccessTokenEntityInterface $accessToken);
/** /**
* Get the access token that the refresh token was originally associated with. * Get the access token that the refresh token was originally associated with.
* *
* @return \League\OAuth2\Server\Entities\Interfaces\AccessTokenEntityInterface * @return \League\OAuth2\Server\Entities\AccessTokenEntityInterface
*/ */
public function getAccessToken(); public function getAccessToken();

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
interface ScopeEntityInterface extends \JsonSerializable interface ScopeEntityInterface extends \JsonSerializable
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
interface TokenInterface interface TokenInterface
{ {
@ -56,14 +56,14 @@ interface TokenInterface
/** /**
* Set the client that the token was issued to. * Set the client that the token was issued to.
* *
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $client * @param \League\OAuth2\Server\Entities\ClientEntityInterface $client
*/ */
public function setClient(ClientEntityInterface $client); public function setClient(ClientEntityInterface $client);
/** /**
* Associate a scope with the token. * Associate a scope with the token.
* *
* @param \League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface $scope * @param \League\OAuth2\Server\Entities\ScopeEntityInterface $scope
*/ */
public function addScope(ScopeEntityInterface $scope); public function addScope(ScopeEntityInterface $scope);

View File

@ -1,6 +1,6 @@
<?php <?php
namespace League\OAuth2\Server\Entities\Interfaces; namespace League\OAuth2\Server\Entities;
interface UserEntityInterface interface UserEntityInterface
{ {