58
edits
Changes
m
→lib/auth/local/auth_pds.rb
==== lib/auth/local/auth_pds.rb ====
The AuthPDS module gets mixed in with the Session module to log in via PDS (customized for NYU). It implements the following callback functions:
# '''login_url ''' - provides PDS login URL to redirect to# '''after_login ''' - checks authorization, stores some cookies to improve performance, saves some user data when appropriate# '''logout_url ''' - provides PDS logout URL# '''after_logout ''' - destroys some cookies that were stored to improve performance# '''on_every_request ''' - checks if the user has logged in (e.g. from another PDS SSO system)
==== config/umlaut_config/environment.rb ====