forked from loafle/openapi-generator-original
[Slim] Add Basic authentication middleware (#606)
* [Slim] Add Basic Authentication Middleware User needs to add own implementation to verifyCredentials method in AuthBasic.php. * [Slim] Update README template I'm not sure about `middlewareSrcPath` variable. I'll fix it in following PRs if path is broken. Hope that notice in README catches attention and most of users will read it. * Revert "[Slim] Update README template" This reverts commit204ee02fd8. * Revert "[Slim] Add Basic Authentication Middleware" This reverts commit6a8e03079a. * [Slim] Add "tuupola/slim-basic-auth" package Package "tuupola/slim-basic-auth" 3.1.0 requires PHP 7, that's why I set it's version to ^3.0.0 in Composer. Minimum version will be 3.0.0-rc.1 which supports PHP 5.5. I've tested build with PHP 7, it would be nice to check build with PHP 5.5 someday. * [Slim] Update README template Not sure about forward slash in path to SlimRouter class. I will fix it in upcoming PRs if necessary. * [Slim] Refresh samples
This commit is contained in:
committed by
William Cheng
parent
f793ac25c7
commit
58e0946b1e
@@ -1 +1 @@
|
||||
3.1.1-SNAPSHOT
|
||||
3.1.2-SNAPSHOT
|
||||
Reference in New Issue
Block a user