Class: SsoProvyder::Client

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/sso_provyder/client.rb

Class Method Summary collapse

Class Method Details

.authenticate(app_id, app_secret) ⇒ Object



3
4
5
# File 'app/models/sso_provyder/client.rb', line 3

def self.authenticate(app_id, app_secret)
  where(["app_id = ? AND app_secret = ?", app_id, app_secret]).first
end