Ticket #215 (new enhancement)

Opened 4 years ago

Support for timeouts in auth_tkt

Reported by: catlee Owned by: ianb
Priority: normal Milestone: 1.4.1
Component: paste Version:
Severity: normal Keywords:
Cc:

Description

This patch modifies paste.auth.auth_tkt to handle timeouts similar to how mod_auth_tkt does.

You can specify a timeout parameter and a refresh parameter to the middleware. If the timeout elapses, the cookie does not grant access any more.

If (refresh * timeout) seconds have passed since the cookie was created, the cookie is refreshed.

Attachments

paste.diff Download (9.8 KB) - added by catlee 4 years ago.

Change History

Changed 4 years ago by catlee

Note: See TracTickets for help on using tickets.