@pega/react-sdk-components 8.23.11-debug3 → 8.23.11-debug4
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,30 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
ssKeyConfig:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
crypto: Crypto | undefined;
|
|
9
|
-
subtle: SubtleCrypto | undefined;
|
|
1
|
+
export default PegaAuth;
|
|
2
|
+
declare class PegaAuth {
|
|
3
|
+
constructor(ssKeyConfig: any);
|
|
4
|
+
ssKeyConfig: any;
|
|
5
|
+
bEncodeSI: boolean;
|
|
6
|
+
reloadConfig(): void;
|
|
7
|
+
config: {} | null | undefined;
|
|
10
8
|
login(): Promise<any>;
|
|
11
9
|
loginRedirect(): void;
|
|
12
|
-
checkStateMatch(state: any): boolean;
|
|
13
10
|
getToken(authCode: any): Promise<any>;
|
|
14
|
-
refreshToken(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* the optional refreshToken would be passed in and the routine will generate two separate revoke
|
|
18
|
-
* transactions. For secureCookie scenario, will issue just one for the accessToken, but this will
|
|
19
|
-
* also revoke the refresh token if present.
|
|
20
|
-
* @param {string} accessToken - the access token (or any string value for secureCookie scenario)
|
|
21
|
-
* @param {string} refreshToken - optional refresh token (or any string value for non secureCookie
|
|
22
|
-
* scenario, when a refreshToken exists)
|
|
23
|
-
* @returns
|
|
24
|
-
*/
|
|
25
|
-
revokeTokens(accessToken: string, refreshToken?: string): Promise<void>;
|
|
26
|
-
getUserinfo(accessToken: any): Promise<any>;
|
|
11
|
+
refreshToken(refresh_token: any): Promise<any>;
|
|
12
|
+
revokeTokens(access_token: any, refresh_token?: null): Promise<void>;
|
|
13
|
+
getUserinfo(access_token: any): Promise<any>;
|
|
27
14
|
#private;
|
|
28
15
|
}
|
|
29
|
-
export default PegaAuth;
|
|
30
16
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/components/helpers/auth.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/components/helpers/auth.js"],"names":[],"mappings":";AAAA;IAEE,8BAIC;IAHG,iBAA8B;IAC9B,mBAAsB;IAI1B,qBAgBC;IADG,8BAAmC;IAgDvC,sBAyMC;IAGD,sBAOC;IAID,sCAoDC;IAGD,+CAqCC;IAED,qEA4CC;IAID,6CAwBC;;CA0CF"}
|