Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions packages/core/src/auth-token-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export type SecurityErrorCode = `Neo.ClientError.Security.${string}`
/**
* Interface for the piece of software responsible for keeping track of current active {@link AuthToken} across the driver.
* @interface
* @experimental Exposed as preview feature.
* @since 5.8
*/
export default class AuthTokenManager {
Expand Down Expand Up @@ -57,7 +56,6 @@ export default class AuthTokenManager {
/**
* Interface which defines an {@link AuthToken} with an expiration data time associated
* @interface
* @experimental Exposed as preview feature.
* @since 5.8
*/
export class AuthTokenAndExpiration {
Expand Down Expand Up @@ -102,7 +100,6 @@ class AuthTokenManagers {
* @param {function(): Promise<AuthTokenAndExpiration>} param0.tokenProvider - Retrieves a new valid auth token.
* Must only ever return auth information belonging to the same identity.
* @returns {AuthTokenManager} The temporal auth data manager.
* @experimental Exposed as preview feature.
*/
bearer ({ tokenProvider }: { tokenProvider: () => Promise<AuthTokenAndExpiration> }): AuthTokenManager {
if (typeof tokenProvider !== 'function') {
Expand All @@ -124,7 +121,6 @@ class AuthTokenManagers {
* @param {function(): Promise<AuthToken>} param0.tokenProvider - Retrieves a new valid auth token.
* Must only ever return auth information belonging to the same identity.
* @returns {AuthTokenManager} The basic auth data manager.
* @experimental Exposed as preview feature.
*/
basic ({ tokenProvider }: { tokenProvider: () => Promise<AuthToken> }): AuthTokenManager {
if (typeof tokenProvider !== 'function') {
Expand All @@ -138,9 +134,7 @@ class AuthTokenManagers {
}

/**
* Holds the common {@link AuthTokenManagers} used in the Driver
*
* @experimental Exposed as preview feature.
* Holds the common {@link AuthTokenManagers} used in the Driver.
*/
const authTokenManagers: AuthTokenManagers = new AuthTokenManagers()

Expand Down
1 change: 0 additions & 1 deletion packages/core/src/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ class SessionConfig {
* which supports Bolt 5.1 and onwards.
*
* @type {AuthToken|undefined}
* @experimental Exposed as preview feature.
* @see {@link driver}
*/
this.auth = undefined
Expand Down
8 changes: 1 addition & 7 deletions packages/neo4j-driver-deno/lib/core/auth-token-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export type SecurityErrorCode = `Neo.ClientError.Security.${string}`
/**
* Interface for the piece of software responsible for keeping track of current active {@link AuthToken} across the driver.
* @interface
* @experimental Exposed as preview feature.
* @since 5.8
*/
export default class AuthTokenManager {
Expand Down Expand Up @@ -57,7 +56,6 @@ export default class AuthTokenManager {
/**
* Interface which defines an {@link AuthToken} with an expiration data time associated
* @interface
* @experimental Exposed as preview feature.
* @since 5.8
*/
export class AuthTokenAndExpiration {
Expand Down Expand Up @@ -102,7 +100,6 @@ class AuthTokenManagers {
* @param {function(): Promise<AuthTokenAndExpiration>} param0.tokenProvider - Retrieves a new valid auth token.
* Must only ever return auth information belonging to the same identity.
* @returns {AuthTokenManager} The temporal auth data manager.
* @experimental Exposed as preview feature.
*/
bearer ({ tokenProvider }: { tokenProvider: () => Promise<AuthTokenAndExpiration> }): AuthTokenManager {
if (typeof tokenProvider !== 'function') {
Expand All @@ -124,7 +121,6 @@ class AuthTokenManagers {
* @param {function(): Promise<AuthToken>} param0.tokenProvider - Retrieves a new valid auth token.
* Must only ever return auth information belonging to the same identity.
* @returns {AuthTokenManager} The basic auth data manager.
* @experimental Exposed as preview feature.
*/
basic ({ tokenProvider }: { tokenProvider: () => Promise<AuthToken> }): AuthTokenManager {
if (typeof tokenProvider !== 'function') {
Expand All @@ -138,9 +134,7 @@ class AuthTokenManagers {
}

/**
* Holds the common {@link AuthTokenManagers} used in the Driver
*
* @experimental Exposed as preview feature.
* Holds the common {@link AuthTokenManagers} used in the Driver.
*/
const authTokenManagers: AuthTokenManagers = new AuthTokenManagers()

Expand Down
1 change: 0 additions & 1 deletion packages/neo4j-driver-deno/lib/core/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ class SessionConfig {
* which supports Bolt 5.1 and onwards.
*
* @type {AuthToken|undefined}
* @experimental Exposed as preview feature.
* @see {@link driver}
*/
this.auth = undefined
Expand Down
2 changes: 1 addition & 1 deletion packages/neo4j-driver/src/result-rx.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class RxResult {
/**
* Pauses the automatic streaming of records.
*
* This method provides a way of controll the flow of records
* This method provides a way of control the flow of records
*
* @experimental
*/
Expand Down