Table of Contents

Method Basic

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

Basic(string, string)

The basic authentication scheme, using a username and a password.

public static IAuthToken Basic(string username, string password)

Parameters

username string

This is the "principal", identifying who this token represents.

password string

This is the "credential", proving the identity of the user.

Returns

IAuthToken

An authentication token that can be used to connect to Neo4j.

Remarks

Basic(string, string, string)

The basic authentication scheme, using a username and a password.

public static IAuthToken Basic(string username, string password, string realm)

Parameters

username string

This is the "principal", identifying who this token represents.

password string

This is the "credential", proving the identity of the user.

realm string

This is the "realm", specifies the authentication provider. If none is given, default to be decided by the server.

Returns

IAuthToken

An authentication token that can be used to connect to Neo4j.

Remarks