This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
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 #328 from manuakasam/hotfix/license-docblock-rebased
- Loading branch information
Showing
57 changed files
with
61 additions
and
57 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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* @author Michaël Gallego <[email protected]> | ||
* @author Aeneas Rekkas | ||
* @author Daniel Gimenes <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
interface AssertionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
* RbacCollector | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RbacCollector implements CollectorInterface, Serializable | ||
{ | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* Base exception interface for ZfcRbac | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
interface ExceptionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
* InvalidArgumentException | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class InvalidArgumentException extends BaseInvalidArgumentException implements ExceptionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
* Exception that is thrown when a role cannot be found (for instance from a provider) | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RoleNotFoundException extends BaseRuntimeException implements ExceptionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
* RuntimeException | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RuntimeException extends BaseRuntimeException implements ExceptionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
* Unauthorized exception | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class UnauthorizedException extends BaseRuntimeException implements UnauthorizedExceptionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* Interface for an unauthorized exception | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
interface UnauthorizedExceptionInterface extends ExceptionInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Factory to create the authentication identity provider | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class AuthenticationIdentityProviderFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Factory to create the authorization service | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class AuthorizationServiceFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Create a controller guard | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ControllerGuardFactory implements FactoryInterface, MutableCreationOptionsInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* Create a controller guard for checking permissions | ||
* | ||
* @author JM Lerouxw <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ControllerPermissionsGuardFactory implements FactoryInterface, MutableCreationOptionsInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Factory to create a guard plugin manager | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class GuardPluginManagerFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* Create a list of guards | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class GuardsFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Create the HasRole view helper | ||
* | ||
* @author JM Leroux <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class HasRoleViewHelperFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Create the IsGranted controller plugin | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class IsGrantedPluginFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Create the IsGranted view helper | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class IsGrantedViewHelperFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Factory for the module options | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ModuleOptionsFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
* Factory used to create an object repository role provider | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ObjectRepositoryRoleProviderFactory implements FactoryInterface, MutableCreationOptionsInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
|
||
/** | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RbacFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Factory to create a redirect strategy | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RedirectStrategyFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Factory to create a role provider plugin manager | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RoleProviderPluginManagerFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Factory to create the role service | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RoleServiceFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Create a route guard | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RouteGuardFactory implements FactoryInterface, MutableCreationOptionsInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @author JM Lerouxw <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RoutePermissionsGuardFactory implements FactoryInterface, MutableCreationOptionsInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Factory to create an unauthorized strategy | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class UnauthorizedStrategyFactory implements FactoryInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Abstract guard that hook on the MVC workflow | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
abstract class AbstractGuard implements GuardInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* A controller guard can protect a controller and a set of actions | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ControllerGuard extends AbstractGuard | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @author JM Leroux <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ControllerPermissionsGuard extends AbstractGuard | ||
{ | ||
|
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
* proper authorization service (see the doc for more details) | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
interface GuardInterface extends ListenerAggregateInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -27,8 +27,12 @@ | |
* @method GuardInterface get($name) | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
<<<<<<< b459677bbe1c328d819969eed3fe7df68cb1112b | ||
* @author JM Leroux <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
======= | ||
* @license MIT | ||
>>>>>>> changes "@license" with "@license" | ||
*/ | ||
class GuardPluginManager extends AbstractPluginManager | ||
{ | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* Trait that is can be used for any guard that uses the protection policy pattern | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
trait ProtectionPolicyTrait | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* A route guard can protect a route or a hierarchy of routes (using simple wildcard pattern) | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RouteGuard extends AbstractGuard | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @author JM Leroux <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RoutePermissionsGuard extends AbstractGuard | ||
{ | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* This provider uses the Zend authentication service to fetch the identity | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class AuthenticationIdentityProvider implements IdentityProviderInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* Interface for an identity | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
interface IdentityInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* An identity provider is an object that returns an object that implement ZfcRbac\Identity\IdentityInterface | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
interface IdentityProviderInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Module class for ZfcRbac | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class Module implements BootstrapListenerInterface, ConfigProviderInterface | ||
{ | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* Controller plugin that allows to test a permission in a controller | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class IsGranted extends AbstractPlugin | ||
{ | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
* Options for ZfcRbac module | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class ModuleOptions extends AbstractOptions | ||
{ | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
* Redirect strategy options | ||
* | ||
* @author Michaël Gallego <[email protected]> | ||
* @licence MIT | ||
* @license MIT | ||
*/ | ||
class RedirectStrategyOptions extends AbstractOptions | ||
{ | ||
|
Oops, something went wrong.