Click or drag to resize

ScramShaAuthenticator Constructor

Initializes a new instance of the ScramShaAuthenticator class.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax
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