Click or drag to resize

AuthTokens Class

This provides methods to create IAuthTokens for various authentication schemes supported by this driver. The scheme used must be also supported by the Neo4j instance you are connecting to.
Inheritance Hierarchy
SystemObject
  Neo4j.DriverAuthTokens

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public class AuthTokens

The AuthTokens type exposes the following members.

Constructors
  NameDescription
Public methodAuthTokens
Initializes a new instance of the AuthTokens class
Top
Properties
  NameDescription
Public propertyStatic memberNone
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.
Top
Methods
  NameDescription
Public methodStatic memberBasic(String, String)
The basic authentication scheme, using a username and a password.
Public methodStatic memberBasic(String, String, String)
The basic authentication scheme, using a username and a password.
Public methodStatic memberCustom(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 methodStatic memberCustom(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.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberKerberos
The kerberos authentication scheme, using a base64 encoded ticket.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks
See Also