File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class AuthTokenManagers {
120
120
* **Warning**: `tokenProvider` must only ever return auth information belonging to the same identity.
121
121
* Switching identities using the `AuthTokenManager` is undefined behavior.
122
122
*
123
- * @param param0 - The params
123
+ * @param { object } param0 - The params
124
124
* @param {function(): Promise<AuthToken> } param0.tokenProvider - Retrieves a new valid auth token.
125
125
* Must only ever return auth information belonging to the same identity.
126
126
* @returns {AuthTokenManager } The basic auth data manager.
@@ -139,8 +139,16 @@ class AuthTokenManagers {
139
139
140
140
/**
141
141
* Holds the common {@link AuthTokenManagers} used in the Driver
142
+ *
143
+ * @experimental Exposed as preview feature.
142
144
*/
143
- export const authTokenManagers : AuthTokenManagers = Object . freeze ( new AuthTokenManagers ( ) )
145
+ const authTokenManagers : AuthTokenManagers = new AuthTokenManagers ( )
146
+
147
+ Object . freeze ( authTokenManagers )
148
+
149
+ export {
150
+ authTokenManagers
151
+ }
144
152
145
153
export type {
146
154
AuthTokenManagers
You can’t perform that action at this time.
0 commit comments