PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #2678

Seperate redirect URI for idle/expiration

Details

Request #2678Seperate redirect URI for idle/expiration
Submitted2004-11-03 12:34 UTC
Fromroehr at zilleon dot com
Assignedarnaud
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2004-11-03 12:34 UTC] roehr at zilleon dot com

Description:
------------
I would like to request the inclusion of a way to distinguish between lgout redirects and auth idle/expire redirects. This could be achieved by adding an option to the config in the authContainers array:

'authContainers' => array(0 => array(redirect = '/index.php?error=timeout'))

Lukas suggested this alternative:
Maybe we could define a standard for placeholders in the redirect url and we would replace all those placeholders with all the relevant properties. That way we would not have to add another option. It would however mean running a bunch if substr_replace() on every redirect.

Thanks for having a look!

Torsten Roehr

[2004-11-03 12:37 UTC] smith at backendmedia dot com

We have a new plan. We want to remove the redirect and callback config parameters in favor of a more general observer pattern. This allows you to register observers so that they get notified of any events. This should allow anything you want and it will remove some of the config clutter we currently have.