ScramShaAuthenticator Constructor (UsernamePasswordCredential, HashAlgorithmName, ScramShaAuthenticatorH, ScramShaAuthenticatorHi, ScramShaAuthenticatorHmac, ServerApi) |
Namespace:
MongoDB.Driver.Core.Authentication
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax protected ScramShaAuthenticator(
UsernamePasswordCredential credential,
HashAlgorithmName hashAlgorithmName,
ScramShaAuthenticatorH h,
ScramShaAuthenticatorHi hi,
ScramShaAuthenticatorHmac hmac,
ServerApi serverApi
)
Protected Sub New (
credential As UsernamePasswordCredential,
hashAlgorithmName As HashAlgorithmName,
h As ScramShaAuthenticatorH,
hi As ScramShaAuthenticatorHi,
hmac As ScramShaAuthenticatorHmac,
serverApi As ServerApi
)
new :
credential : UsernamePasswordCredential *
hashAlgorithmName : HashAlgorithmName *
h : ScramShaAuthenticatorH *
hi : ScramShaAuthenticatorHi *
hmac : ScramShaAuthenticatorHmac *
serverApi : ServerApi -> ScramShaAuthenticator
Parameters
- credential
- Type: MongoDB.Driver.Core.AuthenticationUsernamePasswordCredential
The credential. - hashAlgorithmName
- Type: System.Security.CryptographyHashAlgorithmName
The hash algorithm name. - h
- Type: MongoDB.Driver.Core.AuthenticationScramShaAuthenticatorH
The H function to use. - hi
- Type: MongoDB.Driver.Core.AuthenticationScramShaAuthenticatorHi
The Hi function to use. - hmac
- Type: MongoDB.Driver.Core.AuthenticationScramShaAuthenticatorHmac
The Hmac function to use. - serverApi
- Type: MongoDB.DriverServerApi
The server API.
See Also