Skip to main content
Module

x/neo4j_driver_lite/mod.ts>AuthTokenManager

Neo4j Bolt driver for JavaScript
Go to Latest
class AuthTokenManager
Re-export
import { AuthTokenManager } from "https://deno.land/x/neo4j_driver_lite@5.15.0/mod.ts";

Interface for the piece of software responsible for keeping track of current active AuthToken across the driver.

Methods

Returns a valid token.

Warning: This method must only ever return auth information belonging to the same identity. Switching identities using the AuthTokenManager is undefined behavior.

handleSecurityException(token: AuthToken, securityErrorCode: SecurityErrorCode): boolean

Handles an error notification emitted by the server if a security error happened.