@aws-amplify/auth 4.4.3-cloud-logging.7 → 4.4.3-cloud-logging.8
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/CHANGELOG.md +18 -43
- package/dist/aws-amplify-auth.js +618 -352
- package/dist/aws-amplify-auth.js.map +1 -1
- package/dist/aws-amplify-auth.min.js +22 -78
- package/dist/aws-amplify-auth.min.js.map +1 -1
- package/lib/Auth.d.ts +9 -0
- package/lib/Auth.js +362 -161
- package/lib/Auth.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/types/Auth.d.ts +7 -0
- package/lib/types/Auth.js +8 -0
- package/lib/types/Auth.js.map +1 -1
- package/lib-esm/Auth.d.ts +9 -0
- package/lib-esm/Auth.js +362 -161
- package/lib-esm/Auth.js.map +1 -1
- package/lib-esm/index.d.ts +2 -2
- package/lib-esm/index.js +2 -2
- package/lib-esm/index.js.map +1 -1
- package/lib-esm/types/Auth.d.ts +7 -0
- package/lib-esm/types/Auth.js +8 -0
- package/lib-esm/types/Auth.js.map +1 -1
- package/package.json +5 -5
- package/src/Auth.ts +193 -24
- package/src/index.ts +40 -35
- package/src/types/Auth.ts +8 -0
package/lib/Auth.d.ts
CHANGED
|
@@ -166,6 +166,15 @@ export declare class AuthClass {
|
|
|
166
166
|
verified: {};
|
|
167
167
|
unverified: {};
|
|
168
168
|
}>;
|
|
169
|
+
private isErrorWithMessage;
|
|
170
|
+
private isTokenRevokedError;
|
|
171
|
+
private isRefreshTokenRevokedError;
|
|
172
|
+
private isUserDisabledError;
|
|
173
|
+
private isUserDoesNotExistError;
|
|
174
|
+
private isRefreshTokenExpiredError;
|
|
175
|
+
private isSignedInHostedUI;
|
|
176
|
+
private isSessionInvalid;
|
|
177
|
+
private cleanUpInvalidSession;
|
|
169
178
|
/**
|
|
170
179
|
* Get current authenticated user
|
|
171
180
|
* @return - A promise resolves to current authenticated CognitoUser if success
|