DefaultAuthenticator Constructor (UsernamePasswordCredential, ServerApi) |
Namespace:
MongoDB.Driver.Core.Authentication
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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