Module: AuthpdsNyu::Session

Defined in:
lib/authpds-nyu/session.rb

Overview

Overview

This gem provides a mechanism for user authentication and authorization via NYU Libraries PDS system.

The module extends Authpds and should be compatible with Authpds configuation. It also provides hooks for custom functionality. The documentation below describes NYU specific config methods available.

Config Options Available

:opensso_url

Base OpenSSO url (login.nyu.edu:443/sso)

:aleph_url

Aleph url (aleph.library.nyu.edu)

:aleph_default_adm

Aleph default ADM (NYU50)

:aleph_default_sublibrary

Aleph default sublibrary (BOBST)

Defined Under Namespace

Modules: AuthpdsCallbackMethods, Config, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



15
16
17
18
19
20
21
# File 'lib/authpds-nyu/session.rb', line 15

def self.included(klass)
  klass.class_eval do
    extend Config
    include AuthpdsCallbackMethods
    include InstanceMethods
  end
end