Sha256: e52439ac2a9304d9b714fb9f7fa98b22bd1443f3cea6703257cdb7a6a2b4534f
Contents?: true
Size: 419 Bytes
Versions: 3
Compression:
Stored size: 419 Bytes
Contents
module Authpds module Session module Authorization def authorized? # Set all the information that is needed to make an authorization decision set_record and return authorize end protected :authorized? def authorize # If PDS user is not nil (PDS session already established), authorize !pds_user.nil? && additional_authorization end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authpds-1.1.5 | lib/authpds/session/authorization.rb |
authpds-1.1.4 | lib/authpds/session/authorization.rb |
authpds-1.1.3 | lib/authpds/session/authorization.rb |