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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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: MongoDB.Driver.Core.Authentication.VendoredHashAlgorithmName
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