Click or drag to resize

AuthTokensCustom Method (String, String, String, String, DictionaryString, 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.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public static IAuthToken Custom(
	string principal,
	string credentials,
	string realm,
	string scheme,
	Dictionary<string, Object> parameters
)

Parameters

principal
Type: SystemString
This is used to identify who this token represents.
credentials
Type: SystemString
This is credentials authenticating the principal.
realm
Type: SystemString
This is the "realm", specifies the authentication provider.
scheme
Type: SystemString
This is the authentication scheme, specifying what kind of authentication that should be used.
parameters
Type: System.Collections.GenericDictionaryString, Object
Extra parameters to be sent along the authentication provider. If none is given, then no extra parameters will be added.

Return Value

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