├── .gitignore ├── .travis.yml ├── LICENSE.md ├── Makefile ├── Readme.md ├── behat.yml ├── circle.yml ├── composer.json ├── composer.lock ├── docker-compose.yml ├── src └── Silex │ ├── Component │ └── Security │ │ ├── Core │ │ └── Encoder │ │ │ ├── JWTEncoder.php │ │ │ └── TokenEncoderInterface.php │ │ └── Http │ │ ├── Authentication │ │ ├── AuthenticationFailureHandler.php │ │ ├── AuthenticationSuccessHandler.php │ │ └── Provider │ │ │ └── JWTProvider.php │ │ ├── EntryPoint │ │ └── JwtAuthenticationEntryPoint.php │ │ ├── Firewall │ │ └── JWTListener.php │ │ ├── Logout │ │ └── LogoutSuccessHandler.php │ │ └── Token │ │ └── JWTToken.php │ └── Provider │ └── SecurityJWTServiceProvider.php └── tests ├── features └── jwt.feature └── mock └── app.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | vendor -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/Makefile -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/Readme.md -------------------------------------------------------------------------------- /behat.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/behat.yml -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/circle.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/composer.lock -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /src/Silex/Component/Security/Core/Encoder/JWTEncoder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Core/Encoder/JWTEncoder.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Core/Encoder/TokenEncoderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Core/Encoder/TokenEncoderInterface.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/Authentication/AuthenticationFailureHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/Authentication/AuthenticationFailureHandler.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/Authentication/AuthenticationSuccessHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/Authentication/AuthenticationSuccessHandler.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/Authentication/Provider/JWTProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/Authentication/Provider/JWTProvider.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/EntryPoint/JwtAuthenticationEntryPoint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/EntryPoint/JwtAuthenticationEntryPoint.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/Firewall/JWTListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/Firewall/JWTListener.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/Logout/LogoutSuccessHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/Logout/LogoutSuccessHandler.php -------------------------------------------------------------------------------- /src/Silex/Component/Security/Http/Token/JWTToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Component/Security/Http/Token/JWTToken.php -------------------------------------------------------------------------------- /src/Silex/Provider/SecurityJWTServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/src/Silex/Provider/SecurityJWTServiceProvider.php -------------------------------------------------------------------------------- /tests/features/jwt.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/tests/features/jwt.feature -------------------------------------------------------------------------------- /tests/mock/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cnam/security-jwt-service-provider/HEAD/tests/mock/app.php --------------------------------------------------------------------------------