@authing/guard-shim-react18 5.1.11 → 5.2.0
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/dist/esm/guard.min.js +1 -1
- package/dist/typings/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/typings/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class Guard {
|
|
|
9
9
|
private root?;
|
|
10
10
|
constructor(options: GuardOptions);
|
|
11
11
|
private adaptOptions;
|
|
12
|
+
private getRequestHost;
|
|
12
13
|
private getPublicConfig;
|
|
13
14
|
getAuthClient(): Promise<AuthenticationClient>;
|
|
14
15
|
static getGuardContainer(selector?: string | HTMLElement): Element | null;
|
|
@@ -30,7 +31,9 @@ export declare class Guard {
|
|
|
30
31
|
handleRedirectCallback(): Promise<void>;
|
|
31
32
|
private getAccessTokenByCode;
|
|
32
33
|
private getCodeAndCodeChallenge;
|
|
33
|
-
private
|
|
34
|
+
private setTokenCache;
|
|
35
|
+
private clearTokenCache;
|
|
36
|
+
private clearLoginCache;
|
|
34
37
|
private parseUrlQuery;
|
|
35
38
|
/**
|
|
36
39
|
* 获取当前用户信息
|