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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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