Click or drag to resize

AuthTokensBasic Method (String, String)

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

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public static IAuthToken Basic(
	string username,
	string password
)

Parameters

username
Type: SystemString
This is the "principal", identifying who this token represents.
password
Type: SystemString
This is the "credential", proving the identity of the user.

Return Value

Type: IAuthToken
An authentication token that can be used to connect to Neo4j.
Remarks
See Also