-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from hkulekci/feature/oauth
OAuth Implementation For Rest APIs
- Loading branch information
Showing
15 changed files
with
487 additions
and
16 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
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 | ||
/** | ||
* Auth Configuration | ||
*/ | ||
|
||
return [ | ||
'zf-oauth2' => [ | ||
], | ||
]; |
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,13 @@ | ||
<?php | ||
/** | ||
* Application Exception | ||
* | ||
* @since Nov 2015 | ||
* @author Haydar KULEKCI <[email protected]> | ||
*/ | ||
namespace Api\Exception; | ||
|
||
class ApplicationException extends \Exception | ||
{ | ||
// Maybe in future, in here, we should create some static factory methods | ||
} |
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,13 @@ | ||
<?php | ||
/** | ||
* OAuth Exception | ||
* | ||
* @since Nov 2015 | ||
* @author Haydar KULEKCI <[email protected]> | ||
*/ | ||
namespace Api\Exception; | ||
|
||
class AuthException extends \Exception | ||
{ | ||
// Maybe in future, in here, we should create some static factory methods | ||
} |
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,13 @@ | ||
<?php | ||
/** | ||
* Cache Exception | ||
* | ||
* @since Nov 2015 | ||
* @author Haydar KULEKCI <[email protected]> | ||
*/ | ||
namespace Api\Exception; | ||
|
||
class CacheException extends \Exception | ||
{ | ||
// Maybe in future, in here, we should create some static factory methods | ||
} |
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,13 @@ | ||
<?php | ||
/** | ||
* Database Exception | ||
* | ||
* @since Nov 2015 | ||
* @author Haydar KULEKCI <[email protected]> | ||
*/ | ||
namespace Api\Exception; | ||
|
||
class DatabaseException extends \Exception | ||
{ | ||
// Maybe in future, in here, we should create some static factory methods | ||
} |
Oops, something went wrong.