Module: RailsJwtAuth

Defined in:
lib/rails_jwt_auth.rb,
lib/rails_jwt_auth/engine.rb,
lib/rails_jwt_auth/version.rb,
lib/rails_jwt_auth/jwt/manager.rb,
lib/rails_jwt_auth/jwt/request.rb,
lib/rails_jwt_auth/spec/helpers.rb,
lib/rails_jwt_auth/strategies/jwt.rb,
lib/rails_jwt_auth/spec/not_authorized.rb,
app/models/concerns/rails_jwt_auth/invitable.rb,
app/models/concerns/rails_jwt_auth/trackable.rb,
app/models/concerns/rails_jwt_auth/confirmable.rb,
app/models/concerns/rails_jwt_auth/recoverable.rb,
app/controllers/rails_jwt_auth/sessions_controller.rb,
app/models/concerns/rails_jwt_auth/authenticatable.rb,
app/controllers/rails_jwt_auth/passwords_controller.rb,
app/controllers/concerns/rails_jwt_auth/params_helper.rb,
app/controllers/concerns/rails_jwt_auth/render_helper.rb,
app/controllers/concerns/rails_jwt_auth/warden_helper.rb,
app/controllers/rails_jwt_auth/invitations_controller.rb,
app/controllers/rails_jwt_auth/confirmations_controller.rb,
app/controllers/rails_jwt_auth/registrations_controller.rb

Defined Under Namespace

Modules: Authenticatable, Confirmable, Invitable, Jwt, ParamsHelper, Recoverable, RenderHelper, Spec, Strategies, Trackable, WardenHelper Classes: ConfirmationsController, Engine, InstallGenerator, InvitationsController, Mailer, PasswordsController, RegistrationsController, SessionsController

Constant Summary collapse

VERSION =
'0.19.3'

Class Method Summary collapse

Class Method Details

.modelObject



55
56
57
# File 'lib/rails_jwt_auth.rb', line 55

def self.model
  model_name.constantize
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (RailsJwtAuth)

    the object that the method was called on



59
60
61
# File 'lib/rails_jwt_auth.rb', line 59

def self.setup
  yield self
end