@@ -148,7 +148,7 @@ mechanism:
148148
149149 To specify the default authentication mechanism using the
150150 ``MongoCredential`` class, use the
151- :java-docs: `createScramSha256Credential() <apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createScramSha256Credential(java.lang.String,java.lang.String,char[])>`
151+ `createScramSha256Credential() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createScramSha256Credential(java.lang.String,java.lang.String,char[])>`__
152152 method. Your code to instantiate a ``MongoClient`` should look something like this:
153153
154154 .. include:: /includes/fundamentals/code-snippets/auth-credentials-sha256.rst
@@ -200,7 +200,7 @@ mechanism:
200200
201201 To specify the default authentication mechanism using the
202202 ``MongoCredential`` class, use the
203- :java-docs: `createScramSha1Credential() <apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createScramSha1Credential(java.lang.String,java.lang.String,char[])>`
203+ `createScramSha1Credential() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createScramSha1Credential(java.lang.String,java.lang.String,char[])>`__
204204 method. Your code to instantiate a ``MongoClient`` should look something like this:
205205
206206 .. include:: /includes/fundamentals/code-snippets/auth-credentials-sha1.rst
@@ -278,7 +278,7 @@ mechanism:
278278
279279 To specify the ``MONGODB-AWS`` authentication mechanism using the
280280 ``MongoCredential`` class, use the
281- :java-docs: `createAwsCredential() <apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createAwsCredential(java.lang.String,char%5B%5D)>`
281+ `createAwsCredential() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createAwsCredential(java.lang.String,char%5B%5D)>`__
282282 method. Your code to instantiate a ``MongoClient`` should look something like this:
283283
284284 .. include:: /includes/fundamentals/code-snippets/auth-credentials-aws.rst
@@ -293,7 +293,7 @@ mechanism:
293293 in the ``authMechanism`` parameter and your session token in the
294294 ``authMechanismProperties`` parameter. Then, add it to your
295295 ``MongoClientSettings`` by calling the
296- :java-docs: `applyConnectionString() <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyConnectionString(com.mongodb.ConnectionString)>`
296+ `applyConnectionString() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyConnectionString(com.mongodb.ConnectionString)>`__
297297 method as follows:
298298
299299 .. include:: /includes/fundamentals/code-snippets/auth-credentials-aws-session.rst
@@ -302,7 +302,7 @@ mechanism:
302302
303303 You can include your AWS session token in your ``MongoCredential``
304304 instance by specifying it in a call to the
305- :java-docs: `withMechanismProperty() <apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#withMechanismProperty(java.lang.String,T)>`
305+ `withMechanismProperty() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#withMechanismProperty(java.lang.String,T)>`__
306306 method as shown below:
307307
308308 .. code-block:: java
@@ -361,11 +361,11 @@ mechanism:
361361
362362 To specify the ``X.509`` authentication mechanism using the
363363 ``MongoCredential`` class, use the
364- :java-docs: `createMongoX509Credential() <apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createMongoX509Credential(java.lang.String)>`
364+ `createMongoX509Credential() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createMongoX509Credential(java.lang.String)>`__
365365 method. Also, enable TLS by calling the
366- :java-docs: `applyToSslSettings() <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`
366+ `applyToSslSettings() <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
367367 method and setting the ``enabled`` property to ``true`` in the
368- :java-docs: `SslSettings.Builder <apidocs/mongodb-driver-core/com/mongodb/connection/SslSettings.Builder.html>`
368+ `SslSettings.Builder <{+api+}/ apidocs/mongodb-driver-core/com/mongodb/connection/SslSettings.Builder.html>`__
369369 block. Your code to instantiate a ``MongoClient`` should look something like this:
370370
371371 .. include:: /includes/fundamentals/code-snippets/auth-credentials-x509.rst
0 commit comments