A ZF2 plugin can expose state to RS Authentication by providing the following:
[x] Need to set "session_hash" in $_COOKIE["user"] and session column of User database to expose logged-in state to LegacyRS
[x] Need to logout user if "user" cookie is not present (e.g. expires)
[x] Can hook('provideusercredentials') then return true
[x] Should overload login.php and redirect to substitute authentication URL (this route must support logout through the relevant query string parameter)
[x] Needs to overload change password page to ensure updated passwords stay compatible with ZF2 auth plugin system
A ZF2 plugin can expose state to RS Authentication by providing the following:
$_COOKIE["user"]
and session column of User database to expose logged-in state to LegacyRSCanhook('provideusercredentials')
then returntrue
login.php
and redirect to substitute authentication URL (this route must support logout through the relevant query string parameter)