cidaas-javascript-sdk 2.4.2 → 2.5.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/CHANGELOG.md +5 -3
- package/README.md +2 -3
- package/package.json +10 -12
- package/src/main/authentication/index.ts +223 -0
- package/src/main/global.d.ts +10 -0
- package/src/main/index.ts +6 -0
- package/src/main/web-auth/ConsentService.ts +98 -0
- package/src/main/web-auth/Entities.ts +645 -0
- package/src/main/web-auth/Helper.ts +75 -0
- package/src/main/web-auth/LoginService.ts +248 -0
- package/src/main/web-auth/TokenService.ts +196 -0
- package/src/main/web-auth/UserService.ts +388 -0
- package/src/main/web-auth/VerificationService.ts +267 -0
- package/src/main/web-auth/WebAuth.ts +1706 -0
- package/types/authentication/index.d.ts +55 -0
- package/types/authentication/index.js +262 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +9 -0
- package/types/web-auth/ConsentService.d.ts +59 -0
- package/types/web-auth/ConsentService.js +97 -0
- package/types/web-auth/Entities.d.ts +567 -0
- package/types/web-auth/Entities.js +88 -0
- package/types/web-auth/Helper.d.ts +24 -0
- package/types/web-auth/Helper.js +89 -0
- package/types/web-auth/LoginService.d.ts +102 -0
- package/types/web-auth/LoginService.js +248 -0
- package/types/web-auth/TokenService.d.ts +48 -0
- package/types/web-auth/TokenService.js +210 -0
- package/types/web-auth/UserService.d.ts +143 -0
- package/types/web-auth/UserService.js +408 -0
- package/types/web-auth/VerificationService.d.ts +125 -0
- package/types/web-auth/VerificationService.js +273 -0
- package/types/web-auth/WebAuth.d.ts +895 -0
- package/types/web-auth/WebAuth.js +1767 -0
- package/src/main/.gitkeep +0 -0
- package/src/main/authentication/index.js +0 -213
- package/src/main/index.js +0 -11
- package/src/main/web-auth/exception.js +0 -7
- package/src/main/web-auth/webauth.js +0 -1899
- package/src/test/sum.js +0 -4
- package/src/test/test.js +0 -5
- package/types/.DS_Store +0 -0
- package/types/main/authentication/index.d.ts +0 -15
- package/types/main/index.d.ts +0 -5
- package/types/main/web-auth/exception.d.ts +0 -7
- package/types/main/web-auth/webauth.d.ts +0 -141
- package/types/test/sum.d.ts +0 -2
- package/types/test/test.d.ts +0 -1
package/src/test/sum.js
DELETED
package/src/test/test.js
DELETED
package/types/.DS_Store
DELETED
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export = Authentication;
|
|
2
|
-
declare function Authentication(): void;
|
|
3
|
-
declare class Authentication {
|
|
4
|
-
redirectSignIn(view_type: any): void;
|
|
5
|
-
redirectSignInCallback(): Promise<any>;
|
|
6
|
-
redirectSignOut(): Promise<any>;
|
|
7
|
-
redirectSignOutCallback(): Promise<any>;
|
|
8
|
-
popupSignIn(): void;
|
|
9
|
-
popupSignInCallback(): void;
|
|
10
|
-
popupSignOut(): void;
|
|
11
|
-
popupSignOutCallback(): void;
|
|
12
|
-
silentSignIn(): void;
|
|
13
|
-
silentSignInCallback(): void;
|
|
14
|
-
silentSignInCallbackV2(): Promise<any>;
|
|
15
|
-
}
|
package/types/main/index.d.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
export = WebAuth;
|
|
2
|
-
declare function WebAuth(settings: any): void;
|
|
3
|
-
declare class WebAuth {
|
|
4
|
-
constructor(settings: any);
|
|
5
|
-
loginWithBrowser(): void;
|
|
6
|
-
registerWithBrowser(): void;
|
|
7
|
-
loginCallback(): Promise<any>;
|
|
8
|
-
getUserInfo(): Promise<any>;
|
|
9
|
-
getUserProfile(options: any): Promise<any>;
|
|
10
|
-
getProfileInfo(access_token: any): Promise<any>;
|
|
11
|
-
logout(): Promise<any>;
|
|
12
|
-
logoutCallback(): Promise<any>;
|
|
13
|
-
renewToken(options: any): Promise<any>;
|
|
14
|
-
generateCodeVerifier(): void;
|
|
15
|
-
generateRandomString(length: any): string;
|
|
16
|
-
generateCodeChallenge(code_verifier: any): any;
|
|
17
|
-
base64URL(string: any): any;
|
|
18
|
-
getLoginURL(options?: {}): string;
|
|
19
|
-
getAccessToken(options: any): Promise<any>;
|
|
20
|
-
validateAccessToken(options: any): Promise<any>;
|
|
21
|
-
getRequestId(): Promise<any>;
|
|
22
|
-
loginWithCredentials(options: any): void;
|
|
23
|
-
loginWithCredentialsAsynFn(options: any): Promise<Response>;
|
|
24
|
-
loginWithSocial(options: any, queryParams: any): void;
|
|
25
|
-
registerWithSocial(options: any, queryParams: any): void;
|
|
26
|
-
getMissingFields(options: any): Promise<any>;
|
|
27
|
-
getTenantInfo(): Promise<any>;
|
|
28
|
-
logoutUser(options: any): void;
|
|
29
|
-
getClientInfo(options: any): Promise<any>;
|
|
30
|
-
getDevicesInfo(options: any): Promise<any>;
|
|
31
|
-
deleteDevice(options: any): Promise<any>;
|
|
32
|
-
getRegistrationSetup(options: any): Promise<any>;
|
|
33
|
-
register(options: any, headers: any): Promise<any>;
|
|
34
|
-
getInviteUserDetails(options: any): Promise<any>;
|
|
35
|
-
getCommunicationStatus(options: any): Promise<any>;
|
|
36
|
-
initiateAccountVerification(options: any): void;
|
|
37
|
-
initiateAccountVerificationAsynFn(options: any): Promise<Response>;
|
|
38
|
-
verifyAccount(options: any): Promise<any>;
|
|
39
|
-
initiateResetPassword(options: any): Promise<any>;
|
|
40
|
-
handleResetPassword(options: any): void;
|
|
41
|
-
resetPassword(options: any): void;
|
|
42
|
-
getMFAList(options: any): Promise<any>;
|
|
43
|
-
getMFAListV2(options: any): Promise<any>;
|
|
44
|
-
initiateMFAV2(options: any): Promise<any>;
|
|
45
|
-
initiateEmail(options: any): Promise<any>;
|
|
46
|
-
initiateEmailV2(options: any): Promise<any>;
|
|
47
|
-
initiateSMS(options: any): Promise<any>;
|
|
48
|
-
initiateSMSV2(options: any): Promise<any>;
|
|
49
|
-
initiateIVR(options: any): Promise<any>;
|
|
50
|
-
initiateIVRV2(options: any): Promise<any>;
|
|
51
|
-
initiateBackupcode(options: any): Promise<any>;
|
|
52
|
-
initiateBackupcodeV2(options: any): Promise<any>;
|
|
53
|
-
initiateTOTP(options: any): Promise<any>;
|
|
54
|
-
initiateTOTPV2(options: any): Promise<any>;
|
|
55
|
-
initiatePattern(options: any): Promise<any>;
|
|
56
|
-
initiatePatternV2(options: any): Promise<any>;
|
|
57
|
-
initiateTouchId(options: any): Promise<any>;
|
|
58
|
-
initiateTouchIdV2(options: any): Promise<any>;
|
|
59
|
-
initiateSmartPush(options: any): Promise<any>;
|
|
60
|
-
initiateSmartPushV2(options: any): Promise<any>;
|
|
61
|
-
initiateFace(options: any): Promise<any>;
|
|
62
|
-
initiateFaceV2(options: any): Promise<any>;
|
|
63
|
-
initiateVoice(options: any): Promise<any>;
|
|
64
|
-
initiateVoiceV2(options: any): Promise<any>;
|
|
65
|
-
authenticateMFAV2(options: any): Promise<any>;
|
|
66
|
-
cancelMFAV2(options: any): Promise<any>;
|
|
67
|
-
authenticateEmail(options: any): Promise<any>;
|
|
68
|
-
authenticateEmailV2(options: any): Promise<any>;
|
|
69
|
-
authenticateSMS(options: any): Promise<any>;
|
|
70
|
-
authenticateSMSV2(options: any): Promise<any>;
|
|
71
|
-
authenticateIVR(options: any): Promise<any>;
|
|
72
|
-
authenticateIVRV2(options: any): Promise<any>;
|
|
73
|
-
authenticateBackupcode(options: any): Promise<any>;
|
|
74
|
-
authenticateBackupcodeV2(options: any): Promise<any>;
|
|
75
|
-
authenticateTOTP(options: any): Promise<any>;
|
|
76
|
-
authenticateTOTPV2(options: any): Promise<any>;
|
|
77
|
-
passwordlessLogin(options: any): void;
|
|
78
|
-
getConsentDetails(options: any): Promise<any>;
|
|
79
|
-
getConsentDetailsV2(options: any): Promise<any>;
|
|
80
|
-
acceptConsent(options: any): Promise<any>;
|
|
81
|
-
acceptConsentV2(options: any): Promise<any>;
|
|
82
|
-
getScopeConsentDetails(options: any): Promise<any>;
|
|
83
|
-
getScopeConsentVersionDetailsV2(options: any): Promise<any>;
|
|
84
|
-
acceptScopeConsent(options: any): Promise<any>;
|
|
85
|
-
scopeConsentContinue(options: any): void;
|
|
86
|
-
acceptClaimConsent(options: any): Promise<any>;
|
|
87
|
-
claimConsentContinue(options: any): void;
|
|
88
|
-
revokeClaimConsent(options: any): Promise<any>;
|
|
89
|
-
getDeduplicationDetails(options: any): Promise<any>;
|
|
90
|
-
deduplicationLogin(options: any): void;
|
|
91
|
-
registerDeduplication(options: any): Promise<any>;
|
|
92
|
-
consentContinue(options: any): void;
|
|
93
|
-
mfaContinue(options: any): void;
|
|
94
|
-
firstTimeChangePassword(options: any): void;
|
|
95
|
-
changePassword(options: any, access_token: any): Promise<any>;
|
|
96
|
-
updateProfile(options: any, access_token: any, sub: any): Promise<any>;
|
|
97
|
-
getUserActivities(options: any, access_token: any): Promise<any>;
|
|
98
|
-
getUnreviewedDevices(access_token: any, sub: any): Promise<any>;
|
|
99
|
-
getReviewedDevices(access_token: any, sub: any): Promise<any>;
|
|
100
|
-
reviewDevice(options: any, access_token: any, sub: any): Promise<any>;
|
|
101
|
-
getAcceptedConsentList(options: any, access_token: any): Promise<any>;
|
|
102
|
-
viewAcceptedConsent(options: any, access_token: any): Promise<any>;
|
|
103
|
-
getConfiguredVerificationList(options: any, access_token: any): Promise<any>;
|
|
104
|
-
initiateLinkAccount(options: any, access_token: any): Promise<any>;
|
|
105
|
-
completeLinkAccount(options: any, access_token: any): Promise<any>;
|
|
106
|
-
getLinkedUsers(access_token: any, sub: any): Promise<any>;
|
|
107
|
-
unlinkAccount(access_token: any, identityId: any): Promise<any>;
|
|
108
|
-
getAllVerificationList(access_token: any): Promise<any>;
|
|
109
|
-
updateProfileImage(options: any, access_token: any): Promise<any>;
|
|
110
|
-
setupEmail(options: any): Promise<any>;
|
|
111
|
-
setupSMS(options: any): Promise<any>;
|
|
112
|
-
setupIVR(options: any): Promise<any>;
|
|
113
|
-
setupBackupcode(options: any, access_token: any): Promise<any>;
|
|
114
|
-
setupTOTP(options: any, access_token: any): Promise<any>;
|
|
115
|
-
setupPattern(options: any, access_token: any): Promise<any>;
|
|
116
|
-
setupTouchId(options: any, access_token: any): Promise<any>;
|
|
117
|
-
setupSmartPush(options: any, access_token: any): Promise<any>;
|
|
118
|
-
setupFace(options: any, access_token: any): Promise<any>;
|
|
119
|
-
setupVoice(options: any, access_token: any): Promise<any>;
|
|
120
|
-
enrollEmail(options: any, access_token: any): Promise<any>;
|
|
121
|
-
enrollSMS(options: any, access_token: any): Promise<any>;
|
|
122
|
-
enrollIVR(options: any, access_token: any): Promise<any>;
|
|
123
|
-
enrollTOTP(options: any, access_token: any): Promise<any>;
|
|
124
|
-
updateSuggestMFA(track_id: any, options: any): Promise<any>;
|
|
125
|
-
enrollVerification(options: any): Promise<any>;
|
|
126
|
-
updateSocket(status_id: any): Promise<any>;
|
|
127
|
-
setupFidoVerification(options: any): Promise<any>;
|
|
128
|
-
checkVerificationTypeConfigured(options: any): Promise<any>;
|
|
129
|
-
authenticateVerification(options: any): Promise<any>;
|
|
130
|
-
authenticateFaceVerification(options: any): Promise<any>;
|
|
131
|
-
initiateVerification(options: any): Promise<any>;
|
|
132
|
-
deleteUserAccount(options: any): Promise<any>;
|
|
133
|
-
getMissingFieldsLogin(trackId: any): Promise<any>;
|
|
134
|
-
progressiveRegistration(options: any, headers: any): Promise<any>;
|
|
135
|
-
loginAfterRegister(options: any): void;
|
|
136
|
-
deviceCodeVerify(code: any): void;
|
|
137
|
-
userCheckExists(options: any): Promise<any>;
|
|
138
|
-
setAcceptLanguageHeader(acceptLanguage: any): void;
|
|
139
|
-
getDeviceInfo(): Promise<any>;
|
|
140
|
-
userAccountLink(options: any, access_token: any): Promise<any>;
|
|
141
|
-
}
|
package/types/test/sum.d.ts
DELETED
package/types/test/test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|