class Ddr::Auth::DetachedAuthContext
Public Instance Methods
affiliation()
click to toggle source
Calls superclass method
Ddr::Auth::AuthContext#affiliation
# File lib/ddr/auth/detached_auth_context.rb, line 4 def affiliation anonymous? ? super : ldap_result.affiliation end
ismemberof()
click to toggle source
Calls superclass method
Ddr::Auth::AuthContext#ismemberof
# File lib/ddr/auth/detached_auth_context.rb, line 8 def ismemberof anonymous? ? super : ldap_result.ismemberof end
Private Instance Methods
ldap_result()
click to toggle source
# File lib/ddr/auth/detached_auth_context.rb, line 14 def ldap_result @ldap_result ||= Ddr::Auth.ldap_gateway.find(user.user_key) end