Docs Home → Develop Applications → MongoDB Manual
Authentication Commands![](/docs/v5.2/assets/link.svg)
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
Note
For details on specific commands, including syntax and examples, click on the specific command to go to its reference page.
Name | Description |
---|---|
Starts an authenticated session using a username and password. | |
This is an internal command to generate a one-time password for authentication. | |
Deprecated. Terminates the current authenticated session. |