How to set session time in Auraphp's AuthFactory?

52 Views Asked by At

I've tried to set the session cookies in Aura AuthFactory in multiple places over the last few months. I can't seem to find the right place, and I can't find a single bit of documentation how to set the session timeout.

Can anyone point me in the right direction?

1

There are 1 best solutions below

4
Hari K T On BEST ANSWER

Are you looking for

public function newResumeService(
    AdapterInterface $adapter = null,
    $idle_ttl = 1440,
    $expire_ttl = 14400
) {

https://github.com/auraphp/Aura.Auth/blob/624fc819c7f329f8a269a219cfabe252573005a2/src/AuthFactory.php#L137-L138

this?