DefaultAuthenticator Constructor (UsernamePasswordCredential, ServerApi) |
Namespace:
MongoDB.Driver.Core.Authentication
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public DefaultAuthenticator(
UsernamePasswordCredential credential,
ServerApi serverApi
)
Public Sub New (
credential As UsernamePasswordCredential,
serverApi As ServerApi
)
new :
credential : UsernamePasswordCredential *
serverApi : ServerApi -> DefaultAuthenticator
Parameters
- credential
- Type: MongoDB.Driver.Core.AuthenticationUsernamePasswordCredential
The credential. - serverApi
- Type: MongoDB.DriverServerApi
The server API.
See Also