Method Custom
Custom(string, string, string, string)
Gets an authentication token that can be used to connect to Neo4j instances with auth disabled. This will only work if authentication is disabled on the Neo4j Instance we are connecting to.
public static IAuthToken Custom(string principal, string credentials, string realm, string scheme)
Parameters
principal
stringThis is used to identify who this token represents.
credentials
stringThis is credentials authenticating the principal.
realm
stringThis is the "realm", specifies the authentication provider.
scheme
stringThis is the authentication scheme, specifying what kind of authentication that should be used.
Returns
- IAuthToken
An authentication token that can be used to connect to Neo4j.
Remarks
Custom(string, string, string, string, Dictionary<string, object>)
Gets an authentication token that can be used to connect to Neo4j instances with auth disabled. This will only work if authentication is disabled on the Neo4j Instance we are connecting to.
public static IAuthToken Custom(string principal, string credentials, string realm, string scheme, Dictionary<string, object> parameters)
Parameters
principal
stringThis is used to identify who this token represents.
credentials
stringThis is credentials authenticating the principal.
realm
stringThis is the "realm", specifies the authentication provider.
scheme
stringThis is the authentication scheme, specifying what kind of authentication that should be used.
parameters
Dictionary<string, object>Extra parameters to be sent along the authentication provider. If none is given, then no extra parameters will be added.
Returns
- IAuthToken
An authentication token that can be used to connect to Neo4j.