Sha256: eda67edae40102b75b1db78216f567ef787e76d58e67932cd0f45c55e4f94700
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
module Authpds module Session module Callbacks # Hook for more complicated logic to determine PDS user record identifier def pds_record_identifier @pds_record_identifier ||= self.class.pds_record_identifier end # Hook to determine if we should attempt to establish a PDS session def attempt_sso? return false end # Hook to provide additional authorization requirements def additional_authorization return true end # Hook to add additional user attributes. def additional_attributes {} end # Hook to update expiration date if necessary def expiration_date 1.week.ago end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authpds-1.1.5 | lib/authpds/session/callbacks.rb |
authpds-1.1.4 | lib/authpds/session/callbacks.rb |
authpds-1.1.3 | lib/authpds/session/callbacks.rb |