Class: Devise::Auth0::Client

Inherits:
Auth0::Client
  • Object
show all
Defined in:
lib/devise/auth0/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Client

Returns a new instance of Client.



8
9
10
11
12
13
14
# File 'lib/devise/auth0/client.rb', line 8

def initialize(config)
  super(
    client_id: config.client_id,
    client_secret: config.client_secret,
    domain: config.domain,
  )
end