58
edits
Changes
m
* ==== lib/auth/local/auth_pds.rb====
no edit summary
=== Auth Module Example ===
AuthPDS was developed at NYU as an example of generating a plugin and populating the stub methods provided.
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_logout - destroys some cookies that were stored to improve performance
# on_every_request - checks if the user has logged in (e.g. from another SSO system)
==== config/umlaut_config/environment.rb ====
The auth configuration settings are added to the local environment.rb to establish the appropriate class to mix in and to pass various options to the module.