Class: StandardId::Api::ProvidersController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/standard_id/api/providers_controller.rb

Instance Method Summary collapse

Instance Method Details

#appleObject



11
12
13
14
# File 'app/controllers/standard_id/api/providers_controller.rb', line 11

def apple
  expect_and_permit!([:state, :code], [:state, :code])
  handle_social_callback("apple")
end

#googleObject



6
7
8
9
# File 'app/controllers/standard_id/api/providers_controller.rb', line 6

def google
  expect_and_permit!([:state, :code], [:state, :code])
  handle_social_callback("google-oauth2")
end