PlainAuthenticator Constructor (UsernamePasswordCredential) |
Note: This API is now obsolete.
Namespace:
MongoDB.Driver.Core.Authentication
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax [ObsoleteAttribute("Use the newest overload instead.")]
public PlainAuthenticator(
UsernamePasswordCredential credential
)
<ObsoleteAttribute("Use the newest overload instead.")>
Public Sub New (
credential As UsernamePasswordCredential
)
[<ObsoleteAttribute("Use the newest overload instead.")>]
new :
credential : UsernamePasswordCredential -> PlainAuthenticator
Parameters
- credential
- Type: MongoDB.Driver.Core.AuthenticationUsernamePasswordCredential
The credential.
See Also