Sha256: acd96e0b9ce5b02c7fdaf703e8e1b411ac8dae28c9668671fa96787750d57f75

Contents?: true

Size: 444 Bytes

Versions: 5

Compression:

Stored size: 444 Bytes

Contents

# Add your Auth0 audience and domain here to ensure that the gem can authenticate the request against your app
Auth0CurrentUser.config do |c|
  c.auth0_domain = '<REPLACE ME WITH YOUR AUTH0 DOMAIN>'
  c.auth0_audience = '<REPLACE ME WITH YOUR AUTH0 AUDIENCE>'
  # This gem assumes you have a model named User. If you are using a different name for the class to be authenticated,
  # simply change is here.
  # c.authenticated_klass = :user
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
auth0_current_user-0.3 lib/generators/templates/auth0_current_user.rb
auth0_current_user-0.2.1 lib/generators/templates/auth0_current_user.rb
auth0_current_user-0.2.0 lib/generators/templates/auth0_current_user.rb
auth0_current_user-0.1.0.5 lib/generators/templates/auth0_current_user.rb
auth0_current_user-0.1.0.4 lib/generators/templates/auth0_current_user.rb