Module: NimbleAuth
- Defined in:
- app/services/nimble_auth/omniauth/facebook.rb,
lib/nimble_auth.rb,
lib/nimble_auth/engine.rb,
lib/nimble_auth/version.rb,
lib/nimble_auth/omniauth.rb,
lib/nimble_auth/devise_setup.rb,
lib/nimble_auth/concerns/user.rb,
lib/nimble_auth/resource_setup.rb,
lib/nimble_auth/concerns/identity.rb,
lib/nimble_auth/devise_custom_failure.rb,
lib/generators/nimble_auth/install_generator.rb,
app/controllers/nimble_auth/sessions_controller.rb,
app/services/nimble_auth/authentication_service.rb,
app/services/nimble_auth/omniauth/google_oauth2.rb,
app/controllers/nimble_auth/application_controller.rb,
app/services/nimble_auth/omniauth_authentication_service.rb,
app/controllers/nimble_auth/omniauth_callbacks_controller.rb
Overview
Extracts user_profile data from auth response
Defined Under Namespace
Modules: Concerns, DeviseSetup, Omniauth, Resource Classes: ApplicationController, AuthenticationService, Configuration, DeviseCustomFailure, Engine, InstallGenerator, OmniauthAuthenticationService, OmniauthCallbacksController, SessionsController
Constant Summary collapse
- VERSION =
'1.0.0'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
49 50 51 |
# File 'lib/nimble_auth.rb', line 49 def configuration @configuration end |
Class Method Details
.setup {|configuration| ... } ⇒ Object
54 55 56 57 58 59 60 61 |
# File 'lib/nimble_auth.rb', line 54 def setup self.configuration = Configuration.new yield(configuration) return unless configuration.valid? NimbleAuth::DeviseSetup.setup_with(configuration) end |