getnonce

On this page本页内容

getnonce

Deprecated since version 4.0.自4.0版以来已弃用

Client libraries use getnonce to generate a one-time password for authentication.客户端库使用getnonce生成用于身份验证的一次性密码。

Applications should not invoke getnonce directly.应用程序不应直接调用getnonce

This command will be removed in a future release.此命令将在将来的版本中删除。

Behavior行为

Client Disconnection客户端断开连接

Starting in MongoDB 4.2, if the client that issued the getnonce disconnects before the operation completes, MongoDB marks the getnonce for termination (i.e. killOp on the operation).从MongoDB 4.2开始,如果发出getnonce的客户端在操作完成之前断开连接,MongoDB会将getnonce标记为终止(即操作上的killOp)。

←  authenticatelogout →