Module: Warden::Ldap

Extended by:
Forwardable
Defined in:
lib/warden/ldap.rb,
lib/warden/ldap/logger.rb,
lib/warden/ldap/version.rb,
lib/warden/ldap/strategy.rb,
lib/warden/ldap/connection.rb,
lib/warden/ldap/configuration.rb

Defined Under Namespace

Classes: Configuration, Connection, Logger, Strategy

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configurationObject



19
20
21
# File 'lib/warden/ldap.rb', line 19

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/warden/ldap.rb', line 15

def configure
  yield configuration if block_given?
end

.registerObject



23
24
25
# File 'lib/warden/ldap.rb', line 23

def register
  Warden::Strategies.add(:ldap, Warden::Ldap::Strategy)
end