@aws-amplify/core 6.0.1-console-preview.3b09ef9.0 → 6.0.1-console-preview.9e7dd78.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/lib/Hub/types/AuthTypes.d.ts +13 -7
- package/lib/Platform/index.d.ts +2 -2
- package/lib/Platform/index.js +2 -5
- package/lib/Platform/types.d.ts +4 -55
- package/lib/Platform/types.js +36 -48
- package/lib/Platform/version.d.ts +1 -1
- package/lib/Platform/version.js +1 -1
- package/lib/index.d.ts +1 -7
- package/lib/index.js +2 -17
- package/lib/libraryUtils.d.ts +1 -1
- package/lib/parseAWSExports.d.ts +5 -4
- package/lib/parseAWSExports.js +37 -43
- package/lib/singleton/Auth/index.js +1 -1
- package/lib/singleton/Auth/types.d.ts +2 -2
- package/lib/singleton/types.d.ts +2 -2
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/core.d.ts +0 -8
- package/lib-esm/Hub/types/AuthTypes.d.ts +13 -7
- package/lib-esm/Platform/index.d.ts +2 -2
- package/lib-esm/Platform/index.js +2 -5
- package/lib-esm/Platform/types.d.ts +4 -55
- package/lib-esm/Platform/types.js +36 -48
- package/lib-esm/Platform/version.d.ts +1 -1
- package/lib-esm/Platform/version.js +1 -1
- package/lib-esm/index.d.ts +1 -7
- package/lib-esm/index.js +1 -6
- package/lib-esm/libraryUtils.d.ts +1 -1
- package/lib-esm/parseAWSExports.d.ts +5 -4
- package/lib-esm/parseAWSExports.js +37 -43
- package/lib-esm/singleton/Auth/index.js +1 -1
- package/lib-esm/singleton/Auth/types.d.ts +2 -2
- package/lib-esm/singleton/types.d.ts +2 -2
- package/lib-esm/tsconfig.tsbuildinfo +1 -1
- package/lib-esm/types/core.d.ts +0 -8
- package/package.json +2 -26
- package/src/Cache/CHANGELOG.md +12 -0
- package/src/Hub/types/AuthTypes.ts +8 -6
- package/src/Platform/index.ts +3 -8
- package/src/Platform/types.ts +34 -56
- package/src/Platform/version.ts +1 -1
- package/src/index.ts +3 -9
- package/src/libraryUtils.ts +5 -1
- package/src/parseAWSExports.ts +69 -63
- package/src/singleton/Auth/index.ts +1 -1
- package/src/singleton/Auth/types.ts +2 -2
- package/src/singleton/types.ts +5 -4
- package/src/types/core.ts +0 -10
- package/lib/Credentials.d.ts +0 -47
- package/lib/Credentials.js +0 -676
- package/lib-esm/Credentials.d.ts +0 -47
- package/lib-esm/Credentials.js +0 -673
- package/src/Credentials.ts +0 -630
package/lib-esm/Credentials.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ICredentials } from './types';
|
|
2
|
-
export declare class CredentialsClass {
|
|
3
|
-
private _config;
|
|
4
|
-
private _credentials;
|
|
5
|
-
private _credentials_source;
|
|
6
|
-
private _gettingCredPromise;
|
|
7
|
-
private _refreshHandlers;
|
|
8
|
-
private _storage;
|
|
9
|
-
private _storageSync;
|
|
10
|
-
private _identityId;
|
|
11
|
-
private _nextCredentialsRefresh;
|
|
12
|
-
Auth: undefined;
|
|
13
|
-
constructor(config: any);
|
|
14
|
-
getModuleName(): string;
|
|
15
|
-
getCredSource(): any;
|
|
16
|
-
configure(config: any): any;
|
|
17
|
-
get(): any;
|
|
18
|
-
private _getCognitoIdentityIdStorageKey;
|
|
19
|
-
private _pickupCredentials;
|
|
20
|
-
private _keepAlive;
|
|
21
|
-
refreshFederatedToken(federatedInfo: any): Promise<ICredentials>;
|
|
22
|
-
private _providerRefreshWithRetry;
|
|
23
|
-
private _isExpired;
|
|
24
|
-
private _isPastTTL;
|
|
25
|
-
private _setCredentialsForGuest;
|
|
26
|
-
private _setCredentialsFromFederation;
|
|
27
|
-
private _setCredentialsFromSession;
|
|
28
|
-
private _loadCredentials;
|
|
29
|
-
set(params: any, source: any): Promise<ICredentials>;
|
|
30
|
-
clear(): Promise<void>;
|
|
31
|
-
private _getGuestIdentityId;
|
|
32
|
-
private _setGuestIdentityId;
|
|
33
|
-
private _removeGuestIdentityId;
|
|
34
|
-
/**
|
|
35
|
-
* Compact version of credentials
|
|
36
|
-
* @param {Object} credentials
|
|
37
|
-
* @return {Object} - Credentials
|
|
38
|
-
*/
|
|
39
|
-
shear(credentials: any): {
|
|
40
|
-
accessKeyId: any;
|
|
41
|
-
sessionToken: any;
|
|
42
|
-
secretAccessKey: any;
|
|
43
|
-
identityId: any;
|
|
44
|
-
authenticated: any;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export declare const Credentials: CredentialsClass;
|