Skip to content

Commit d88eb77

Browse files
committed
update comments
1 parent 1052cea commit d88eb77

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/github/ldap.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ class Ldap
6565
# which to attempt opening connections (default [[host, port]]). Overrides
6666
# host and port if set.
6767
# encryption: optional string. `ssl` or `tls`. nil by default
68-
# tls_options: optional hash with TLS options for encrypted connections. Empty by default.
68+
# tls_options: optional hash with TLS options for encrypted connections.
69+
# Empty by default. See http://ruby-doc.org/stdlib/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html
70+
# for available values
6971
# admin_user: optional string ldap administrator user dn for authentication
7072
# admin_password: optional string ldap administrator user password
7173
#
@@ -237,7 +239,7 @@ def capabilities
237239
# Internal - Determine whether to use encryption or not.
238240
#
239241
# encryption: is the encryption method, either 'ssl', 'tls', 'simple_tls' or 'start_tls'.
240-
# validate: is true to enable certificate validation
242+
# tls_options: is the options hash for tls encryption method
241243
#
242244
# Returns the real encryption type.
243245
def check_encryption(encryption, tls_options = {})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy