Document SCRAM-SHA-1 authMechanism for MongoClient

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344542 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2018-03-20 18:49:16 +00:00
parent e56d9eadaa
commit 6750175fff

View file

@ -135,6 +135,11 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
<entry>Authenticates via kerberos systems</entry>
<entry>MongoDB Enterprise 2.4. The Driver must be compiled against CyrusSASL2</entry>
</row>
<row>
<entry>SCRAM-SHA-1</entry>
<entry>Authenticates using SCRAM-SHA-1</entry>
<entry>MongoDB 3.0.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
@ -669,6 +674,15 @@ $m = new MongoClient($uri, array('replicaSet' => 'rs'));
</row>
</thead>
<tbody>
<row>
<entry>1.6.0</entry>
<entry>
<para>
Added support for <literal>"SCRAM-SHA-1"</literal> in
<literal>"authMechanism"</literal> option.
</para>
</entry>
</row>
<row>
<entry>1.5.0</entry>
<entry>