Module: OmniAuth

Defined in:
lib/omniauth/strategies/ldap.rb,
lib/omniauth-ldap/adaptor.rb,
lib/omniauth-ldap/version.rb

Overview

OmniAuth strategies namespace.

This file implements an LDAP authentication strategy for OmniAuth. It provides both an interactive request phase (login form) and a callback phase which binds to an LDAP directory to authenticate the user or performs a lookup for header-based SSO.

The strategy exposes a number of options (see ‘option` calls below) that control LDAP connection, mapping of LDAP attributes to the OmniAuth `info` hash, header-based SSO behavior, and SSL/timeouts.

Examples:

Minimal Rack mounting

use OmniAuth::Builder do
  provider :ldap, {
    host: 'ldap.example.com',
    base: 'dc=example,dc=com'
  }
end

Defined Under Namespace

Modules: LDAP, Strategies