mrclay / shibalike

Shibalike is a PHP library for creating Single Sign On between PHP apps on the same origin by emulating a Shibboleth environment. It has components to query attributes for a user, persist them in a non-native Session implementation, and inject them into the $_SERVER array as would a Shibboleth web server module.
Other
19 stars 0 forks source link

Replace User with Events: AuthRequest, AuthResult #4

Closed mrclay closed 13 years ago

mrclay commented 13 years ago

Formalize the request and result of authorization for more cleaner SoC. The AuthResult could have methods like "isFresh", "getUsername", "getAttributes". AuthRequest: "getReturnUrl". Both could inherit from an "Event", with "getTime", "getUrl", etc.