Class: Rack::Webauth::WardenStrategy

Inherits:
Warden::Strategies::Base
  • Object
show all
Includes:
InstanceMethods
Defined in:
lib/rack-webauth/warden_strategy.rb

Overview

Basic strategy for Warden, a authentication framework for Rack.

For more information about warden, see github.com/hassox/warden/

You can either use this “as is”, which will give you a Rack::Webauth::User object to work with, or tie it to your own User objects, by setting the finder.

See Rack::Webauth::WardenStrategy.finder for more information.

For information on how to use this in Devise, see documentation of Rack::Webauth::WardenStrategy::InstanceMethods

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Method Summary

Methods included from InstanceMethods

#authenticate!, included, #valid?