@onhand-bi/sdk 0.1.9 → 0.1.10
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/controllers/client.d.ts +1 -1
- package/controllers/index.d.ts +2 -2
- package/core/client.d.ts +6 -2
- package/core/index.d.ts +3 -2
- package/core/token-manager/base-token-manager.d.ts +28 -0
- package/core/token-manager/index.d.ts +2 -0
- package/core/token-manager/internal-token-manager.d.ts +9 -0
- package/environment.d.ts +3 -0
- package/index.d.ts +8 -2
- package/index.js +1 -1
- package/index.node.js +1 -1
- package/package.json +1 -1
- package/services/cclient.d.ts +1 -1
- package/util/index.d.ts +1 -0
- package/core/base-client.d.ts +0 -13
package/package.json
CHANGED
package/services/cclient.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export declare class CClientService {
|
|
|
3
3
|
static getAccessToken(credential: CClientCredential): Promise<string>;
|
|
4
4
|
static getReports(token: string): Promise<WithMessage<ReportModel[]>>;
|
|
5
5
|
static getReportAccessToken(token: string, email: string): Promise<WithMessage<CClientGetTokenResponse>>;
|
|
6
|
-
static
|
|
6
|
+
static getRequestingPartyToken(realm: string, token: string): Promise<KeycloakTokenResponse>;
|
|
7
7
|
static refreshToken(realm: string, token: string): Promise<KeycloakTokenResponse>;
|
|
8
8
|
}
|
package/util/index.d.ts
CHANGED
package/core/base-client.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class BaseClient {
|
|
2
|
-
private keycloak;
|
|
3
|
-
private rpt;
|
|
4
|
-
private refreshRpt;
|
|
5
|
-
constructor(clientId: string);
|
|
6
|
-
initialize(): Promise<void>;
|
|
7
|
-
tokenParsed(): unknown;
|
|
8
|
-
logout(): Promise<void>;
|
|
9
|
-
getToken(): Promise<string>;
|
|
10
|
-
private updateToken;
|
|
11
|
-
private getRpt;
|
|
12
|
-
private refresh;
|
|
13
|
-
}
|