Fatal error: Uncaught Error: Class 'Phalcon\Security\JWT\Signer\Hmac' not found #15525
Unanswered
bilal-karahan
asked this question in
Q&A
Replies: 2 comments
-
Is other Phalcon code working? This looks right but wouldn't be defined if Phalcon isn't installed correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The class is there for sure: https://github.com/phalcon/cphalcon/blob/master/phalcon/Security/JWT/Signer/Hmac.zep Otherwise our tests would not pass. I am curious, in your example is the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Im learning phalcon but get some error JWT ,the code below ,getting from phalcon 4.0 docs.
`use Phalcon\Security\JWT\Builder;
Use Phalcon\Security\JWT\Signer\Hmac;
use Phalcon\Security\JWT\Token\Parser;
use Phalcon\Security\JWT\Validator;
$signer = new Hmac();
`
why dont fing this class ?
Beta Was this translation helpful? Give feedback.
All reactions