@jbrowse/plugin-authentication 5.0.0-beta.1 → 5.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/DropboxOAuthModel/configSchema.d.ts +164 -86
- package/esm/DropboxOAuthModel/model.d.ts +286 -146
- package/esm/ExternalTokenModel/configSchema.d.ts +65 -23
- package/esm/ExternalTokenModel/model.d.ts +26 -16
- package/esm/GoogleDriveOAuthModel/configSchema.d.ts +164 -86
- package/esm/GoogleDriveOAuthModel/model.d.ts +286 -146
- package/esm/HTTPBasicModel/configSchema.d.ts +64 -30
- package/esm/HTTPBasicModel/model.d.ts +26 -16
- package/esm/OAuthModel/configSchema.d.ts +95 -79
- package/esm/OAuthModel/model.d.ts +115 -65
- package/esm/index.d.ts +0 -334
- package/esm/index.js +0 -17
- package/esm/tokenEntryModelFactory.d.ts +26 -16
- package/package.json +6 -6
package/esm/index.d.ts
CHANGED
|
@@ -1,340 +1,6 @@
|
|
|
1
1
|
import Plugin from '@jbrowse/core/Plugin';
|
|
2
|
-
import { modelFactory as DropboxOAuthInternetAccountModelFactory } from './DropboxOAuthModel/index.ts';
|
|
3
|
-
import { modelFactory as ExternalTokenInternetAccountModelFactory } from './ExternalTokenModel/index.ts';
|
|
4
|
-
import { modelFactory as GoogleDriveOAuthInternetAccountModelFactory } from './GoogleDriveOAuthModel/index.ts';
|
|
5
|
-
import { modelFactory as HTTPBasicInternetAccountModelFactory } from './HTTPBasicModel/index.ts';
|
|
6
|
-
import { modelFactory as OAuthInternetAccountModelFactory } from './OAuthModel/index.ts';
|
|
7
2
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
8
3
|
export default class AuthenticationPlugin extends Plugin {
|
|
9
4
|
name: string;
|
|
10
|
-
exports: {
|
|
11
|
-
OAuthConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
12
|
-
readonly tokenType: {
|
|
13
|
-
readonly description: "a custom name for a token to include in the header";
|
|
14
|
-
readonly type: "string";
|
|
15
|
-
readonly defaultValue: "Bearer";
|
|
16
|
-
};
|
|
17
|
-
readonly authEndpoint: {
|
|
18
|
-
readonly description: "the authorization code endpoint of the internet account";
|
|
19
|
-
readonly type: "string";
|
|
20
|
-
readonly defaultValue: "";
|
|
21
|
-
};
|
|
22
|
-
readonly tokenEndpoint: {
|
|
23
|
-
readonly description: "the token endpoint of the internet account";
|
|
24
|
-
readonly type: "string";
|
|
25
|
-
readonly defaultValue: "";
|
|
26
|
-
};
|
|
27
|
-
readonly needsPKCE: {
|
|
28
|
-
readonly description: "boolean to indicate if the endpoint needs a PKCE code";
|
|
29
|
-
readonly type: "boolean";
|
|
30
|
-
readonly defaultValue: false;
|
|
31
|
-
};
|
|
32
|
-
readonly clientId: {
|
|
33
|
-
readonly description: "id for the OAuth application";
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
readonly defaultValue: "";
|
|
36
|
-
};
|
|
37
|
-
readonly scopes: {
|
|
38
|
-
readonly description: "optional scopes for the authorization call";
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
readonly defaultValue: "";
|
|
41
|
-
};
|
|
42
|
-
readonly state: {
|
|
43
|
-
readonly description: "optional state for the authorization call";
|
|
44
|
-
readonly type: "string";
|
|
45
|
-
readonly defaultValue: "";
|
|
46
|
-
};
|
|
47
|
-
readonly responseType: {
|
|
48
|
-
readonly description: "the type of response from the authorization endpoint. can be 'token' or 'code'";
|
|
49
|
-
readonly type: "string";
|
|
50
|
-
readonly defaultValue: "code";
|
|
51
|
-
};
|
|
52
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
53
|
-
readonly name: {
|
|
54
|
-
readonly description: "descriptive name of the internet account";
|
|
55
|
-
readonly type: "string";
|
|
56
|
-
readonly defaultValue: "";
|
|
57
|
-
};
|
|
58
|
-
readonly description: {
|
|
59
|
-
readonly description: "a description of the internet account";
|
|
60
|
-
readonly type: "string";
|
|
61
|
-
readonly defaultValue: "";
|
|
62
|
-
};
|
|
63
|
-
readonly authHeader: {
|
|
64
|
-
readonly description: "request header for credentials";
|
|
65
|
-
readonly type: "string";
|
|
66
|
-
readonly defaultValue: "Authorization";
|
|
67
|
-
};
|
|
68
|
-
readonly tokenType: {
|
|
69
|
-
readonly description: "a custom name for a token to include in the header";
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
readonly defaultValue: "";
|
|
72
|
-
};
|
|
73
|
-
readonly domains: {
|
|
74
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
75
|
-
readonly type: "stringArray";
|
|
76
|
-
readonly defaultValue: readonly [];
|
|
77
|
-
};
|
|
78
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined>>;
|
|
79
|
-
OAuthInternetAccountModelFactory: typeof OAuthInternetAccountModelFactory;
|
|
80
|
-
ExternalTokenConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
81
|
-
readonly validateWithHEAD: {
|
|
82
|
-
readonly description: "validate the token with a HEAD request before using it";
|
|
83
|
-
readonly type: "boolean";
|
|
84
|
-
readonly defaultValue: true;
|
|
85
|
-
};
|
|
86
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
87
|
-
readonly name: {
|
|
88
|
-
readonly description: "descriptive name of the internet account";
|
|
89
|
-
readonly type: "string";
|
|
90
|
-
readonly defaultValue: "";
|
|
91
|
-
};
|
|
92
|
-
readonly description: {
|
|
93
|
-
readonly description: "a description of the internet account";
|
|
94
|
-
readonly type: "string";
|
|
95
|
-
readonly defaultValue: "";
|
|
96
|
-
};
|
|
97
|
-
readonly authHeader: {
|
|
98
|
-
readonly description: "request header for credentials";
|
|
99
|
-
readonly type: "string";
|
|
100
|
-
readonly defaultValue: "Authorization";
|
|
101
|
-
};
|
|
102
|
-
readonly tokenType: {
|
|
103
|
-
readonly description: "a custom name for a token to include in the header";
|
|
104
|
-
readonly type: "string";
|
|
105
|
-
readonly defaultValue: "";
|
|
106
|
-
};
|
|
107
|
-
readonly domains: {
|
|
108
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
109
|
-
readonly type: "stringArray";
|
|
110
|
-
readonly defaultValue: readonly [];
|
|
111
|
-
};
|
|
112
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined>>;
|
|
113
|
-
ExternalTokenInternetAccountModelFactory: typeof ExternalTokenInternetAccountModelFactory;
|
|
114
|
-
HTTPBasicConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
115
|
-
readonly tokenType: {
|
|
116
|
-
readonly description: "a custom name for a token to include in the header";
|
|
117
|
-
readonly type: "string";
|
|
118
|
-
readonly defaultValue: "Basic";
|
|
119
|
-
};
|
|
120
|
-
readonly validateWithHEAD: {
|
|
121
|
-
readonly description: "validate the token with a HEAD request before using it";
|
|
122
|
-
readonly type: "boolean";
|
|
123
|
-
readonly defaultValue: true;
|
|
124
|
-
};
|
|
125
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
126
|
-
readonly name: {
|
|
127
|
-
readonly description: "descriptive name of the internet account";
|
|
128
|
-
readonly type: "string";
|
|
129
|
-
readonly defaultValue: "";
|
|
130
|
-
};
|
|
131
|
-
readonly description: {
|
|
132
|
-
readonly description: "a description of the internet account";
|
|
133
|
-
readonly type: "string";
|
|
134
|
-
readonly defaultValue: "";
|
|
135
|
-
};
|
|
136
|
-
readonly authHeader: {
|
|
137
|
-
readonly description: "request header for credentials";
|
|
138
|
-
readonly type: "string";
|
|
139
|
-
readonly defaultValue: "Authorization";
|
|
140
|
-
};
|
|
141
|
-
readonly tokenType: {
|
|
142
|
-
readonly description: "a custom name for a token to include in the header";
|
|
143
|
-
readonly type: "string";
|
|
144
|
-
readonly defaultValue: "";
|
|
145
|
-
};
|
|
146
|
-
readonly domains: {
|
|
147
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
148
|
-
readonly type: "stringArray";
|
|
149
|
-
readonly defaultValue: readonly [];
|
|
150
|
-
};
|
|
151
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined>>;
|
|
152
|
-
HTTPBasicInternetAccountModelFactory: typeof HTTPBasicInternetAccountModelFactory;
|
|
153
|
-
DropboxOAuthConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
154
|
-
readonly authEndpoint: {
|
|
155
|
-
readonly description: "the authorization code endpoint of the internet account";
|
|
156
|
-
readonly type: "string";
|
|
157
|
-
readonly defaultValue: "https://www.dropbox.com/oauth2/authorize";
|
|
158
|
-
};
|
|
159
|
-
readonly tokenEndpoint: {
|
|
160
|
-
readonly description: "the token endpoint of the internet account";
|
|
161
|
-
readonly type: "string";
|
|
162
|
-
readonly defaultValue: "https://api.dropbox.com/oauth2/token";
|
|
163
|
-
};
|
|
164
|
-
readonly needsPKCE: {
|
|
165
|
-
readonly description: "boolean to indicate if the endpoint needs a PKCE code";
|
|
166
|
-
readonly type: "boolean";
|
|
167
|
-
readonly defaultValue: true;
|
|
168
|
-
};
|
|
169
|
-
readonly domains: {
|
|
170
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
171
|
-
readonly type: "stringArray";
|
|
172
|
-
readonly defaultValue: readonly ["addtodropbox.com", "db.tt", "dropbox.com", "dropboxapi.com", "dropboxbusiness.com", "dropbox.tech", "getdropbox.com"];
|
|
173
|
-
};
|
|
174
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
175
|
-
readonly tokenType: {
|
|
176
|
-
readonly description: "a custom name for a token to include in the header";
|
|
177
|
-
readonly type: "string";
|
|
178
|
-
readonly defaultValue: "Bearer";
|
|
179
|
-
};
|
|
180
|
-
readonly authEndpoint: {
|
|
181
|
-
readonly description: "the authorization code endpoint of the internet account";
|
|
182
|
-
readonly type: "string";
|
|
183
|
-
readonly defaultValue: "";
|
|
184
|
-
};
|
|
185
|
-
readonly tokenEndpoint: {
|
|
186
|
-
readonly description: "the token endpoint of the internet account";
|
|
187
|
-
readonly type: "string";
|
|
188
|
-
readonly defaultValue: "";
|
|
189
|
-
};
|
|
190
|
-
readonly needsPKCE: {
|
|
191
|
-
readonly description: "boolean to indicate if the endpoint needs a PKCE code";
|
|
192
|
-
readonly type: "boolean";
|
|
193
|
-
readonly defaultValue: false;
|
|
194
|
-
};
|
|
195
|
-
readonly clientId: {
|
|
196
|
-
readonly description: "id for the OAuth application";
|
|
197
|
-
readonly type: "string";
|
|
198
|
-
readonly defaultValue: "";
|
|
199
|
-
};
|
|
200
|
-
readonly scopes: {
|
|
201
|
-
readonly description: "optional scopes for the authorization call";
|
|
202
|
-
readonly type: "string";
|
|
203
|
-
readonly defaultValue: "";
|
|
204
|
-
};
|
|
205
|
-
readonly state: {
|
|
206
|
-
readonly description: "optional state for the authorization call";
|
|
207
|
-
readonly type: "string";
|
|
208
|
-
readonly defaultValue: "";
|
|
209
|
-
};
|
|
210
|
-
readonly responseType: {
|
|
211
|
-
readonly description: "the type of response from the authorization endpoint. can be 'token' or 'code'";
|
|
212
|
-
readonly type: "string";
|
|
213
|
-
readonly defaultValue: "code";
|
|
214
|
-
};
|
|
215
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
216
|
-
readonly name: {
|
|
217
|
-
readonly description: "descriptive name of the internet account";
|
|
218
|
-
readonly type: "string";
|
|
219
|
-
readonly defaultValue: "";
|
|
220
|
-
};
|
|
221
|
-
readonly description: {
|
|
222
|
-
readonly description: "a description of the internet account";
|
|
223
|
-
readonly type: "string";
|
|
224
|
-
readonly defaultValue: "";
|
|
225
|
-
};
|
|
226
|
-
readonly authHeader: {
|
|
227
|
-
readonly description: "request header for credentials";
|
|
228
|
-
readonly type: "string";
|
|
229
|
-
readonly defaultValue: "Authorization";
|
|
230
|
-
};
|
|
231
|
-
readonly tokenType: {
|
|
232
|
-
readonly description: "a custom name for a token to include in the header";
|
|
233
|
-
readonly type: "string";
|
|
234
|
-
readonly defaultValue: "";
|
|
235
|
-
};
|
|
236
|
-
readonly domains: {
|
|
237
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
238
|
-
readonly type: "stringArray";
|
|
239
|
-
readonly defaultValue: readonly [];
|
|
240
|
-
};
|
|
241
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined>>, undefined>>;
|
|
242
|
-
DropboxOAuthInternetAccountModelFactory: typeof DropboxOAuthInternetAccountModelFactory;
|
|
243
|
-
GoogleDriveOAuthConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
244
|
-
readonly authEndpoint: {
|
|
245
|
-
readonly description: "the authorization code endpoint of the internet account";
|
|
246
|
-
readonly type: "string";
|
|
247
|
-
readonly defaultValue: "https://accounts.google.com/o/oauth2/v2/auth";
|
|
248
|
-
};
|
|
249
|
-
readonly scopes: {
|
|
250
|
-
readonly description: "optional scopes for the authorization call";
|
|
251
|
-
readonly type: "string";
|
|
252
|
-
readonly defaultValue: "https://www.googleapis.com/auth/drive.readonly";
|
|
253
|
-
};
|
|
254
|
-
readonly domains: {
|
|
255
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
256
|
-
readonly type: "stringArray";
|
|
257
|
-
readonly defaultValue: readonly ["drive.google.com"];
|
|
258
|
-
};
|
|
259
|
-
readonly responseType: {
|
|
260
|
-
readonly description: "the type of response from the authorization endpoint";
|
|
261
|
-
readonly type: "string";
|
|
262
|
-
readonly defaultValue: "token";
|
|
263
|
-
};
|
|
264
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
265
|
-
readonly tokenType: {
|
|
266
|
-
readonly description: "a custom name for a token to include in the header";
|
|
267
|
-
readonly type: "string";
|
|
268
|
-
readonly defaultValue: "Bearer";
|
|
269
|
-
};
|
|
270
|
-
readonly authEndpoint: {
|
|
271
|
-
readonly description: "the authorization code endpoint of the internet account";
|
|
272
|
-
readonly type: "string";
|
|
273
|
-
readonly defaultValue: "";
|
|
274
|
-
};
|
|
275
|
-
readonly tokenEndpoint: {
|
|
276
|
-
readonly description: "the token endpoint of the internet account";
|
|
277
|
-
readonly type: "string";
|
|
278
|
-
readonly defaultValue: "";
|
|
279
|
-
};
|
|
280
|
-
readonly needsPKCE: {
|
|
281
|
-
readonly description: "boolean to indicate if the endpoint needs a PKCE code";
|
|
282
|
-
readonly type: "boolean";
|
|
283
|
-
readonly defaultValue: false;
|
|
284
|
-
};
|
|
285
|
-
readonly clientId: {
|
|
286
|
-
readonly description: "id for the OAuth application";
|
|
287
|
-
readonly type: "string";
|
|
288
|
-
readonly defaultValue: "";
|
|
289
|
-
};
|
|
290
|
-
readonly scopes: {
|
|
291
|
-
readonly description: "optional scopes for the authorization call";
|
|
292
|
-
readonly type: "string";
|
|
293
|
-
readonly defaultValue: "";
|
|
294
|
-
};
|
|
295
|
-
readonly state: {
|
|
296
|
-
readonly description: "optional state for the authorization call";
|
|
297
|
-
readonly type: "string";
|
|
298
|
-
readonly defaultValue: "";
|
|
299
|
-
};
|
|
300
|
-
readonly responseType: {
|
|
301
|
-
readonly description: "the type of response from the authorization endpoint. can be 'token' or 'code'";
|
|
302
|
-
readonly type: "string";
|
|
303
|
-
readonly defaultValue: "code";
|
|
304
|
-
};
|
|
305
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
306
|
-
readonly name: {
|
|
307
|
-
readonly description: "descriptive name of the internet account";
|
|
308
|
-
readonly type: "string";
|
|
309
|
-
readonly defaultValue: "";
|
|
310
|
-
};
|
|
311
|
-
readonly description: {
|
|
312
|
-
readonly description: "a description of the internet account";
|
|
313
|
-
readonly type: "string";
|
|
314
|
-
readonly defaultValue: "";
|
|
315
|
-
};
|
|
316
|
-
readonly authHeader: {
|
|
317
|
-
readonly description: "request header for credentials";
|
|
318
|
-
readonly type: "string";
|
|
319
|
-
readonly defaultValue: "Authorization";
|
|
320
|
-
};
|
|
321
|
-
readonly tokenType: {
|
|
322
|
-
readonly description: "a custom name for a token to include in the header";
|
|
323
|
-
readonly type: "string";
|
|
324
|
-
readonly defaultValue: "";
|
|
325
|
-
};
|
|
326
|
-
readonly domains: {
|
|
327
|
-
readonly description: "array of valid domains the url can contain to use this account";
|
|
328
|
-
readonly type: "stringArray";
|
|
329
|
-
readonly defaultValue: readonly [];
|
|
330
|
-
};
|
|
331
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined>>, undefined>>;
|
|
332
|
-
GoogleDriveOAuthInternetAccountModelFactory: typeof GoogleDriveOAuthInternetAccountModelFactory;
|
|
333
|
-
};
|
|
334
5
|
install(pluginManager: PluginManager): void;
|
|
335
6
|
}
|
|
336
|
-
export { configSchema as OAuthConfigSchema, modelFactory as OAuthInternetAccountModelFactory, } from './OAuthModel/index.ts';
|
|
337
|
-
export { configSchema as ExternalTokenConfigSchema, modelFactory as ExternalTokenInternetAccountModelFactory, } from './ExternalTokenModel/index.ts';
|
|
338
|
-
export { configSchema as HTTPBasicConfigSchema, modelFactory as HTTPBasicInternetAccountModelFactory, } from './HTTPBasicModel/index.ts';
|
|
339
|
-
export { configSchema as DropboxOAuthConfigSchema, modelFactory as DropboxOAuthInternetAccountModelFactory, } from './DropboxOAuthModel/index.ts';
|
|
340
|
-
export { configSchema as GoogleDriveOAuthConfigSchema, modelFactory as GoogleDriveOAuthInternetAccountModelFactory, } from './GoogleDriveOAuthModel/index.ts';
|
package/esm/index.js
CHANGED
|
@@ -23,26 +23,9 @@ const internetAccountTypes = [
|
|
|
23
23
|
];
|
|
24
24
|
export default class AuthenticationPlugin extends Plugin {
|
|
25
25
|
name = 'AuthenticationPlugin';
|
|
26
|
-
exports = {
|
|
27
|
-
OAuthConfigSchema,
|
|
28
|
-
OAuthInternetAccountModelFactory,
|
|
29
|
-
ExternalTokenConfigSchema,
|
|
30
|
-
ExternalTokenInternetAccountModelFactory,
|
|
31
|
-
HTTPBasicConfigSchema,
|
|
32
|
-
HTTPBasicInternetAccountModelFactory,
|
|
33
|
-
DropboxOAuthConfigSchema,
|
|
34
|
-
DropboxOAuthInternetAccountModelFactory,
|
|
35
|
-
GoogleDriveOAuthConfigSchema,
|
|
36
|
-
GoogleDriveOAuthInternetAccountModelFactory,
|
|
37
|
-
};
|
|
38
26
|
install(pluginManager) {
|
|
39
27
|
for (const makeAccountType of internetAccountTypes) {
|
|
40
28
|
pluginManager.addInternetAccountType(makeAccountType);
|
|
41
29
|
}
|
|
42
30
|
}
|
|
43
31
|
}
|
|
44
|
-
export { configSchema as OAuthConfigSchema, modelFactory as OAuthInternetAccountModelFactory, } from './OAuthModel/index.js';
|
|
45
|
-
export { configSchema as ExternalTokenConfigSchema, modelFactory as ExternalTokenInternetAccountModelFactory, } from './ExternalTokenModel/index.js';
|
|
46
|
-
export { configSchema as HTTPBasicConfigSchema, modelFactory as HTTPBasicInternetAccountModelFactory, } from './HTTPBasicModel/index.js';
|
|
47
|
-
export { configSchema as DropboxOAuthConfigSchema, modelFactory as DropboxOAuthInternetAccountModelFactory, } from './DropboxOAuthModel/index.js';
|
|
48
|
-
export { configSchema as GoogleDriveOAuthConfigSchema, modelFactory as GoogleDriveOAuthInternetAccountModelFactory, } from './GoogleDriveOAuthModel/index.js';
|
|
@@ -18,31 +18,41 @@ export declare function tokenEntryModelFactory<Type extends string>(modelName: s
|
|
|
18
18
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
19
19
|
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
20
20
|
readonly name: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
type: "string";
|
|
22
|
+
} & {
|
|
23
|
+
defaultValue: string;
|
|
24
24
|
};
|
|
25
25
|
readonly description: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
type: "string";
|
|
27
|
+
} & {
|
|
28
|
+
defaultValue: string;
|
|
29
29
|
};
|
|
30
30
|
readonly authHeader: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
type: "string";
|
|
32
|
+
} & {
|
|
33
|
+
defaultValue: string;
|
|
34
34
|
};
|
|
35
35
|
readonly tokenType: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
type: "string";
|
|
37
|
+
} & {
|
|
38
|
+
defaultValue: string;
|
|
39
39
|
};
|
|
40
40
|
readonly domains: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
type: "stringArray";
|
|
42
|
+
} & {
|
|
43
|
+
defaultValue: unknown;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
type: {
|
|
46
|
+
type: "string";
|
|
47
|
+
} & {
|
|
48
|
+
defaultValue: string;
|
|
49
|
+
};
|
|
50
|
+
internetAccountId: {
|
|
51
|
+
type: "string";
|
|
52
|
+
} & {
|
|
53
|
+
defaultValue: string;
|
|
54
|
+
};
|
|
55
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId", true, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>;
|
|
46
56
|
}, "configuration" | "type"> & {
|
|
47
57
|
/**
|
|
48
58
|
* #property
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-authentication",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JBrowse 2 Authentication",
|
|
6
6
|
"keywords": [
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"esm"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@jbrowse/mobx-state-tree": "^6.
|
|
25
|
-
"@mui/material": "^9.
|
|
26
|
-
"generic-filehandle2": "^2.
|
|
27
|
-
"mobx": "^7.0.
|
|
28
|
-
"@jbrowse/core": "^5.0.0-beta.
|
|
24
|
+
"@jbrowse/mobx-state-tree": "^6.7.0",
|
|
25
|
+
"@mui/material": "^9.4.0",
|
|
26
|
+
"generic-filehandle2": "^2.5.0",
|
|
27
|
+
"mobx": "^7.0.5",
|
|
28
|
+
"@jbrowse/core": "^5.0.0-beta.11"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">=19.0.0",
|