We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon Security TTL

According to this doc page : https://docs.phalcon.io/en/latest/api/Phalcon_Security.html
any TTL on the generated token (getToken() and getTokenKey() ) are mentionned.

Then i'm wondering about the expiration time of the tokens.



98.9k

Currently the tokens don't have an expiration time or time to live. There is NFR on Github for that: https://github.com/phalcon/cphalcon/issues/640