Method: InfinumId::Users::Finder.from_omniauth

Defined in:
app/services/infinum_id/users/finder.rb

.from_omniauth(auth) ⇒ Object



4
5
6
# File 'app/services/infinum_id/users/finder.rb', line 4

def self.from_omniauth(auth)
  User.find_by(provider: auth.provider, uid: auth.uid) if defined?(User)
end