module Authie

If you're dealing with your authentication in a middleware and you only have access to your rack environment, this will wrap around rack and make it look close enough to an ActionController to work with Authie

Usage:

controller = Authie::RackController.new(@env) controller.current_user = user

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/authie/config.rb, line 37
def self.config
  @config ||= Config.new
end
configure(&block) click to toggle source
# File lib/authie/config.rb, line 41
def self.configure(&block)
  block.call(config)
  config
end