Table of Contents

Class AuthenticatorFactory

Namespace
MongoDB.Driver.Core.Authentication
Assembly
MongoDB.Driver.Core.dll

Represents an authenticator factory.

public class AuthenticatorFactory : IAuthenticatorFactory
Inheritance
AuthenticatorFactory
Implements
Inherited Members

Constructors

AuthenticatorFactory(Func<IAuthenticator>)

Create an authenticatorFactory.

public AuthenticatorFactory(Func<IAuthenticator> authenticatorFactoryFunc)

Parameters

authenticatorFactoryFunc Func<IAuthenticator>

The authenticatorFactoryFunc.

Methods

Create()

Create an authenticator.

public IAuthenticator Create()

Returns

IAuthenticator

The authenticator.