mftsccs-browser 2.2.0-beta → 2.2.2-beta
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.
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
export declare class TokenStorage {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
static set BearerAccessToken(token: string);
|
|
5
|
-
static get BearerAccessToken(): string;
|
|
6
|
-
static set sessionId(id: number);
|
|
7
|
-
static get sessionId(): number;
|
|
8
|
-
static clear(): void;
|
|
2
|
+
static BearerAccessToken: string;
|
|
3
|
+
static sessionId: number;
|
|
9
4
|
}
|
package/dist/types/app.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ declare function updateAccessToken(accessToken?: string, session?: any): void;
|
|
|
147
147
|
*
|
|
148
148
|
* @param url This is the url for the backend c# system or our main data fabric server
|
|
149
149
|
* @param aiurl This is the AI url that pulls in the data using our AI system . If you do not enter this then also disable the enableAi flag.
|
|
150
|
+
* @param accessControlUrl This is the url for the access control system. This is another server in the data fabric that is used as server for business logic and security features.
|
|
150
151
|
* @param accessToken This is the JWT token that needs to be passed (But since you have just initilized the system). There is no way we can get access token
|
|
151
152
|
* So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();
|
|
152
153
|
* @param nodeUrl This is the url for the node server. This is another server in the data fabric that is used as server for business logic and security features.
|
|
@@ -166,7 +167,7 @@ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUr
|
|
|
166
167
|
isTest?: boolean;
|
|
167
168
|
}, parameters?: {
|
|
168
169
|
logserver?: string;
|
|
169
|
-
}): Promise<true | undefined>;
|
|
170
|
+
}, accessControlUrl?: string): Promise<true | undefined>;
|
|
170
171
|
/**
|
|
171
172
|
* Method to send message to the service worker from main thread
|
|
172
173
|
* @param type string
|