module DeviseRemoteUser

Constants

VERSION

Attributes

attribute_map[RW]
auth_key[RW]
auto_create[RW]
auto_update[RW]
env_key[RW]
logout_url[RW]

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/devise_remote_user.rb, line 33
def self.configure
  yield self
end
remote_user_id(env) click to toggle source
# File lib/devise_remote_user.rb, line 37
def self.remote_user_id env
  case env_key
  when Proc
    env_key.call(env)
  else
    env[env_key]
  end
end