├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Docs ├── Documentation │ ├── Authentication.md │ ├── Authorization.md │ ├── MigrationGuide.md │ ├── OwnerRule.md │ ├── Rbac.md │ ├── SimpleRbacAuthorize.md │ ├── Social.md │ ├── SuperuserAuthorize.md │ ├── Testing.md │ └── TwoFactor.md └── Home.md ├── LICENSE.txt ├── README.md ├── composer.json ├── config ├── auth.php ├── bootstrap.php └── permissions.php ├── phpstan.neon ├── psalm.xml ├── src ├── Authentication │ ├── AuthenticationService.php │ ├── DefaultOneTimePasswordAuthenticationChecker.php │ ├── DefaultWebauthn2FAuthenticationChecker.php │ ├── Failure.php │ ├── FailureInterface.php │ ├── OneTimePasswordAuthenticationCheckerFactory.php │ ├── OneTimePasswordAuthenticationCheckerInterface.php │ ├── TwoFactorProcessor │ │ ├── OneTimePasswordProcessor.php │ │ └── Webauthn2faProcessor.php │ ├── TwoFactorProcessorCollection.php │ ├── TwoFactorProcessorInterface.php │ ├── TwoFactorProcessorLoader.php │ ├── Webauthn2fAuthenticationCheckerFactory.php │ └── Webauthn2fAuthenticationCheckerInterface.php ├── Authenticator │ ├── CookieAuthenticator.php │ ├── FormAuthenticator.php │ ├── OneTimeTokenAuthenticator.php │ ├── SocialAuthenticator.php │ └── TwoFactorAuthenticator.php ├── Controller │ └── Component │ │ └── OneTimePasswordAuthenticatorComponent.php ├── Exception │ ├── InvalidProviderException.php │ └── InvalidSettingsException.php ├── Identifier │ └── SocialIdentifier.php ├── Middleware │ ├── RbacMiddleware.php │ ├── SocialAuthMiddleware.php │ └── TwoFactorMiddleware.php ├── Plugin.php ├── Policy │ ├── CollectionPolicy.php │ ├── PolicyInterface.php │ ├── RbacPolicy.php │ └── SuperuserPolicy.php ├── Rbac │ ├── PermissionMatchResult.php │ ├── Permissions │ │ ├── AbstractProvider.php │ │ └── ConfigProvider.php │ ├── Rbac.php │ ├── RbacInterface.php │ └── Rules │ │ ├── AbstractRule.php │ │ ├── Owner.php │ │ ├── Rule.php │ │ └── RuleRegistry.php ├── Social │ ├── MapUser.php │ ├── Mapper │ │ ├── AbstractMapper.php │ │ ├── Amazon.php │ │ ├── Azure.php │ │ ├── Cognito.php │ │ ├── Facebook.php │ │ ├── Github.php │ │ ├── Google.php │ │ ├── Instagram.php │ │ ├── LinkedIn.php │ │ ├── Pinterest.php │ │ ├── Tumblr.php │ │ └── Twitter.php │ ├── ProviderConfig.php │ └── Service │ │ ├── OAuth1Service.php │ │ ├── OAuth2Service.php │ │ ├── OAuthServiceAbstract.php │ │ ├── ServiceFactory.php │ │ └── ServiceInterface.php ├── Test │ └── BaseTestTrait.php └── Traits │ ├── IsAuthorizedTrait.php │ └── ReCaptchaTrait.php └── tests ├── App ├── Auth │ └── Rule │ │ └── SampleRule.php ├── Controller │ └── AppController.php └── Model │ └── Entity │ └── User.php ├── Fixture ├── PostsFixture.php ├── PostsUsersFixture.php ├── SocialAccountsFixture.php └── UsersFixture.php ├── TestApplication.php ├── TestCase ├── Auth │ └── Rbac │ │ └── PermissionMatchResultTest.php ├── Authentication │ ├── AuthenticationServiceTest.php │ ├── DefaultOneTimePasswordAuthenticationCheckerTest.php │ ├── DefaultWebauthn2fAuthenticationCheckerTest.php │ ├── FailureTest.php │ ├── OneTimePasswordAuthenticationCheckerFactoryTest.php │ └── Webauthn2fAuthenticationCheckerFactoryTest.php ├── Authenticator │ ├── CookieAuthenticatorTest.php │ ├── FormAuthenticatorTest.php │ ├── SocialAuthenticatorTest.php │ └── TwoFactorAuthenticatorTest.php ├── Controller │ └── Component │ │ └── OneTimePasswordAuthenticatorComponentTest.php ├── Exception │ ├── InvalidProviderExceptionTest.php │ └── InvalidSettingsExceptionTest.php ├── Identifier │ └── SocialIdentifierTest.php ├── Middleware │ ├── RbacMiddlewareTest.php │ ├── SocialAuthMiddlewareTest.php │ └── TwoFactorMiddlewareTest.php ├── Policy │ ├── CollectionPolicyTest.php │ ├── RbacPolicyTest.php │ └── SuperuserPolicyTest.php ├── Rbac │ ├── Permissions │ │ └── ConfigProviderTest.php │ ├── RbacTest.php │ └── Rules │ │ ├── OwnerTest.php │ │ └── RuleRegistryTest.php ├── Social │ ├── MapUserTest.php │ ├── Mapper │ │ ├── AzureTest.php │ │ ├── CognitoTest.php │ │ ├── FacebookTest.php │ │ ├── GoogleTest.php │ │ ├── InstagramTest.php │ │ ├── LinkedInTest.php │ │ └── TwitterTest.php │ ├── ProviderConfigTest.php │ └── Service │ │ ├── OAuth1ServiceTest.php │ │ ├── OAuth2ServiceTest.php │ │ └── ServiceFactoryTest.php └── Traits │ └── IsAuthorizedTraitTest.php ├── bootstrap.php ├── config ├── bootstrap.php ├── existing.php └── routes.php └── schema.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /tmp 2 | /vendor 3 | /.idea 4 | composer.lock 5 | .php_cs.cache 6 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Docs/Documentation/Authentication.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/Authentication.md -------------------------------------------------------------------------------- /Docs/Documentation/Authorization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/Authorization.md -------------------------------------------------------------------------------- /Docs/Documentation/MigrationGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/MigrationGuide.md -------------------------------------------------------------------------------- /Docs/Documentation/OwnerRule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/OwnerRule.md -------------------------------------------------------------------------------- /Docs/Documentation/Rbac.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/Rbac.md -------------------------------------------------------------------------------- /Docs/Documentation/SimpleRbacAuthorize.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/SimpleRbacAuthorize.md -------------------------------------------------------------------------------- /Docs/Documentation/Social.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/Social.md -------------------------------------------------------------------------------- /Docs/Documentation/SuperuserAuthorize.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/SuperuserAuthorize.md -------------------------------------------------------------------------------- /Docs/Documentation/Testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/Testing.md -------------------------------------------------------------------------------- /Docs/Documentation/TwoFactor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Documentation/TwoFactor.md -------------------------------------------------------------------------------- /Docs/Home.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/Docs/Home.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/composer.json -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/config/auth.php -------------------------------------------------------------------------------- /config/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/config/bootstrap.php -------------------------------------------------------------------------------- /config/permissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/config/permissions.php -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/phpstan.neon -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Authentication/AuthenticationService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/AuthenticationService.php -------------------------------------------------------------------------------- /src/Authentication/DefaultOneTimePasswordAuthenticationChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/DefaultOneTimePasswordAuthenticationChecker.php -------------------------------------------------------------------------------- /src/Authentication/DefaultWebauthn2FAuthenticationChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/DefaultWebauthn2FAuthenticationChecker.php -------------------------------------------------------------------------------- /src/Authentication/Failure.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/Failure.php -------------------------------------------------------------------------------- /src/Authentication/FailureInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/FailureInterface.php -------------------------------------------------------------------------------- /src/Authentication/OneTimePasswordAuthenticationCheckerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/OneTimePasswordAuthenticationCheckerFactory.php -------------------------------------------------------------------------------- /src/Authentication/OneTimePasswordAuthenticationCheckerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/OneTimePasswordAuthenticationCheckerInterface.php -------------------------------------------------------------------------------- /src/Authentication/TwoFactorProcessor/OneTimePasswordProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/TwoFactorProcessor/OneTimePasswordProcessor.php -------------------------------------------------------------------------------- /src/Authentication/TwoFactorProcessor/Webauthn2faProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/TwoFactorProcessor/Webauthn2faProcessor.php -------------------------------------------------------------------------------- /src/Authentication/TwoFactorProcessorCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/TwoFactorProcessorCollection.php -------------------------------------------------------------------------------- /src/Authentication/TwoFactorProcessorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/TwoFactorProcessorInterface.php -------------------------------------------------------------------------------- /src/Authentication/TwoFactorProcessorLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/TwoFactorProcessorLoader.php -------------------------------------------------------------------------------- /src/Authentication/Webauthn2fAuthenticationCheckerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/Webauthn2fAuthenticationCheckerFactory.php -------------------------------------------------------------------------------- /src/Authentication/Webauthn2fAuthenticationCheckerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authentication/Webauthn2fAuthenticationCheckerInterface.php -------------------------------------------------------------------------------- /src/Authenticator/CookieAuthenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authenticator/CookieAuthenticator.php -------------------------------------------------------------------------------- /src/Authenticator/FormAuthenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authenticator/FormAuthenticator.php -------------------------------------------------------------------------------- /src/Authenticator/OneTimeTokenAuthenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authenticator/OneTimeTokenAuthenticator.php -------------------------------------------------------------------------------- /src/Authenticator/SocialAuthenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authenticator/SocialAuthenticator.php -------------------------------------------------------------------------------- /src/Authenticator/TwoFactorAuthenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Authenticator/TwoFactorAuthenticator.php -------------------------------------------------------------------------------- /src/Controller/Component/OneTimePasswordAuthenticatorComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Controller/Component/OneTimePasswordAuthenticatorComponent.php -------------------------------------------------------------------------------- /src/Exception/InvalidProviderException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Exception/InvalidProviderException.php -------------------------------------------------------------------------------- /src/Exception/InvalidSettingsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Exception/InvalidSettingsException.php -------------------------------------------------------------------------------- /src/Identifier/SocialIdentifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Identifier/SocialIdentifier.php -------------------------------------------------------------------------------- /src/Middleware/RbacMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Middleware/RbacMiddleware.php -------------------------------------------------------------------------------- /src/Middleware/SocialAuthMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Middleware/SocialAuthMiddleware.php -------------------------------------------------------------------------------- /src/Middleware/TwoFactorMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Middleware/TwoFactorMiddleware.php -------------------------------------------------------------------------------- /src/Plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Plugin.php -------------------------------------------------------------------------------- /src/Policy/CollectionPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Policy/CollectionPolicy.php -------------------------------------------------------------------------------- /src/Policy/PolicyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Policy/PolicyInterface.php -------------------------------------------------------------------------------- /src/Policy/RbacPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Policy/RbacPolicy.php -------------------------------------------------------------------------------- /src/Policy/SuperuserPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Policy/SuperuserPolicy.php -------------------------------------------------------------------------------- /src/Rbac/PermissionMatchResult.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/PermissionMatchResult.php -------------------------------------------------------------------------------- /src/Rbac/Permissions/AbstractProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Permissions/AbstractProvider.php -------------------------------------------------------------------------------- /src/Rbac/Permissions/ConfigProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Permissions/ConfigProvider.php -------------------------------------------------------------------------------- /src/Rbac/Rbac.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Rbac.php -------------------------------------------------------------------------------- /src/Rbac/RbacInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/RbacInterface.php -------------------------------------------------------------------------------- /src/Rbac/Rules/AbstractRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Rules/AbstractRule.php -------------------------------------------------------------------------------- /src/Rbac/Rules/Owner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Rules/Owner.php -------------------------------------------------------------------------------- /src/Rbac/Rules/Rule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Rules/Rule.php -------------------------------------------------------------------------------- /src/Rbac/Rules/RuleRegistry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Rbac/Rules/RuleRegistry.php -------------------------------------------------------------------------------- /src/Social/MapUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/MapUser.php -------------------------------------------------------------------------------- /src/Social/Mapper/AbstractMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/AbstractMapper.php -------------------------------------------------------------------------------- /src/Social/Mapper/Amazon.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Amazon.php -------------------------------------------------------------------------------- /src/Social/Mapper/Azure.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Azure.php -------------------------------------------------------------------------------- /src/Social/Mapper/Cognito.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Cognito.php -------------------------------------------------------------------------------- /src/Social/Mapper/Facebook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Facebook.php -------------------------------------------------------------------------------- /src/Social/Mapper/Github.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Github.php -------------------------------------------------------------------------------- /src/Social/Mapper/Google.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Google.php -------------------------------------------------------------------------------- /src/Social/Mapper/Instagram.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Instagram.php -------------------------------------------------------------------------------- /src/Social/Mapper/LinkedIn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/LinkedIn.php -------------------------------------------------------------------------------- /src/Social/Mapper/Pinterest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Pinterest.php -------------------------------------------------------------------------------- /src/Social/Mapper/Tumblr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Tumblr.php -------------------------------------------------------------------------------- /src/Social/Mapper/Twitter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Mapper/Twitter.php -------------------------------------------------------------------------------- /src/Social/ProviderConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/ProviderConfig.php -------------------------------------------------------------------------------- /src/Social/Service/OAuth1Service.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Service/OAuth1Service.php -------------------------------------------------------------------------------- /src/Social/Service/OAuth2Service.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Service/OAuth2Service.php -------------------------------------------------------------------------------- /src/Social/Service/OAuthServiceAbstract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Service/OAuthServiceAbstract.php -------------------------------------------------------------------------------- /src/Social/Service/ServiceFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Service/ServiceFactory.php -------------------------------------------------------------------------------- /src/Social/Service/ServiceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Social/Service/ServiceInterface.php -------------------------------------------------------------------------------- /src/Test/BaseTestTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Test/BaseTestTrait.php -------------------------------------------------------------------------------- /src/Traits/IsAuthorizedTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Traits/IsAuthorizedTrait.php -------------------------------------------------------------------------------- /src/Traits/ReCaptchaTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/src/Traits/ReCaptchaTrait.php -------------------------------------------------------------------------------- /tests/App/Auth/Rule/SampleRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/App/Auth/Rule/SampleRule.php -------------------------------------------------------------------------------- /tests/App/Controller/AppController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/App/Controller/AppController.php -------------------------------------------------------------------------------- /tests/App/Model/Entity/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/App/Model/Entity/User.php -------------------------------------------------------------------------------- /tests/Fixture/PostsFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/Fixture/PostsFixture.php -------------------------------------------------------------------------------- /tests/Fixture/PostsUsersFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/Fixture/PostsUsersFixture.php -------------------------------------------------------------------------------- /tests/Fixture/SocialAccountsFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/Fixture/SocialAccountsFixture.php -------------------------------------------------------------------------------- /tests/Fixture/UsersFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/Fixture/UsersFixture.php -------------------------------------------------------------------------------- /tests/TestApplication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestApplication.php -------------------------------------------------------------------------------- /tests/TestCase/Auth/Rbac/PermissionMatchResultTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Auth/Rbac/PermissionMatchResultTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authentication/AuthenticationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authentication/AuthenticationServiceTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authentication/DefaultOneTimePasswordAuthenticationCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authentication/DefaultOneTimePasswordAuthenticationCheckerTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authentication/DefaultWebauthn2fAuthenticationCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authentication/DefaultWebauthn2fAuthenticationCheckerTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authentication/FailureTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authentication/FailureTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authentication/OneTimePasswordAuthenticationCheckerFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authentication/OneTimePasswordAuthenticationCheckerFactoryTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authentication/Webauthn2fAuthenticationCheckerFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authentication/Webauthn2fAuthenticationCheckerFactoryTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authenticator/CookieAuthenticatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authenticator/CookieAuthenticatorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authenticator/FormAuthenticatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authenticator/FormAuthenticatorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authenticator/SocialAuthenticatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authenticator/SocialAuthenticatorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Authenticator/TwoFactorAuthenticatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Authenticator/TwoFactorAuthenticatorTest.php -------------------------------------------------------------------------------- /tests/TestCase/Controller/Component/OneTimePasswordAuthenticatorComponentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Controller/Component/OneTimePasswordAuthenticatorComponentTest.php -------------------------------------------------------------------------------- /tests/TestCase/Exception/InvalidProviderExceptionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Exception/InvalidProviderExceptionTest.php -------------------------------------------------------------------------------- /tests/TestCase/Exception/InvalidSettingsExceptionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Exception/InvalidSettingsExceptionTest.php -------------------------------------------------------------------------------- /tests/TestCase/Identifier/SocialIdentifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Identifier/SocialIdentifierTest.php -------------------------------------------------------------------------------- /tests/TestCase/Middleware/RbacMiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Middleware/RbacMiddlewareTest.php -------------------------------------------------------------------------------- /tests/TestCase/Middleware/SocialAuthMiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Middleware/SocialAuthMiddlewareTest.php -------------------------------------------------------------------------------- /tests/TestCase/Middleware/TwoFactorMiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Middleware/TwoFactorMiddlewareTest.php -------------------------------------------------------------------------------- /tests/TestCase/Policy/CollectionPolicyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Policy/CollectionPolicyTest.php -------------------------------------------------------------------------------- /tests/TestCase/Policy/RbacPolicyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Policy/RbacPolicyTest.php -------------------------------------------------------------------------------- /tests/TestCase/Policy/SuperuserPolicyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Policy/SuperuserPolicyTest.php -------------------------------------------------------------------------------- /tests/TestCase/Rbac/Permissions/ConfigProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Rbac/Permissions/ConfigProviderTest.php -------------------------------------------------------------------------------- /tests/TestCase/Rbac/RbacTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Rbac/RbacTest.php -------------------------------------------------------------------------------- /tests/TestCase/Rbac/Rules/OwnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Rbac/Rules/OwnerTest.php -------------------------------------------------------------------------------- /tests/TestCase/Rbac/Rules/RuleRegistryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Rbac/Rules/RuleRegistryTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/MapUserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/MapUserTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/AzureTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/AzureTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/CognitoTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/CognitoTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/FacebookTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/FacebookTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/GoogleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/GoogleTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/InstagramTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/InstagramTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/LinkedInTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/LinkedInTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Mapper/TwitterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Mapper/TwitterTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/ProviderConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/ProviderConfigTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Service/OAuth1ServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Service/OAuth1ServiceTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Service/OAuth2ServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Service/OAuth2ServiceTest.php -------------------------------------------------------------------------------- /tests/TestCase/Social/Service/ServiceFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Social/Service/ServiceFactoryTest.php -------------------------------------------------------------------------------- /tests/TestCase/Traits/IsAuthorizedTraitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/TestCase/Traits/IsAuthorizedTraitTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/config/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/config/bootstrap.php -------------------------------------------------------------------------------- /tests/config/existing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/config/existing.php -------------------------------------------------------------------------------- /tests/config/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/config/routes.php -------------------------------------------------------------------------------- /tests/schema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CakeDC/auth/HEAD/tests/schema.php --------------------------------------------------------------------------------