7878
7979 < dl >
8080 < dt > Defined in:</ dt >
81- < dd > lib/omniauth-ldap/adaptor .rb< span class ="defines "> ,< br />
82- lib/omniauth-ldap/version .rb,< br /> lib/omniauth/strategies/ ldap.rb</ span >
81+ < dd > lib/omniauth/strategies/ldap .rb< span class ="defines "> ,< br />
82+ lib/omniauth-ldap/adaptor .rb,< br /> lib/omniauth- ldap/version .rb</ span >
8383</ dd >
8484 </ dl >
8585
8686</ div >
8787
88- < h2 > Defined Under Namespace</ h2 >
88+ < h2 > Overview</ h2 > < div class ="docstring ">
89+ < div class ="discussion ">
90+ < p > OmniAuth strategies namespace.</ p >
91+
92+ < p > This file implements an LDAP authentication strategy for OmniAuth.< br />
93+ It provides both an interactive request phase (login form) and a< br />
94+ callback phase which binds to an LDAP directory to authenticate the< br />
95+ user or performs a lookup for header-based SSO.</ p >
96+
97+ < p > The strategy exposes a number of options (see < code > option</ code > calls below)< br />
98+ that control LDAP connection, mapping of LDAP attributes to the< br />
99+ OmniAuth < code > info</ code > hash, header-based SSO behavior, and SSL/timeouts.</ p >
100+
101+
102+ </ div >
103+ </ div >
104+ < div class ="tags ">
105+
106+ < div class ="examples ">
107+ < h4 class ="tag_title "> Examples:</ h4 >
108+
109+
110+ < h5 class ="example_title "> < div class ='inline '> < p > Minimal Rack mounting</ p >
111+ </ div > </ h5 >
112+
113+ < pre class ="example code "> < code > < span class ='id identifier rubyid_use '> use</ span > < span class ='const '> OmniAuth</ span > < span class ='op '> ::</ span > < span class ='const '> Builder</ span > < span class ='kw '> do</ span >
114+ < span class ='id identifier rubyid_provider '> provider</ span > < span class ='symbol '> :ldap</ span > < span class ='comma '> ,</ span > < span class ='lbrace '> {</ span >
115+ < span class ='label '> host:</ span > < span class ='tstring '> < span class ='tstring_beg '> '</ span > < span class ='tstring_content '> ldap.example.com</ span > < span class ='tstring_end '> '</ span > </ span > < span class ='comma '> ,</ span >
116+ < span class ='label '> base:</ span > < span class ='tstring '> < span class ='tstring_beg '> '</ span > < span class ='tstring_content '> dc=example,dc=com</ span > < span class ='tstring_end '> '</ span > </ span >
117+ < span class ='rbrace '> }</ span >
118+ < span class ='kw '> end</ span > </ code > </ pre >
119+
120+ </ div >
121+
122+
123+ </ div > < h2 > Defined Under Namespace</ h2 >
89124< p class ="children ">
90125
91126
@@ -107,7 +142,7 @@ <h2>Defined Under Namespace</h2>
107142</ div >
108143
109144 < div id ="footer ">
110- Generated on Fri Nov 7 14:40 :47 2025 by
145+ Generated on Mon Nov 10 14:11 :47 2025 by
111146 < a href ="https://yardoc.org " title ="Yay! A Ruby Documentation Tool " target ="_parent "> yard</ a >
112147 0.9.37 (ruby-3.4.7).
113148</ div >
0 commit comments