Class PasswordEvidence
Evidence of a MongoIdentity via a shared secret.
public sealed class PasswordEvidence : MongoIdentityEvidence
- Inheritance
-
PasswordEvidence
- Inherited Members
Constructors
- PasswordEvidence(SecureString)
Initializes a new instance of the PasswordEvidence class. Less secure when used in conjunction with SCRAM-SHA-256, due to the need to store the password in a managed string in order to SaslPrep it. See Driver Authentication: SCRAM-SHA-256 for additional details.
- PasswordEvidence(string)
Initializes a new instance of the PasswordEvidence class.
Properties
- SecurePassword
Gets the password.
Methods
- Equals(object)
Determines whether the specified object is equal to this instance.
- GetHashCode()
Returns a hash code for this instance.
- ToInsecureString()
Returns password as decoded string