Module: Devise

Defined in:
lib/devise/auth0.rb,
lib/devise/auth0/rails.rb,
lib/devise/auth0/token.rb,
lib/devise/auth0/client.rb,
lib/devise/models/auth0.rb,
lib/devise/auth0/helpers.rb,
lib/devise/auth0/version.rb,
lib/devise/auth0/exceptions.rb,
lib/devise/strategies/auth0.rb,
lib/devise/auth0/controllers/helpers.rb,
app/controllers/devise/auth0_callbacks_controller.rb

Overview

Authentication library

Defined Under Namespace

Modules: Auth0, Models, Strategies Classes: Auth0CallbacksController

Class Method Summary collapse

Class Method Details

.auth0 {|Devise::Auth0.config| ... } ⇒ Object

Yields:



12
13
14
15
16
# File 'lib/devise/auth0.rb', line 12

def auth0
  return Devise::Auth0.config unless block_given?

  yield(Devise::Auth0.config)
end