Click or drag to resize

AuthTokensBasic Method (String, 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,
	string realm
)

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.
realm
Type: SystemString
This is the "realm", specifies the authentication provider. If none is given, default to be decided by the server.

Return Value

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