Click or drag to resize

ScramShaAuthenticator Constructor (UsernamePasswordCredential, HashAlgorithmName, ScramShaAuthenticatorH, ScramShaAuthenticatorHi, ScramShaAuthenticatorHmac)

Note: This API is now obsolete.

Initializes a new instance of the ScramShaAuthenticator class.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
[ObsoleteAttribute("Use the newest overload instead.")]
protected ScramShaAuthenticator(
	UsernamePasswordCredential credential,
	HashAlgorithmName hashAlgorithmName,
	ScramShaAuthenticatorH h,
	ScramShaAuthenticatorHi hi,
	ScramShaAuthenticatorHmac hmac
)

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.
See Also