forked from FriendsOfSymfony/FOSOAuthServerBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finished renaming of classes to remove the OAuth prefix
- Loading branch information
Showing
41 changed files
with
229 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace FOS\OAuthServerBundle\Document; | ||
|
||
use FOS\OAuthServerBundle\Model\AccessToken as BaseAccessToken; | ||
|
||
class AccessToken extends BaseAccessToken | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace FOS\OAuthServerBundle\Document; | ||
|
||
use FOS\OAuthServerBundle\Model\AccessTokenManagerInterface; | ||
|
||
class AccessTokenManager extends TokenManager implements AccessTokenManagerInterface | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
|
||
namespace FOS\OAuthServerBundle\Document; | ||
|
||
use FOS\OAuthServerBundle\Model\OAuth2AuthCode as BaseOAuth2AuthCode; | ||
use FOS\OAuthServerBundle\Model\AuthCode as BaseAuthCode; | ||
|
||
/** | ||
* @author Richard Fullmer <[email protected]> | ||
*/ | ||
class OAuth2AuthCode extends BaseOAuth2AuthCode | ||
class AuthCode extends BaseAuthCode | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace FOS\OAuthServerBundle\Document; | ||
|
||
use FOS\OAuthServerBundle\Model\Client as BaseClient; | ||
|
||
class Client extends BaseClient | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace FOS\OAuthServerBundle\Model; | ||
|
||
class AccessToken extends Token implements AccessTokenInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace FOS\OAuthServerBundle\Model; | ||
|
||
interface AccessTokenManagerInterface extends TokenManagerInterface | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
/** | ||
* @author Richard Fullmer <[email protected]> | ||
*/ | ||
class OAuth2AuthCode extends OAuth2Token implements OAuth2AuthCodeInterface | ||
class AuthCode extends Token implements AuthCodeInterface | ||
{ | ||
protected $redirectUri; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,6 @@ | |
/** | ||
* @author Richard Fullmer <[email protected]> | ||
*/ | ||
interface OAuth2AuthCodeInterface extends OAuth2TokenInterface, IOAuth2AuthCode | ||
interface AuthCodeInterface extends TokenInterface, IOAuth2AuthCode | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/* | ||
* | ||
*/ | ||
|
||
namespace FOS\OAuthServerBundle\Model; | ||
|
||
/** | ||
* @author Richard Fullmer <[email protected]> | ||
*/ | ||
interface AuthCodeManagerInterface | ||
{ | ||
/** | ||
* @return \FOS\OAuthServerBundle\Model\AuthCodeInterface | ||
*/ | ||
function createAuthCode(); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
function getClass(); | ||
|
||
/** | ||
* @param array $criteria | ||
*/ | ||
function findAuthCodeBy(array $criteria); | ||
|
||
/** | ||
* @param string $token | ||
* | ||
* @return \FOS\OAuthServerBundle\Model\AuthCodeInterface | ||
*/ | ||
function findAuthCodeByToken($token); | ||
|
||
/** | ||
* @param \FOS\OAuthServerBundle\Model\AuthCodeInterface $authCode | ||
*/ | ||
function updateAuthCode(AuthCodeInterface $authCode); | ||
|
||
/** | ||
* @param \FOS\OAuthServerBundle\Model\AuthCodeInterface $authCode | ||
*/ | ||
function deleteAuthCode(AuthCodeInterface $authCode); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace FOS\OAuthServerBundle\Model; | ||
|
||
interface ClientManagerInterface | ||
{ | ||
function createClient(); | ||
|
||
function getClass(); | ||
|
||
function findClientBy(array $criteria); | ||
|
||
function findClientByPublicId($publicId); | ||
|
||
function updateClient(ClientInterface $client, $andFlush = true); | ||
|
||
function deleteClient(ClientInterface $client); | ||
} | ||
|
Oops, something went wrong.