Sha256: ffdd81babfaaac9e7f4746e588f9c668e206b286db10952893e87f4a90dc8cf7
Contents?: true
Size: 496 Bytes
Versions: 5
Compression:
Stored size: 496 Bytes
Contents
module AuthpdsNyu module Session module Callbacks def pds_record_identifier (pds_user.respond_to?(:opensso) and pds_user.opensso) ? :uid : :id end def valid_sso_session begin return @valid_sso_session ||= AuthpdsNyu::Sun::Opensso.new(controller, opensso_url).is_valid? rescue Exception => e handle_login_exception e return false end end alias valid_sso_session? valid_sso_session end end end
Version data entries
5 entries across 5 versions & 1 rubygems