cidaas-javascript-sdk 4.3.2 → 5.0.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 +57 -5
- package/README.md +109 -94
- package/dist/authentication-service/AuthenticationService.d.ts +140 -0
- package/dist/authentication-service/AuthenticationService.js +210 -0
- package/dist/{authentication/Authentication.model.d.ts → authentication-service/AuthenticationService.model.d.ts} +18 -12
- package/dist/{authentication/Authentication.model.js → authentication-service/AuthenticationService.model.js} +2 -2
- package/dist/common/Common.model.d.ts +15 -19
- package/dist/common/Common.model.js +17 -17
- package/dist/common/ConfigUserProvider.d.ts +10 -0
- package/dist/common/ConfigUserProvider.js +28 -0
- package/dist/common/Helper.d.ts +7 -0
- package/dist/common/Helper.js +19 -0
- package/dist/common/User.model.d.ts +0 -4
- package/dist/consent-service/ConsentService.d.ts +99 -95
- package/dist/consent-service/ConsentService.js +125 -122
- package/dist/consent-service/ConsentService.model.d.ts +14 -16
- package/dist/device-service/DeviceService.d.ts +49 -0
- package/dist/device-service/DeviceService.js +79 -0
- package/dist/device-service/DeviceService.model.d.ts +6 -0
- package/dist/id-validation-service/IdValidationService.d.ts +28 -0
- package/dist/id-validation-service/IdValidationService.js +59 -0
- package/dist/id-validation-service/IdValidationService.model.d.ts +8 -0
- package/dist/id-validation-service/IdValidationService.model.js +2 -0
- package/dist/index.d.ts +22 -3
- package/dist/index.js +35 -18
- package/dist/login-service/LoginService.d.ts +143 -141
- package/dist/login-service/LoginService.js +225 -234
- package/dist/login-service/LoginService.model.d.ts +9 -53
- package/dist/login-service/LoginService.model.js +1 -1
- package/dist/public-service/PublicService.d.ts +57 -0
- package/dist/public-service/PublicService.js +73 -0
- package/dist/public-service/PublicService.model.d.ts +20 -0
- package/dist/public-service/PublicService.model.js +2 -0
- package/dist/token-service/TokenService.d.ts +104 -138
- package/dist/token-service/TokenService.js +164 -219
- package/dist/token-service/TokenService.model.d.ts +3 -44
- package/dist/token-service/TokenService.model.js +3 -16
- package/dist/user-service/UserService.d.ts +381 -315
- package/dist/user-service/UserService.js +552 -426
- package/dist/user-service/UserService.model.d.ts +48 -14
- package/dist/user-service/UserService.model.js +4 -4
- package/dist/verification-service/VerificationService.d.ts +281 -217
- package/dist/verification-service/VerificationService.js +343 -281
- package/dist/verification-service/VerificationService.model.d.ts +18 -5
- package/package.json +6 -4
- package/dist/authentication/Authentication.d.ts +0 -139
- package/dist/authentication/Authentication.js +0 -186
- package/dist/web-auth/WebAuth.d.ts +0 -665
- package/dist/web-auth/WebAuth.js +0 -955
- package/dist/web-auth/webauth.model.d.ts +0 -66
- /package/dist/{web-auth/webauth.model.js → device-service/DeviceService.model.js} +0 -0
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export interface LogoutUserRequest {
|
|
2
|
-
/** Access token needed to authorized api call */
|
|
3
|
-
access_token: string;
|
|
4
|
-
}
|
|
5
|
-
export interface GetClientInfoRequest {
|
|
6
|
-
/** Request id returned from the authorization call */
|
|
7
|
-
requestId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetRegistrationSetupRequest {
|
|
10
|
-
/** Request id returned from the authorization call */
|
|
11
|
-
requestId: string;
|
|
12
|
-
/** Response language, which is configured in cidaas admin ui */
|
|
13
|
-
acceptlanguage?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface GetUserActivitiesRequest {
|
|
16
|
-
/** sub of user to get its activities */
|
|
17
|
-
sub: string;
|
|
18
|
-
/** limits activities number to be shown */
|
|
19
|
-
size?: number;
|
|
20
|
-
/** shows activities starting from the 'from' number. Default is 0 */
|
|
21
|
-
from?: number;
|
|
22
|
-
/** if true, the activites will be sorted with the latest one at start */
|
|
23
|
-
descending?: boolean;
|
|
24
|
-
/** activities are shown based on the dateFilter */
|
|
25
|
-
dateFilter?: DateFilter;
|
|
26
|
-
}
|
|
27
|
-
export interface UpdateProfileImageRequest {
|
|
28
|
-
/** id for the image */
|
|
29
|
-
image_key: string;
|
|
30
|
-
/** name of the image */
|
|
31
|
-
filename: string;
|
|
32
|
-
/** image file */
|
|
33
|
-
photo: Blob;
|
|
34
|
-
}
|
|
35
|
-
export interface DeleteDeviceRequest {
|
|
36
|
-
/** id of device associated to the client */
|
|
37
|
-
device_id: string;
|
|
38
|
-
/** user-agent information from the browser */
|
|
39
|
-
userAgent?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface DateFilter {
|
|
42
|
-
/** earliest time to show activities */
|
|
43
|
-
from_date: string;
|
|
44
|
-
/** latest time to show activities */
|
|
45
|
-
to_date: string;
|
|
46
|
-
}
|
|
47
|
-
export interface UserActionOnEnrollmentRequest {
|
|
48
|
-
/** action to be executed */
|
|
49
|
-
action: string;
|
|
50
|
-
}
|
|
51
|
-
export interface GetRequestIdRequest {
|
|
52
|
-
/** Unique identifier of client app, can be found in app setting under admin ui */
|
|
53
|
-
client_id?: string;
|
|
54
|
-
/** Specify the url where the user needs to be redirected after successful login */
|
|
55
|
-
redirect_uri?: string;
|
|
56
|
-
/** Permissions that are requested for this requestId */
|
|
57
|
-
scope?: string;
|
|
58
|
-
/** Response type expected for the process e.g. token or code */
|
|
59
|
-
response_type?: string;
|
|
60
|
-
/** Response mode defines how the redirect_uri will receive the token or code e.g. as query or fragment */
|
|
61
|
-
response_mode?: string;
|
|
62
|
-
/** String value used to associate a client session with an id token, and to mitigate replay attacks */
|
|
63
|
-
nonce?: string;
|
|
64
|
-
/** Preferred locale of the user */
|
|
65
|
-
ui_locales?: string;
|
|
66
|
-
}
|
|
File without changes
|