Click or drag to resize

MongoCredential Properties

The MongoCredential type exposes the following members.

Public propertyEvidence
Gets the evidence.
Public propertyIdentity
Gets the identity.
Public propertyMechanism
Gets the mechanism to authenticate with. In .NET Standard, authenticating via SCRAM-SHA-256 may not work with non-ASCII passwords because SaslPrep is not fully implemented due to the lack of a string normalization function in .NET Standard 1.5. Normalizing the password into Unicode Normalization Form KC beforehand MAY help. SCRAM-SHA-1 is the recommended alternative for now.
Public propertyPassword Obsolete.
Gets the password.
Public propertySource
Gets the source.
Public propertyUsername
Gets the username.
See Also