Sha256: eb0e468bf8e781b2833412111ebe70350431f6aa18ff0922f8fa20f77d3fb6e7

Contents?: true

Size: 727 Bytes

Versions: 4

Compression:

Stored size: 727 Bytes

Contents

# frozen_string_literal: true

require 'jwt'

require_relative 'auth_rails/config'
require_relative 'auth_rails/version'
require_relative 'auth_rails/class_methods'
require_relative 'auth_rails/configuration/jwt'
require_relative 'auth_rails/services/jwt_service'
require_relative 'auth_rails/strategies/base_strategy'
require_relative 'auth_rails/strategies/allowed_token_strategy'

module AuthRails
  class Error < StandardError; end

  class Engine < ::Rails::Engine
    isolate_namespace AuthRails

    config.autoload_paths << File.expand_path('app/models', __dir__)
    config.autoload_paths << File.expand_path('app/supports', __dir__)
    config.autoload_paths << File.expand_path('app/controllers', __dir__)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
auth_rails-1.1.2 lib/auth_rails.rb
auth_rails-1.1.1 lib/auth_rails.rb
auth_rails-1.1.0 lib/auth_rails.rb
auth_rails-1.0.2 lib/auth_rails.rb