PasswordEvidence Class |
Namespace: MongoDB.Driver
The PasswordEvidence type exposes the following members.
Name | Description | |
---|---|---|
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.
|
Name | Description | |
---|---|---|
SecurePassword |
Gets the password.
|
Name | Description | |
---|---|---|
Equals |
Determines whether the specified Object is equal to this instance.
(Overrides MongoIdentityEvidenceEquals(Object).) | |
GetHashCode |
Returns a hash code for this instance.
(Overrides MongoIdentityEvidenceGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |