Sha256: 213db2ed550aa39fbffc7116c81bea408354d043a4bdaaaff94e25e184abdb0d

Contents?: true

Size: 963 Bytes

Versions: 17

Compression:

Stored size: 963 Bytes

Contents

class UserSession < Authlogic::Session::Base
  pds_url "https://logindev.library.nyu.edu"
  redirect_logout_url "https://logindev.library.nyu.edu/logout"
  calling_system "authpds"
  remember_me true
  remember_me_for 300
  httponly true
  secure true
  login_inaccessible_url "http://library.nyu.edu/errors/bobcat-library-nyu-edu/"
  pds_attributes :id => "id", :uid => "uid", 
    :opensso => "opensso", :name => "name", :firstname => "givenname", 
    :lastname => "sn", :commonname => "cn", :email => "email",
    :nyuidn => "nyuidn", :verification => "verification", :institute => "institute",
    :bor_status => "bor-status", :bor_type => "bor-type",
    :college_code => "college_code", :college_name => "college_name",
    :dept_name => "dept_name", :dept_code => "dept_code",
    :major_code => "major_code", :major => "major", :ill_permission => "ill-permission", 
    :newschool_ldap => "newschool_ldap"
  
  def expiration_date
    1.day.ago
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
authpds-0.0.17 test/support/user_session.rb
authpds-0.0.16 test/support/user_session.rb
authpds-0.0.15 test/support/user_session.rb
authpds-0.0.14 test/support/user_session.rb
authpds-0.0.13 test/support/user_session.rb
authpds-0.0.12 test/support/user_session.rb
authpds-0.0.11 test/support/user_session.rb
authpds-0.0.10 test/support/user_session.rb
authpds-0.0.9 test/support/user_session.rb
authpds-0.0.8 test/support/user_session.rb
authpds-0.0.7 test/support/user_session.rb
authpds-0.0.6 test/support/user_session.rb
authpds-0.0.5 test/support/user_session.rb
authpds-0.0.4 test/support/user_session.rb
authpds-0.0.3 test/support/user_session.rb
authpds-0.0.2 test/support/user_session.rb
authpds-0.0.1 test/support/user_session.rb