Click or drag to resize

PlainAuthenticator Constructor

Initializes a new instance of the PlainAuthenticator class.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public PlainAuthenticator(
	UsernamePasswordCredential credential
)

Parameters

credential
Type: MongoDB.Driver.Core.AuthenticationUsernamePasswordCredential
The credential.
See Also