@@ -26,8 +26,7 @@ export type SecurityErrorCode = `Neo.ClientError.Security.${string}`
26
26
/**
27
27
* Interface for the piece of software responsible for keeping track of current active {@link AuthToken} across the driver.
28
28
* @interface
29
- * @experimental Exposed as preview feature.
30
- * @since 5.8
29
+ * @since 5.14
31
30
*/
32
31
export default class AuthTokenManager {
33
32
/**
@@ -57,8 +56,7 @@ export default class AuthTokenManager {
57
56
/**
58
57
* Interface which defines an {@link AuthToken} with an expiration data time associated
59
58
* @interface
60
- * @experimental Exposed as preview feature.
61
- * @since 5.8
59
+ * @since 5.14
62
60
*/
63
61
export class AuthTokenAndExpiration {
64
62
public readonly token : AuthToken
@@ -102,7 +100,6 @@ class AuthTokenManagers {
102
100
* @param {function(): Promise<AuthTokenAndExpiration> } param0.tokenProvider - Retrieves a new valid auth token.
103
101
* Must only ever return auth information belonging to the same identity.
104
102
* @returns {AuthTokenManager } The temporal auth data manager.
105
- * @experimental Exposed as preview feature.
106
103
*/
107
104
bearer ( { tokenProvider } : { tokenProvider : ( ) => Promise < AuthTokenAndExpiration > } ) : AuthTokenManager {
108
105
if ( typeof tokenProvider !== 'function' ) {
@@ -124,7 +121,6 @@ class AuthTokenManagers {
124
121
* @param {function(): Promise<AuthToken> } param0.tokenProvider - Retrieves a new valid auth token.
125
122
* Must only ever return auth information belonging to the same identity.
126
123
* @returns {AuthTokenManager } The basic auth data manager.
127
- * @experimental Exposed as preview feature.
128
124
*/
129
125
basic ( { tokenProvider } : { tokenProvider : ( ) => Promise < AuthToken > } ) : AuthTokenManager {
130
126
if ( typeof tokenProvider !== 'function' ) {
@@ -138,9 +134,7 @@ class AuthTokenManagers {
138
134
}
139
135
140
136
/**
141
- * Holds the common {@link AuthTokenManagers} used in the Driver
142
- *
143
- * @experimental Exposed as preview feature.
137
+ * Holds the common {@link AuthTokenManagers} used in the Driver.
144
138
*/
145
139
const authTokenManagers : AuthTokenManagers = new AuthTokenManagers ( )
146
140
0 commit comments