module Authpds::Session::Authorization

Public Instance Methods

authorize() click to toggle source
# File lib/authpds/session/authorization.rb, line 10
def authorize
  # If PDS user is not nil (PDS session already established), authorize
  !pds_user.nil? && additional_authorization
end

Protected Instance Methods

authorized?() click to toggle source
# File lib/authpds/session/authorization.rb, line 4
def authorized?
  # Set all the information that is needed to make an authorization decision
  set_record and return authorize
end