@cloudbase/auth 2.4.5-beta.0 → 2.5.0-beta.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/.eslintrc.js +15 -0
- package/dist/cjs/index.d.ts +5 -5
- package/dist/cjs/index.js +146 -150
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +146 -150
- package/package.json +11 -15
- package/src/index.ts +256 -265
- package/tsconfig.json +1 -0
- package/.eslintrc +0 -30
package/.eslintrc.js
ADDED
package/dist/cjs/index.d.ts
CHANGED
|
@@ -28,16 +28,16 @@ interface ILoginStateOptions extends IUserOptions {
|
|
|
28
28
|
export declare class LoginState implements ILoginState {
|
|
29
29
|
user: IUser;
|
|
30
30
|
oauthLoginState: any;
|
|
31
|
-
private
|
|
32
|
-
private
|
|
31
|
+
private oauthInstance;
|
|
32
|
+
private cache;
|
|
33
33
|
constructor(options: ILoginStateOptions);
|
|
34
34
|
checkLocalState(): void;
|
|
35
35
|
checkLocalStateAsync(): Promise<void>;
|
|
36
36
|
}
|
|
37
37
|
declare class Auth {
|
|
38
|
-
private readonly
|
|
39
|
-
private readonly
|
|
40
|
-
private
|
|
38
|
+
private readonly config;
|
|
39
|
+
private readonly cache;
|
|
40
|
+
private oauthInstance;
|
|
41
41
|
constructor(config: ICloudbaseAuthConfig & {
|
|
42
42
|
cache: ICloudbaseCache;
|
|
43
43
|
request?: ICloudbaseRequest;
|