UNPKG

2.58 kBJavaScriptView Raw
1/*!
2 * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
3 *
4 * Services is currently a part of webex-core due to how the contents of
5 * the original internal-plugin-services needed to be accessed when webex-core
6 * is initialized. As a plugin outside of webex-core, it would initialize after
7 * credentials, causing all requests prior to its initialization to fail
8 * federation requirements, and instead send requests to the environmentally-
9 * assigned urls.
10 */
11
12import './plugins/logger';
13import './lib/credentials';
14import './lib/services';
15
16export {
17 Credentials,
18 filterScope,
19 grantErrors,
20 sortScope,
21 Token
22} from './lib/credentials';
23
24export {
25 constants as serviceConstants,
26 ServiceCatalog,
27 ServiceRegistry,
28 ServiceState,
29 ServiceInterceptor,
30 ServerErrorInterceptor,
31 Services,
32 ServiceHost,
33 ServiceUrl
34} from './lib/services';
35
36export {
37 makeWebexStore,
38 makeWebexPluginStore,
39 MemoryStoreAdapter,
40 NotFoundError,
41 persist,
42 StorageError,
43 waitForValue
44} from './lib/storage';
45
46export {
47 default,
48 registerPlugin,
49 registerInternalPlugin
50} from './webex-core';
51
52export {default as WebexHttpError} from './lib/webex-http-error';
53export {default as StatelessWebexPlugin} from './lib/stateless-webex-plugin';
54export {default as WebexPlugin} from './lib/webex-plugin';
55export {default as AuthInterceptor} from './interceptors/auth';
56export {default as NetworkTimingInterceptor} from './interceptors/network-timing';
57export {default as PayloadTransformerInterceptor} from './interceptors/payload-transformer';
58export {default as RedirectInterceptor} from './interceptors/redirect';
59export {default as ResponseLoggerInterceptor} from './interceptors/response-logger';
60export {default as RequestEventInterceptor} from './interceptors/request-event';
61export {default as RequestLoggerInterceptor} from './interceptors/request-logger';
62export {default as RequestTimingInterceptor} from './interceptors/request-timing';
63export {default as UserAgentInterceptor} from './interceptors/user-agent';
64export {default as WebexTrackingIdInterceptor} from './interceptors/webex-tracking-id';
65export {default as WebexUserAgentInterceptor} from './interceptors/webex-user-agent';
66export {default as RateLimitInterceptor} from './interceptors/rate-limit';
67export {default as EmbargoInterceptor} from './interceptors/embargo';
68export {default as DefaultOptionsInterceptor} from './interceptors/default-options';
69
70export {default as Batcher} from './lib/batcher';
71export {default as Page} from './lib/page';
72export {default as config} from './config';