lib/keycard/request/cosign_attributes.rb in keycard-0.3.0 vs lib/keycard/request/cosign_attributes.rb in keycard-0.3.1
- old
+ new
@@ -4,17 +4,9 @@
# This class extracts attributes for Cosign-protected applications. It
# follows the same basic pattern as for general proxied requests; that is,
# the pid/eid are the same and there are currently no additional
# attributes extracted.
class CosignAttributes < Attributes
- def base
- {
- user_pid: user_pid,
- user_eid: user_eid,
- client_ip: client_ip
- }
- end
-
def user_pid
get 'HTTP_X_REMOTE_USER'
end
def user_eid