Sha256: 1444be2edb686df003257dc052f226a0e030a55d40562ecf9bf8a737df58f936

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 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 :firstname => "givenname", :lastname => "sn", :email => "email", :primary_institution => "institute" 
  def expiration_date
    1.day.ago
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
authpds-0.0.22 test/support/user_session.rb
authpds-0.0.21 test/support/user_session.rb
authpds-0.0.20 test/support/user_session.rb
authpds-0.0.19 test/support/user_session.rb
authpds-0.0.18 test/support/user_session.rb