Module: Shibbolite::User::ClassMethods

Defined in:
app/concerns/shibbolite/user.rb

Instance Method Summary collapse

Instance Method Details

#find_user(pid) ⇒ Object

gets the user who matches the shibboleth primary key



16
17
18
# File 'app/concerns/shibbolite/user.rb', line 16

def find_user(pid)
  find_by(Shibbolite.primary_user_id => pid)
end