Method Basic
Basic(string, string)
The basic authentication scheme, using a username and a password.
public static IAuthToken Basic(string username, string password)
Parameters
username
stringThis is the "principal", identifying who this token represents.
password
stringThis 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
stringThis is the "principal", identifying who this token represents.
password
stringThis is the "credential", proving the identity of the user.
realm
stringThis 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.