Last active
February 28, 2016 19:51
-
-
Save andevsoftware/4d1e83463cbf30f550bb to your computer and use it in GitHub Desktop.
Phalcon REST - Authenticate Token
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 | |
| /** @var \PhalconRest\Http\Request $request */ | |
| $token = $this->request->getToken(); | |
| if ($token) { | |
| $this->authManager->authenticateToken($token); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment