Table of Contents

Constructor MongoCredential

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MongoCredential(string, MongoIdentity, MongoIdentityEvidence)

Initializes a new instance of the MongoCredential class.

public MongoCredential(string mechanism, MongoIdentity identity, MongoIdentityEvidence evidence)

Parameters

mechanism string

Mechanism to authenticate with.

identity MongoIdentity

The identity.

evidence MongoIdentityEvidence

The evidence.