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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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