Table of Contents

Constructor GssapiAuthenticator

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

GssapiAuthenticator(UsernamePasswordCredential, IEnumerable<KeyValuePair<string, string>>)

Initializes a new instance of the GssapiAuthenticator class.

[Obsolete("Use the newest overload instead.")]
public GssapiAuthenticator(UsernamePasswordCredential credential, IEnumerable<KeyValuePair<string, string>> properties)

Parameters

credential UsernamePasswordCredential

The credential.

properties IEnumerable<KeyValuePair<string, string>>

The properties.

GssapiAuthenticator(UsernamePasswordCredential, IEnumerable<KeyValuePair<string, string>>, ServerApi)

Initializes a new instance of the GssapiAuthenticator class.

public GssapiAuthenticator(UsernamePasswordCredential credential, IEnumerable<KeyValuePair<string, string>> properties, ServerApi serverApi)

Parameters

credential UsernamePasswordCredential

The credential.

properties IEnumerable<KeyValuePair<string, string>>

The properties.

serverApi ServerApi

The server API.

GssapiAuthenticator(string, IEnumerable<KeyValuePair<string, string>>)

Initializes a new instance of the GssapiAuthenticator class.

[Obsolete("Use the newest overload instead.")]
public GssapiAuthenticator(string username, IEnumerable<KeyValuePair<string, string>> properties)

Parameters

username string

The username.

properties IEnumerable<KeyValuePair<string, string>>

The properties.

GssapiAuthenticator(string, IEnumerable<KeyValuePair<string, string>>, ServerApi)

Initializes a new instance of the GssapiAuthenticator class.

public GssapiAuthenticator(string username, IEnumerable<KeyValuePair<string, string>> properties, ServerApi serverApi)

Parameters

username string

The username.

properties IEnumerable<KeyValuePair<string, string>>

The properties.

serverApi ServerApi

The server API.