├── .dockerignore ├── .env ├── .env.test ├── .gitignore ├── .idea ├── .gitignore ├── accounts-service.iml ├── commandlinetools │ └── schemas │ │ └── frameworkDescriptionVersion1.1.4.xsd ├── misc.xml ├── modules.xml ├── php-test-framework.xml ├── php.xml ├── phpunit.xml ├── symfony2.xml ├── vagrant.xml ├── vcs.xml └── webResources.xml ├── .mutagen_sync_it.yaml ├── bin ├── console ├── dc-composer ├── dc-console ├── dc-phpunit └── dc-shell ├── composer.json ├── composer.lock ├── config ├── bundles.php ├── docker │ ├── dev │ │ └── app │ │ │ ├── Dockerfile │ │ │ ├── conf.d │ │ │ └── zz-custom.ini │ │ │ └── docker-entrypoint.sh │ ├── prod │ │ └── app │ │ │ ├── Dockerfile │ │ │ ├── conf.d │ │ │ └── zz-custom.ini │ │ │ └── docker-entrypoint.sh │ └── test │ │ ├── app │ │ ├── Dockerfile │ │ ├── conf.d │ │ │ └── zz-custom.ini │ │ └── docker-entrypoint.sh │ │ └── db-accounts │ │ └── init.sql ├── mappings │ ├── accounts │ │ └── Account.orm.xml │ ├── somnambulist │ │ └── Identity.ExternalIdentity.orm.xml │ └── users │ │ ├── AccountId.orm.xml │ │ ├── Permission.orm.xml │ │ ├── Role.orm.xml │ │ └── User.orm.xml ├── openapi │ └── schemas │ │ ├── Account.yaml │ │ ├── AccountSearchResult.yaml │ │ ├── Error.yaml │ │ ├── Pagination.yaml │ │ ├── Permission.yaml │ │ ├── PermissionSearchResult.yaml │ │ ├── Role.yaml │ │ ├── RoleSearchResult.yaml │ │ ├── ServiceList.yaml │ │ ├── User.yaml │ │ └── UserSearchResult.yaml ├── packages │ ├── cache.yaml │ ├── dama_doctrine_test_bundle.yaml │ ├── debug.yaml │ ├── doctrine.yaml │ ├── doctrine_migrations.yaml │ ├── framework.yaml │ ├── liip.yaml │ ├── messenger.yaml │ ├── monolog.yaml │ ├── routing.yaml │ ├── somnambulist.yaml │ ├── somnambulist_services.yaml │ ├── twig.yaml │ ├── validator.yaml │ └── web_profiler.yaml ├── routes.yaml ├── routes │ ├── api │ │ ├── v1.yaml │ │ └── v1 │ │ │ ├── accounts.yaml │ │ │ ├── permissions.yaml │ │ │ ├── roles.yaml │ │ │ └── users.yaml │ └── dev │ │ ├── framework.yaml │ │ └── web_profiler.yaml └── services.yaml ├── docker-compose-release.yml ├── docker-compose-test.yml ├── docker-compose.yml ├── migrations ├── Version20201003212743.php └── Version20201003220231.php ├── phpunit.xml.dist ├── ppm.dist.json ├── public ├── favicon.ico └── index.php ├── readme.md ├── src ├── Accounts │ ├── Application │ │ ├── CommandHandlers │ │ │ ├── ActivateAccountCommandHandler.php │ │ │ ├── ChangeAccountNameCommandHandler.php │ │ │ ├── CreateAccountCommandHandler.php │ │ │ ├── DeactivateAccountCommandHandler.php │ │ │ └── DestroyAccountCommandHandler.php │ │ └── QueryHandlers │ │ │ ├── CountUsersOnAccountQueryHandler.php │ │ │ ├── FindAccountsQueryHandler.php │ │ │ └── GetAccountByIdQueryHandler.php │ ├── Delivery │ │ ├── Api │ │ │ └── V1 │ │ │ │ └── Accounts │ │ │ │ ├── Controllers │ │ │ │ ├── ActivationController.php │ │ │ │ ├── ChangeNameController.php │ │ │ │ ├── CreateController.php │ │ │ │ ├── DestroyController.php │ │ │ │ ├── SearchController.php │ │ │ │ └── ViewController.php │ │ │ │ ├── Forms │ │ │ │ ├── ChangeAccountNameRequest.php │ │ │ │ ├── CreateAccountRequest.php │ │ │ │ ├── SearchAccountsRequest.php │ │ │ │ └── ViewAccountRequest.php │ │ │ │ └── Transformers │ │ │ │ └── AccountViewTransformer.php │ │ ├── Console │ │ │ └── .gitkeep │ │ └── ViewModels │ │ │ └── AccountView.php │ ├── Domain │ │ ├── Commands │ │ │ ├── ActivateAccount.php │ │ │ ├── ChangeAccountName.php │ │ │ ├── CreateAccount.php │ │ │ ├── DeactivateAccount.php │ │ │ └── DestroyAccount.php │ │ ├── Events │ │ │ ├── AccountActivated.php │ │ │ ├── AccountCreated.php │ │ │ ├── AccountDeactivated.php │ │ │ ├── AccountDestroyed.php │ │ │ └── AccountNameUpdated.php │ │ ├── Models │ │ │ └── Account.php │ │ ├── Queries │ │ │ ├── CountUsersOnAccount.php │ │ │ ├── FindAccounts.php │ │ │ └── GetAccountById.php │ │ └── Services │ │ │ └── Repositories │ │ │ └── AccountRepository.php │ └── Infrastructure │ │ └── Persistence │ │ ├── EntityLocators │ │ └── AccountLocator.php │ │ └── Repositories │ │ └── AccountRepository.php ├── Kernel.php ├── Resources │ ├── Application │ │ └── QueryHandlers │ │ │ └── Behaviours │ │ │ └── CanApplyOrderToQuery.php │ ├── Delivery │ │ ├── Api │ │ │ ├── ApiController.php │ │ │ ├── Forms │ │ │ │ └── FormRequest.php │ │ │ └── IndexController.php │ │ └── Console │ │ │ └── AbstractCommand.php │ └── ResourcesBundle.php └── Users │ ├── Application │ ├── CommandHandlers │ │ ├── ActivateUserCommandHandler.php │ │ ├── ChangeGrantableRolesCommandHandler.php │ │ ├── ChangeRolePermissionsCommandHandler.php │ │ ├── ChangeUsersAccountCommandHandler.php │ │ ├── ChangeUsersAuthCredentialsCommandHandler.php │ │ ├── ChangeUsersNameCommandHandler.php │ │ ├── CreatePermissionCommandHandler.php │ │ ├── CreateRoleCommandHandler.php │ │ ├── CreateUserCommandHandler.php │ │ ├── DeactivateUserCommandHandler.php │ │ ├── DestroyPermissionCommandHandler.php │ │ ├── DestroyRoleCommandHandler.php │ │ └── DestroyUserCommandHandler.php │ └── QueryHandlers │ │ ├── DoesUserExistWithEmailQueryHandler.php │ │ ├── FindPermissionsQueryHandler.php │ │ ├── FindRolesQueryHandler.php │ │ ├── FindUsersQueryHandler.php │ │ ├── GetAccountByIdQueryHandler.php │ │ ├── GetPermissionByNameQueryHandler.php │ │ ├── GetRoleByIdQueryHandler.php │ │ └── GetUserByIdQueryHandler.php │ ├── Delivery │ ├── Api │ │ └── V1 │ │ │ ├── Permissions │ │ │ ├── Controllers │ │ │ │ ├── CreateController.php │ │ │ │ ├── DestroyController.php │ │ │ │ └── SearchController.php │ │ │ ├── Forms │ │ │ │ ├── CreatePermissionRequest.php │ │ │ │ └── SearchPermissionsRequest.php │ │ │ └── Transformers │ │ │ │ └── PermissionViewTransformer.php │ │ │ ├── Roles │ │ │ ├── Controllers │ │ │ │ ├── ChangePermissionsController.php │ │ │ │ ├── ChangeRolesController.php │ │ │ │ ├── CreateController.php │ │ │ │ ├── DestroyController.php │ │ │ │ ├── SearchController.php │ │ │ │ └── ViewController.php │ │ │ ├── Forms │ │ │ │ ├── ChangeGrantableRolesRequest.php │ │ │ │ ├── ChangePermissionsRequest.php │ │ │ │ ├── CreateRoleRequest.php │ │ │ │ ├── SearchRolesRequest.php │ │ │ │ └── ViewRoleRequest.php │ │ │ └── Transformers │ │ │ │ └── RoleViewTransformer.php │ │ │ └── Users │ │ │ ├── Controllers │ │ │ ├── ActivationController.php │ │ │ ├── ChangeAccountController.php │ │ │ ├── ChangeAuthCredentialsController.php │ │ │ ├── ChangeNameController.php │ │ │ ├── CreateController.php │ │ │ ├── DestroyController.php │ │ │ ├── SearchController.php │ │ │ └── ViewController.php │ │ │ ├── Forms │ │ │ ├── ChangeAuthCredentialsRequest.php │ │ │ ├── ChangeNameRequest.php │ │ │ ├── CreateUserRequest.php │ │ │ ├── ResetPasswordRequest.php │ │ │ ├── SearchUsersRequest.php │ │ │ ├── UpdateAccountRequest.php │ │ │ ├── UpdateEmailRequest.php │ │ │ └── ViewUserRequest.php │ │ │ └── Transformers │ │ │ └── UserViewTransformer.php │ ├── Console │ │ └── .gitkeep │ └── ViewModels │ │ ├── PermissionView.php │ │ ├── RoleView.php │ │ └── UserView.php │ ├── Domain │ ├── Commands │ │ ├── ActivateUser.php │ │ ├── ChangeGrantableRoles.php │ │ ├── ChangeRolePermissions.php │ │ ├── ChangeUsersAccount.php │ │ ├── ChangeUsersAuthCredentials.php │ │ ├── ChangeUsersName.php │ │ ├── CreatePermission.php │ │ ├── CreateRole.php │ │ ├── CreateUser.php │ │ ├── DeactivateUser.php │ │ ├── DestroyPermission.php │ │ ├── DestroyRole.php │ │ └── DestroyUser.php │ ├── Events │ │ ├── AllPermissionsHaveBeenRevokedFromRole.php │ │ ├── AllRolesHaveBeenRevokedFromRole.php │ │ ├── GrantedPermissionsToRole.php │ │ ├── GrantedPermissionsToUser.php │ │ ├── GrantedRolesToUser.php │ │ ├── RevokedPermissionsFromRole.php │ │ ├── RevokedPermissionsFromUser.php │ │ ├── RevokedRolesFromUser.php │ │ ├── RoleHasBeenAllowedToGrantRoles.php │ │ ├── RoleHasBeenDeniedGrantingRoles.php │ │ ├── UserAccountChanged.php │ │ ├── UserActivated.php │ │ ├── UserAuthenticationCredentialsChanged.php │ │ ├── UserCreated.php │ │ ├── UserDeactivated.php │ │ ├── UserDestroyed.php │ │ └── UserNameChanged.php │ ├── Models │ │ ├── AccountId.php │ │ ├── Permission.php │ │ ├── PermissionName.php │ │ ├── Role.php │ │ ├── Role │ │ │ ├── RoleGrantableRoles.php │ │ │ └── RolePermissions.php │ │ ├── RoleName.php │ │ ├── User.php │ │ ├── User │ │ │ ├── UserPermissions.php │ │ │ └── UserRoles.php │ │ └── UserName.php │ ├── Queries │ │ ├── DoesUserExistWithEmail.php │ │ ├── FindPermissions.php │ │ ├── FindRoles.php │ │ ├── FindUsers.php │ │ ├── GetAccountById.php │ │ ├── GetPermissionByName.php │ │ ├── GetRoleById.php │ │ └── GetUserById.php │ └── Services │ │ └── Repositories │ │ ├── PermissionRepository.php │ │ ├── RoleRepository.php │ │ └── UserRepository.php │ └── Infrastructure │ └── Persistence │ ├── EntityLocators │ ├── PermissionLocator.php │ ├── RoleLocator.php │ └── UserLocator.php │ ├── Repositories │ ├── PermissionRepository.php │ ├── RoleRepository.php │ └── UserRepository.php │ └── Types │ ├── AbstractNameType.php │ ├── PermissionNameType.php │ ├── RoleNameType.php │ └── UserNameType.php ├── symfony.lock ├── templates └── base.html.twig └── tests ├── Accounts ├── Delivery │ └── Api │ │ └── V1 │ │ └── Accounts │ │ ├── ActivationTest.php │ │ ├── ChangeAccountNameTest.php │ │ ├── CreateAccountTest.php │ │ ├── DestroyAccountTest.php │ │ ├── ListAccountTest.php │ │ └── ViewAccountTest.php └── Domain │ └── Models │ └── AccountTest.php ├── DocumentationTest.php ├── Support ├── Behaviours │ ├── BootKernel.php │ ├── BootTestClient.php │ ├── DoctrineHelper.php │ ├── FixturesTrait.php │ ├── GenerateRouteTo.php │ ├── MakeJsonRequestTo.php │ └── UseObjectFactoryHelper.php ├── Factories │ ├── AccountFactory.php │ └── UserFactory.php ├── Fixtures │ ├── AccountFixture.php │ ├── AccountWithUserFixture.php │ ├── RoleFixture.php │ └── RoleWithPermissionFixture.php └── ObjectFactoryHelper.php ├── Users ├── Delivery │ └── Api │ │ └── V1 │ │ ├── Permissions │ │ ├── CreatePermissionsTest.php │ │ ├── DestroyPermissionsTest.php │ │ └── ListPermissionsTest.php │ │ ├── Roles │ │ ├── CreateRoleTest.php │ │ ├── DestroyRoleTest.php │ │ ├── ListRolesTest.php │ │ └── ViewRoleTest.php │ │ └── Users │ │ ├── ActivationTest.php │ │ ├── ChangeAuthCredsTest.php │ │ ├── ChangeNameTest.php │ │ ├── CreateUserTest.php │ │ ├── DestroyUserTest.php │ │ ├── ListUserTest.php │ │ ├── UpdateAccountTest.php │ │ └── ViewUserTest.php └── Domain │ └── Models │ ├── PermissionTest.php │ ├── RoleTest.php │ └── UserTest.php └── bootstrap.php /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.env -------------------------------------------------------------------------------- /.env.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.env.test -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/accounts-service.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/accounts-service.iml -------------------------------------------------------------------------------- /.idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/php-test-framework.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/php-test-framework.xml -------------------------------------------------------------------------------- /.idea/php.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/php.xml -------------------------------------------------------------------------------- /.idea/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/phpunit.xml -------------------------------------------------------------------------------- /.idea/symfony2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/symfony2.xml -------------------------------------------------------------------------------- /.idea/vagrant.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/vagrant.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/webResources.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.idea/webResources.xml -------------------------------------------------------------------------------- /.mutagen_sync_it.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/.mutagen_sync_it.yaml -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/bin/console -------------------------------------------------------------------------------- /bin/dc-composer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/bin/dc-composer -------------------------------------------------------------------------------- /bin/dc-console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/bin/dc-console -------------------------------------------------------------------------------- /bin/dc-phpunit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/bin/dc-phpunit -------------------------------------------------------------------------------- /bin/dc-shell: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/bin/dc-shell -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/composer.lock -------------------------------------------------------------------------------- /config/bundles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/bundles.php -------------------------------------------------------------------------------- /config/docker/dev/app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/dev/app/Dockerfile -------------------------------------------------------------------------------- /config/docker/dev/app/conf.d/zz-custom.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/dev/app/conf.d/zz-custom.ini -------------------------------------------------------------------------------- /config/docker/dev/app/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/dev/app/docker-entrypoint.sh -------------------------------------------------------------------------------- /config/docker/prod/app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/prod/app/Dockerfile -------------------------------------------------------------------------------- /config/docker/prod/app/conf.d/zz-custom.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/prod/app/conf.d/zz-custom.ini -------------------------------------------------------------------------------- /config/docker/prod/app/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/prod/app/docker-entrypoint.sh -------------------------------------------------------------------------------- /config/docker/test/app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/test/app/Dockerfile -------------------------------------------------------------------------------- /config/docker/test/app/conf.d/zz-custom.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/test/app/conf.d/zz-custom.ini -------------------------------------------------------------------------------- /config/docker/test/app/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/docker/test/app/docker-entrypoint.sh -------------------------------------------------------------------------------- /config/docker/test/db-accounts/init.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/mappings/accounts/Account.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/mappings/accounts/Account.orm.xml -------------------------------------------------------------------------------- /config/mappings/somnambulist/Identity.ExternalIdentity.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/mappings/somnambulist/Identity.ExternalIdentity.orm.xml -------------------------------------------------------------------------------- /config/mappings/users/AccountId.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/mappings/users/AccountId.orm.xml -------------------------------------------------------------------------------- /config/mappings/users/Permission.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/mappings/users/Permission.orm.xml -------------------------------------------------------------------------------- /config/mappings/users/Role.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/mappings/users/Role.orm.xml -------------------------------------------------------------------------------- /config/mappings/users/User.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/mappings/users/User.orm.xml -------------------------------------------------------------------------------- /config/openapi/schemas/Account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/Account.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/AccountSearchResult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/AccountSearchResult.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/Error.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/Error.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/Pagination.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/Pagination.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/Permission.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/Permission.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/PermissionSearchResult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/PermissionSearchResult.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/Role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/Role.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/RoleSearchResult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/RoleSearchResult.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/ServiceList.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/ServiceList.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/User.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/User.yaml -------------------------------------------------------------------------------- /config/openapi/schemas/UserSearchResult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/openapi/schemas/UserSearchResult.yaml -------------------------------------------------------------------------------- /config/packages/cache.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/cache.yaml -------------------------------------------------------------------------------- /config/packages/dama_doctrine_test_bundle.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/dama_doctrine_test_bundle.yaml -------------------------------------------------------------------------------- /config/packages/debug.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/debug.yaml -------------------------------------------------------------------------------- /config/packages/doctrine.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/doctrine.yaml -------------------------------------------------------------------------------- /config/packages/doctrine_migrations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/doctrine_migrations.yaml -------------------------------------------------------------------------------- /config/packages/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/framework.yaml -------------------------------------------------------------------------------- /config/packages/liip.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/liip.yaml -------------------------------------------------------------------------------- /config/packages/messenger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/messenger.yaml -------------------------------------------------------------------------------- /config/packages/monolog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/monolog.yaml -------------------------------------------------------------------------------- /config/packages/routing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/routing.yaml -------------------------------------------------------------------------------- /config/packages/somnambulist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/somnambulist.yaml -------------------------------------------------------------------------------- /config/packages/somnambulist_services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/somnambulist_services.yaml -------------------------------------------------------------------------------- /config/packages/twig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/twig.yaml -------------------------------------------------------------------------------- /config/packages/validator.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/validator.yaml -------------------------------------------------------------------------------- /config/packages/web_profiler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/packages/web_profiler.yaml -------------------------------------------------------------------------------- /config/routes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes.yaml -------------------------------------------------------------------------------- /config/routes/api/v1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/api/v1.yaml -------------------------------------------------------------------------------- /config/routes/api/v1/accounts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/api/v1/accounts.yaml -------------------------------------------------------------------------------- /config/routes/api/v1/permissions.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/api/v1/permissions.yaml -------------------------------------------------------------------------------- /config/routes/api/v1/roles.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/api/v1/roles.yaml -------------------------------------------------------------------------------- /config/routes/api/v1/users.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/api/v1/users.yaml -------------------------------------------------------------------------------- /config/routes/dev/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/dev/framework.yaml -------------------------------------------------------------------------------- /config/routes/dev/web_profiler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/routes/dev/web_profiler.yaml -------------------------------------------------------------------------------- /config/services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/config/services.yaml -------------------------------------------------------------------------------- /docker-compose-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/docker-compose-release.yml -------------------------------------------------------------------------------- /docker-compose-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/docker-compose-test.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /migrations/Version20201003212743.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/migrations/Version20201003212743.php -------------------------------------------------------------------------------- /migrations/Version20201003220231.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/migrations/Version20201003220231.php -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /ppm.dist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/ppm.dist.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/public/index.php -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/readme.md -------------------------------------------------------------------------------- /src/Accounts/Application/CommandHandlers/ActivateAccountCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/CommandHandlers/ActivateAccountCommandHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/CommandHandlers/ChangeAccountNameCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/CommandHandlers/ChangeAccountNameCommandHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/CommandHandlers/CreateAccountCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/CommandHandlers/CreateAccountCommandHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/CommandHandlers/DeactivateAccountCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/CommandHandlers/DeactivateAccountCommandHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/CommandHandlers/DestroyAccountCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/CommandHandlers/DestroyAccountCommandHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/QueryHandlers/CountUsersOnAccountQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/QueryHandlers/CountUsersOnAccountQueryHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/QueryHandlers/FindAccountsQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/QueryHandlers/FindAccountsQueryHandler.php -------------------------------------------------------------------------------- /src/Accounts/Application/QueryHandlers/GetAccountByIdQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Application/QueryHandlers/GetAccountByIdQueryHandler.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Controllers/ActivationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Controllers/ActivationController.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Controllers/ChangeNameController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Controllers/ChangeNameController.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Controllers/CreateController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Controllers/CreateController.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Controllers/DestroyController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Controllers/DestroyController.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Controllers/SearchController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Controllers/SearchController.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Controllers/ViewController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Controllers/ViewController.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Forms/ChangeAccountNameRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Forms/ChangeAccountNameRequest.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Forms/CreateAccountRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Forms/CreateAccountRequest.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Forms/SearchAccountsRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Forms/SearchAccountsRequest.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Forms/ViewAccountRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Forms/ViewAccountRequest.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Api/V1/Accounts/Transformers/AccountViewTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/Api/V1/Accounts/Transformers/AccountViewTransformer.php -------------------------------------------------------------------------------- /src/Accounts/Delivery/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Accounts/Delivery/ViewModels/AccountView.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Delivery/ViewModels/AccountView.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Commands/ActivateAccount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Commands/ActivateAccount.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Commands/ChangeAccountName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Commands/ChangeAccountName.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Commands/CreateAccount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Commands/CreateAccount.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Commands/DeactivateAccount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Commands/DeactivateAccount.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Commands/DestroyAccount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Commands/DestroyAccount.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Events/AccountActivated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Events/AccountActivated.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Events/AccountCreated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Events/AccountCreated.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Events/AccountDeactivated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Events/AccountDeactivated.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Events/AccountDestroyed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Events/AccountDestroyed.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Events/AccountNameUpdated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Events/AccountNameUpdated.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Models/Account.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Models/Account.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Queries/CountUsersOnAccount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Queries/CountUsersOnAccount.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Queries/FindAccounts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Queries/FindAccounts.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Queries/GetAccountById.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Queries/GetAccountById.php -------------------------------------------------------------------------------- /src/Accounts/Domain/Services/Repositories/AccountRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Domain/Services/Repositories/AccountRepository.php -------------------------------------------------------------------------------- /src/Accounts/Infrastructure/Persistence/EntityLocators/AccountLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Infrastructure/Persistence/EntityLocators/AccountLocator.php -------------------------------------------------------------------------------- /src/Accounts/Infrastructure/Persistence/Repositories/AccountRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Accounts/Infrastructure/Persistence/Repositories/AccountRepository.php -------------------------------------------------------------------------------- /src/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Kernel.php -------------------------------------------------------------------------------- /src/Resources/Application/QueryHandlers/Behaviours/CanApplyOrderToQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Resources/Application/QueryHandlers/Behaviours/CanApplyOrderToQuery.php -------------------------------------------------------------------------------- /src/Resources/Delivery/Api/ApiController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Resources/Delivery/Api/ApiController.php -------------------------------------------------------------------------------- /src/Resources/Delivery/Api/Forms/FormRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Resources/Delivery/Api/Forms/FormRequest.php -------------------------------------------------------------------------------- /src/Resources/Delivery/Api/IndexController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Resources/Delivery/Api/IndexController.php -------------------------------------------------------------------------------- /src/Resources/Delivery/Console/AbstractCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Resources/Delivery/Console/AbstractCommand.php -------------------------------------------------------------------------------- /src/Resources/ResourcesBundle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Resources/ResourcesBundle.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/ActivateUserCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/ActivateUserCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/ChangeGrantableRolesCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/ChangeGrantableRolesCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/ChangeRolePermissionsCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/ChangeRolePermissionsCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/ChangeUsersAccountCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/ChangeUsersAccountCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/ChangeUsersAuthCredentialsCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/ChangeUsersAuthCredentialsCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/ChangeUsersNameCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/ChangeUsersNameCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/CreatePermissionCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/CreatePermissionCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/CreateRoleCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/CreateRoleCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/CreateUserCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/CreateUserCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/DeactivateUserCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/DeactivateUserCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/DestroyPermissionCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/DestroyPermissionCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/DestroyRoleCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/DestroyRoleCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/CommandHandlers/DestroyUserCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/CommandHandlers/DestroyUserCommandHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/DoesUserExistWithEmailQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/DoesUserExistWithEmailQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/FindPermissionsQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/FindPermissionsQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/FindRolesQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/FindRolesQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/FindUsersQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/FindUsersQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/GetAccountByIdQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/GetAccountByIdQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/GetPermissionByNameQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/GetPermissionByNameQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/GetRoleByIdQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/GetRoleByIdQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Application/QueryHandlers/GetUserByIdQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Application/QueryHandlers/GetUserByIdQueryHandler.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Permissions/Controllers/CreateController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Permissions/Controllers/CreateController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Permissions/Controllers/DestroyController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Permissions/Controllers/DestroyController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Permissions/Controllers/SearchController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Permissions/Controllers/SearchController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Permissions/Forms/CreatePermissionRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Permissions/Forms/CreatePermissionRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Permissions/Forms/SearchPermissionsRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Permissions/Forms/SearchPermissionsRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Permissions/Transformers/PermissionViewTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Permissions/Transformers/PermissionViewTransformer.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Controllers/ChangePermissionsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Controllers/ChangePermissionsController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Controllers/ChangeRolesController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Controllers/ChangeRolesController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Controllers/CreateController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Controllers/CreateController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Controllers/DestroyController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Controllers/DestroyController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Controllers/SearchController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Controllers/SearchController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Controllers/ViewController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Controllers/ViewController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Forms/ChangeGrantableRolesRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Forms/ChangeGrantableRolesRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Forms/ChangePermissionsRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Forms/ChangePermissionsRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Forms/CreateRoleRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Forms/CreateRoleRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Forms/SearchRolesRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Forms/SearchRolesRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Forms/ViewRoleRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Forms/ViewRoleRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Roles/Transformers/RoleViewTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Roles/Transformers/RoleViewTransformer.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/ActivationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/ActivationController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/ChangeAccountController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/ChangeAccountController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/ChangeAuthCredentialsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/ChangeAuthCredentialsController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/ChangeNameController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/ChangeNameController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/CreateController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/CreateController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/DestroyController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/DestroyController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/SearchController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/SearchController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Controllers/ViewController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Controllers/ViewController.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/ChangeAuthCredentialsRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/ChangeAuthCredentialsRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/ChangeNameRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/ChangeNameRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/CreateUserRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/CreateUserRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/ResetPasswordRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/ResetPasswordRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/SearchUsersRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/SearchUsersRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/UpdateAccountRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/UpdateAccountRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/UpdateEmailRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/UpdateEmailRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Forms/ViewUserRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Forms/ViewUserRequest.php -------------------------------------------------------------------------------- /src/Users/Delivery/Api/V1/Users/Transformers/UserViewTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/Api/V1/Users/Transformers/UserViewTransformer.php -------------------------------------------------------------------------------- /src/Users/Delivery/Console/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Users/Delivery/ViewModels/PermissionView.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/ViewModels/PermissionView.php -------------------------------------------------------------------------------- /src/Users/Delivery/ViewModels/RoleView.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/ViewModels/RoleView.php -------------------------------------------------------------------------------- /src/Users/Delivery/ViewModels/UserView.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Delivery/ViewModels/UserView.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/ActivateUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/ActivateUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/ChangeGrantableRoles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/ChangeGrantableRoles.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/ChangeRolePermissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/ChangeRolePermissions.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/ChangeUsersAccount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/ChangeUsersAccount.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/ChangeUsersAuthCredentials.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/ChangeUsersAuthCredentials.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/ChangeUsersName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/ChangeUsersName.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/CreatePermission.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/CreatePermission.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/CreateRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/CreateRole.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/CreateUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/CreateUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/DeactivateUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/DeactivateUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/DestroyPermission.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/DestroyPermission.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/DestroyRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/DestroyRole.php -------------------------------------------------------------------------------- /src/Users/Domain/Commands/DestroyUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Commands/DestroyUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/AllPermissionsHaveBeenRevokedFromRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/AllPermissionsHaveBeenRevokedFromRole.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/AllRolesHaveBeenRevokedFromRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/AllRolesHaveBeenRevokedFromRole.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/GrantedPermissionsToRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/GrantedPermissionsToRole.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/GrantedPermissionsToUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/GrantedPermissionsToUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/GrantedRolesToUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/GrantedRolesToUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/RevokedPermissionsFromRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/RevokedPermissionsFromRole.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/RevokedPermissionsFromUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/RevokedPermissionsFromUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/RevokedRolesFromUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/RevokedRolesFromUser.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/RoleHasBeenAllowedToGrantRoles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/RoleHasBeenAllowedToGrantRoles.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/RoleHasBeenDeniedGrantingRoles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/RoleHasBeenDeniedGrantingRoles.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserAccountChanged.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserAccountChanged.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserActivated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserActivated.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserAuthenticationCredentialsChanged.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserAuthenticationCredentialsChanged.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserCreated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserCreated.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserDeactivated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserDeactivated.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserDestroyed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserDestroyed.php -------------------------------------------------------------------------------- /src/Users/Domain/Events/UserNameChanged.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Events/UserNameChanged.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/AccountId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/AccountId.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/Permission.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/Permission.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/PermissionName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/PermissionName.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/Role.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/Role.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/Role/RoleGrantableRoles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/Role/RoleGrantableRoles.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/Role/RolePermissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/Role/RolePermissions.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/RoleName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/RoleName.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/User.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/User/UserPermissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/User/UserPermissions.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/User/UserRoles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/User/UserRoles.php -------------------------------------------------------------------------------- /src/Users/Domain/Models/UserName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Models/UserName.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/DoesUserExistWithEmail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/DoesUserExistWithEmail.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/FindPermissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/FindPermissions.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/FindRoles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/FindRoles.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/FindUsers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/FindUsers.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/GetAccountById.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/GetAccountById.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/GetPermissionByName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/GetPermissionByName.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/GetRoleById.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/GetRoleById.php -------------------------------------------------------------------------------- /src/Users/Domain/Queries/GetUserById.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Queries/GetUserById.php -------------------------------------------------------------------------------- /src/Users/Domain/Services/Repositories/PermissionRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Services/Repositories/PermissionRepository.php -------------------------------------------------------------------------------- /src/Users/Domain/Services/Repositories/RoleRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Services/Repositories/RoleRepository.php -------------------------------------------------------------------------------- /src/Users/Domain/Services/Repositories/UserRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Domain/Services/Repositories/UserRepository.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/EntityLocators/PermissionLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/EntityLocators/PermissionLocator.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/EntityLocators/RoleLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/EntityLocators/RoleLocator.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/EntityLocators/UserLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/EntityLocators/UserLocator.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Repositories/PermissionRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Repositories/PermissionRepository.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Repositories/RoleRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Repositories/RoleRepository.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Repositories/UserRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Repositories/UserRepository.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Types/AbstractNameType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Types/AbstractNameType.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Types/PermissionNameType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Types/PermissionNameType.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Types/RoleNameType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Types/RoleNameType.php -------------------------------------------------------------------------------- /src/Users/Infrastructure/Persistence/Types/UserNameType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/src/Users/Infrastructure/Persistence/Types/UserNameType.php -------------------------------------------------------------------------------- /symfony.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/symfony.lock -------------------------------------------------------------------------------- /templates/base.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/templates/base.html.twig -------------------------------------------------------------------------------- /tests/Accounts/Delivery/Api/V1/Accounts/ActivationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Delivery/Api/V1/Accounts/ActivationTest.php -------------------------------------------------------------------------------- /tests/Accounts/Delivery/Api/V1/Accounts/ChangeAccountNameTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Delivery/Api/V1/Accounts/ChangeAccountNameTest.php -------------------------------------------------------------------------------- /tests/Accounts/Delivery/Api/V1/Accounts/CreateAccountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Delivery/Api/V1/Accounts/CreateAccountTest.php -------------------------------------------------------------------------------- /tests/Accounts/Delivery/Api/V1/Accounts/DestroyAccountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Delivery/Api/V1/Accounts/DestroyAccountTest.php -------------------------------------------------------------------------------- /tests/Accounts/Delivery/Api/V1/Accounts/ListAccountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Delivery/Api/V1/Accounts/ListAccountTest.php -------------------------------------------------------------------------------- /tests/Accounts/Delivery/Api/V1/Accounts/ViewAccountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Delivery/Api/V1/Accounts/ViewAccountTest.php -------------------------------------------------------------------------------- /tests/Accounts/Domain/Models/AccountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Accounts/Domain/Models/AccountTest.php -------------------------------------------------------------------------------- /tests/DocumentationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/DocumentationTest.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/BootKernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/BootKernel.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/BootTestClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/BootTestClient.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/DoctrineHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/DoctrineHelper.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/FixturesTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/FixturesTrait.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/GenerateRouteTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/GenerateRouteTo.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/MakeJsonRequestTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/MakeJsonRequestTo.php -------------------------------------------------------------------------------- /tests/Support/Behaviours/UseObjectFactoryHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Behaviours/UseObjectFactoryHelper.php -------------------------------------------------------------------------------- /tests/Support/Factories/AccountFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Factories/AccountFactory.php -------------------------------------------------------------------------------- /tests/Support/Factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Factories/UserFactory.php -------------------------------------------------------------------------------- /tests/Support/Fixtures/AccountFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Fixtures/AccountFixture.php -------------------------------------------------------------------------------- /tests/Support/Fixtures/AccountWithUserFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Fixtures/AccountWithUserFixture.php -------------------------------------------------------------------------------- /tests/Support/Fixtures/RoleFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Fixtures/RoleFixture.php -------------------------------------------------------------------------------- /tests/Support/Fixtures/RoleWithPermissionFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/Fixtures/RoleWithPermissionFixture.php -------------------------------------------------------------------------------- /tests/Support/ObjectFactoryHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Support/ObjectFactoryHelper.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Permissions/CreatePermissionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Permissions/CreatePermissionsTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Permissions/DestroyPermissionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Permissions/DestroyPermissionsTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Permissions/ListPermissionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Permissions/ListPermissionsTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Roles/CreateRoleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Roles/CreateRoleTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Roles/DestroyRoleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Roles/DestroyRoleTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Roles/ListRolesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Roles/ListRolesTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Roles/ViewRoleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Roles/ViewRoleTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/ActivationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/ActivationTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/ChangeAuthCredsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/ChangeAuthCredsTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/ChangeNameTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/ChangeNameTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/CreateUserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/CreateUserTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/DestroyUserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/DestroyUserTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/ListUserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/ListUserTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/UpdateAccountTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/UpdateAccountTest.php -------------------------------------------------------------------------------- /tests/Users/Delivery/Api/V1/Users/ViewUserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Delivery/Api/V1/Users/ViewUserTest.php -------------------------------------------------------------------------------- /tests/Users/Domain/Models/PermissionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Domain/Models/PermissionTest.php -------------------------------------------------------------------------------- /tests/Users/Domain/Models/RoleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Domain/Models/RoleTest.php -------------------------------------------------------------------------------- /tests/Users/Domain/Models/UserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/Users/Domain/Models/UserTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somnambulist-tech/accounts-service-skeleton/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------