Sha256: b1fb91ff8200c2007d27a06b860821a43d6b53b67b547181a9fce06c0be097f0
Contents?: true
Size: 336 Bytes
Versions: 160
Compression:
Stored size: 336 Bytes
Contents
module Ddr::Auth class DetachedAuthContext < AuthContext def affiliation anonymous? ? super : ldap_result.affiliation end def ismemberof anonymous? ? super : ldap_result.ismemberof end private def ldap_result @ldap_result ||= Ddr::Auth.ldap_gateway.find(user.user_key) end end end
Version data entries
160 entries across 160 versions & 2 rubygems