Last active
February 28, 2016 19:52
-
-
Save andevsoftware/3eed5516347771bf3bf7 to your computer and use it in GitHub Desktop.
Phalcon REST - Attach authentication middleware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Authenticate user | |
| */ | |
| $eventsManager->attach('micro', new \PhalconRest\Middleware\Authentication); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment