@wix/auto_sdk_identity_authentication 1.0.3 → 1.0.6
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/build/{internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts} +203 -251
- package/build/{cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts} +203 -251
- package/build/index.d.mts +71 -0
- package/build/index.d.ts +71 -0
- package/build/index.js +859 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +816 -0
- package/build/index.mjs.map +1 -0
- package/build/{es/src/iam-authentication-v1-authentication-authentication.universal.d.ts → internal/iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.mts} +203 -251
- package/build/internal/{es/src/iam-authentication-v1-authentication-authentication.universal.d.ts → iam-authentication-v1-authentication-authentication.universal-ByfoI5Md.d.ts} +203 -251
- package/build/internal/index.d.mts +71 -0
- package/build/internal/index.d.ts +71 -0
- package/build/internal/index.js +859 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +816 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/iam-authentication-v1-authentication-authentication.types.d.ts → internal/meta.d.mts} +107 -281
- package/build/internal/{cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts → meta.d.ts} +107 -281
- package/build/internal/meta.js +518 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +485 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts → meta.d.mts} +107 -281
- package/build/{internal/es/src/iam-authentication-v1-authentication-authentication.types.d.ts → meta.d.ts} +107 -281
- package/build/meta.js +518 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +485 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -26
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -334
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -61
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -115
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -450
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -324
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -112
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -417
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +0 -26
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +0 -334
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js +0 -161
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +0 -61
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +0 -115
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +0 -450
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +0 -11
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +0 -11
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.d.ts +0 -27
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +0 -324
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +0 -21
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js +0 -128
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +0 -63
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +0 -39
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +0 -112
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +0 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +0 -417
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +0 -1
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';
|
|
2
|
-
import { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';
|
|
3
|
-
import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';
|
|
4
|
-
import { transformRESTBytesToSDKBytes } from '@wix/sdk-runtime/transformations/bytes';
|
|
5
|
-
import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
6
|
-
import { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
7
|
-
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
8
|
-
import { resolveUrl } from '@wix/sdk-runtime/rest-modules';
|
|
9
|
-
function resolveWixIamAuthenticationV1AuthenticationServiceUrl(opts) {
|
|
10
|
-
const domainToMappings = {
|
|
11
|
-
_: [
|
|
12
|
-
{
|
|
13
|
-
srcPath: '/_api/iam/authentication',
|
|
14
|
-
destPath: '',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
'users._base_domain_': [
|
|
18
|
-
{
|
|
19
|
-
srcPath: '/iam/wix/google',
|
|
20
|
-
destPath: '/v1/sso/callback/root/0e6a50f5-b523-4e29-990d-f37fa2ffdd69',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
srcPath: '/authentication',
|
|
24
|
-
destPath: '',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
'www.wixapis.com': [
|
|
28
|
-
{
|
|
29
|
-
srcPath: '/_api/iam/authentication',
|
|
30
|
-
destPath: '',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
srcPath: '/iam/authentication',
|
|
34
|
-
destPath: '',
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
'bo._base_domain_': [
|
|
38
|
-
{
|
|
39
|
-
srcPath: '/_api/iam/authentication',
|
|
40
|
-
destPath: '',
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
'wixbo.ai': [
|
|
44
|
-
{
|
|
45
|
-
srcPath: '/_api/iam/authentication',
|
|
46
|
-
destPath: '',
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
'wix-bo.com': [
|
|
50
|
-
{
|
|
51
|
-
srcPath: '/_api/iam/authentication',
|
|
52
|
-
destPath: '',
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
'dev._base_domain_': [
|
|
56
|
-
{
|
|
57
|
-
srcPath: '/_api/iam/authentication',
|
|
58
|
-
destPath: '',
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
'manage._base_domain_': [
|
|
62
|
-
{
|
|
63
|
-
srcPath: '/_api/authentication',
|
|
64
|
-
destPath: '',
|
|
65
|
-
},
|
|
66
|
-
],
|
|
67
|
-
'www._base_domain_': [
|
|
68
|
-
{
|
|
69
|
-
srcPath: '/_api/iam/authentication',
|
|
70
|
-
destPath: '',
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
};
|
|
74
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
75
|
-
}
|
|
76
|
-
const PACKAGE_NAME = '@wix/auto_sdk_identity_authentication';
|
|
77
|
-
/**
|
|
78
|
-
* Registers a new member.
|
|
79
|
-
*
|
|
80
|
-
* Typically, after a successful registration, you generate and use member tokens for the
|
|
81
|
-
* registered member so that subsequent API calls are called as part of a member session.
|
|
82
|
-
* Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
|
|
83
|
-
*
|
|
84
|
-
* If the email used to register the member already exists as a contact email, the registering
|
|
85
|
-
* member need to verify the email address using a code that is sent to the address.
|
|
86
|
-
*/
|
|
87
|
-
export function registerV2(payload) {
|
|
88
|
-
function __registerV2({ host }) {
|
|
89
|
-
const serializedData = transformPaths(payload, [
|
|
90
|
-
{
|
|
91
|
-
transformFn: transformSDKFloatToRESTFloat,
|
|
92
|
-
paths: [{ path: 'profile.customFields.value.numValue' }],
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
96
|
-
paths: [{ path: 'profile.customFields.value.dateValue' }],
|
|
97
|
-
},
|
|
98
|
-
]);
|
|
99
|
-
const metadata = {
|
|
100
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
101
|
-
method: 'POST',
|
|
102
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.RegisterV2',
|
|
103
|
-
packageName: PACKAGE_NAME,
|
|
104
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
105
|
-
protoPath: '/v2/register',
|
|
106
|
-
data: serializedData,
|
|
107
|
-
host,
|
|
108
|
-
}),
|
|
109
|
-
data: serializedData,
|
|
110
|
-
transformResponse: (payload) => transformPaths(payload, [
|
|
111
|
-
{
|
|
112
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
113
|
-
paths: [
|
|
114
|
-
{ path: 'identity.createdDate' },
|
|
115
|
-
{ path: 'identity.updatedDate' },
|
|
116
|
-
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
117
|
-
{ path: 'additionalData.*.dateValue' },
|
|
118
|
-
],
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
122
|
-
paths: [
|
|
123
|
-
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
124
|
-
{ path: 'additionalData.*.numValue' },
|
|
125
|
-
],
|
|
126
|
-
},
|
|
127
|
-
]),
|
|
128
|
-
};
|
|
129
|
-
return metadata;
|
|
130
|
-
}
|
|
131
|
-
return __registerV2;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Logs in an existing member.
|
|
135
|
-
*
|
|
136
|
-
* Typically, after a successful login, you generate and use member tokens for the
|
|
137
|
-
* logged-in member so that subsequent API calls are called as part of a member session.
|
|
138
|
-
* Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
|
|
139
|
-
*/
|
|
140
|
-
export function loginV2(payload) {
|
|
141
|
-
function __loginV2({ host }) {
|
|
142
|
-
const metadata = {
|
|
143
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
144
|
-
method: 'POST',
|
|
145
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.LoginV2',
|
|
146
|
-
packageName: PACKAGE_NAME,
|
|
147
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
148
|
-
protoPath: '/v2/login',
|
|
149
|
-
data: payload,
|
|
150
|
-
host,
|
|
151
|
-
}),
|
|
152
|
-
data: payload,
|
|
153
|
-
transformResponse: (payload) => transformPaths(payload, [
|
|
154
|
-
{
|
|
155
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
156
|
-
paths: [
|
|
157
|
-
{ path: 'identity.createdDate' },
|
|
158
|
-
{ path: 'identity.updatedDate' },
|
|
159
|
-
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
160
|
-
{ path: 'additionalData.*.dateValue' },
|
|
161
|
-
],
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
165
|
-
paths: [
|
|
166
|
-
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
167
|
-
{ path: 'additionalData.*.numValue' },
|
|
168
|
-
],
|
|
169
|
-
},
|
|
170
|
-
]),
|
|
171
|
-
};
|
|
172
|
-
return metadata;
|
|
173
|
-
}
|
|
174
|
-
return __loginV2;
|
|
175
|
-
}
|
|
176
|
-
/** Changes the password of a logged in user. */
|
|
177
|
-
export function changePassword(payload) {
|
|
178
|
-
function __changePassword({ host }) {
|
|
179
|
-
const metadata = {
|
|
180
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
181
|
-
method: 'POST',
|
|
182
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.ChangePassword',
|
|
183
|
-
packageName: PACKAGE_NAME,
|
|
184
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
185
|
-
protoPath: '/v2/change-password',
|
|
186
|
-
data: payload,
|
|
187
|
-
host,
|
|
188
|
-
}),
|
|
189
|
-
data: payload,
|
|
190
|
-
};
|
|
191
|
-
return metadata;
|
|
192
|
-
}
|
|
193
|
-
return __changePassword;
|
|
194
|
-
}
|
|
195
|
-
export function loginCallback(payload) {
|
|
196
|
-
function __loginCallback({ host }) {
|
|
197
|
-
const metadata = {
|
|
198
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
199
|
-
method: 'GET',
|
|
200
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.LoginCallback',
|
|
201
|
-
packageName: PACKAGE_NAME,
|
|
202
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
203
|
-
protoPath: '/v1/callback',
|
|
204
|
-
data: payload,
|
|
205
|
-
host,
|
|
206
|
-
}),
|
|
207
|
-
params: toURLSearchParams(payload),
|
|
208
|
-
transformResponse: (payload) => transformPaths(payload, [
|
|
209
|
-
{
|
|
210
|
-
transformFn: transformRESTBytesToSDKBytes,
|
|
211
|
-
paths: [{ path: 'body' }],
|
|
212
|
-
},
|
|
213
|
-
]),
|
|
214
|
-
};
|
|
215
|
-
return metadata;
|
|
216
|
-
}
|
|
217
|
-
return __loginCallback;
|
|
218
|
-
}
|
|
219
|
-
export function signOn(payload) {
|
|
220
|
-
function __signOn({ host }) {
|
|
221
|
-
const serializedData = transformPaths(payload, [
|
|
222
|
-
{
|
|
223
|
-
transformFn: transformSDKFloatToRESTFloat,
|
|
224
|
-
paths: [{ path: 'profile.customFields.value.numValue' }],
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
228
|
-
paths: [{ path: 'profile.customFields.value.dateValue' }],
|
|
229
|
-
},
|
|
230
|
-
]);
|
|
231
|
-
const metadata = {
|
|
232
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
233
|
-
method: 'POST',
|
|
234
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.SignOn',
|
|
235
|
-
packageName: PACKAGE_NAME,
|
|
236
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
237
|
-
protoPath: '/v2/sign-on',
|
|
238
|
-
data: serializedData,
|
|
239
|
-
host,
|
|
240
|
-
}),
|
|
241
|
-
data: serializedData,
|
|
242
|
-
transformResponse: (payload) => transformPaths(payload, [
|
|
243
|
-
{
|
|
244
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
245
|
-
paths: [
|
|
246
|
-
{ path: 'identity.createdDate' },
|
|
247
|
-
{ path: 'identity.updatedDate' },
|
|
248
|
-
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
249
|
-
],
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
253
|
-
paths: [
|
|
254
|
-
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
255
|
-
],
|
|
256
|
-
},
|
|
257
|
-
]),
|
|
258
|
-
};
|
|
259
|
-
return metadata;
|
|
260
|
-
}
|
|
261
|
-
return __signOn;
|
|
262
|
-
}
|
|
263
|
-
/** Logs out a member. */
|
|
264
|
-
export function logout(payload) {
|
|
265
|
-
function __logout({ host }) {
|
|
266
|
-
const metadata = {
|
|
267
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
268
|
-
method: 'GET',
|
|
269
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.Logout',
|
|
270
|
-
packageName: PACKAGE_NAME,
|
|
271
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
272
|
-
protoPath: '/v1/logout',
|
|
273
|
-
data: payload,
|
|
274
|
-
host,
|
|
275
|
-
}),
|
|
276
|
-
params: toURLSearchParams(payload),
|
|
277
|
-
transformResponse: (payload) => transformPaths(payload, [
|
|
278
|
-
{
|
|
279
|
-
transformFn: transformRESTBytesToSDKBytes,
|
|
280
|
-
paths: [{ path: 'body' }],
|
|
281
|
-
},
|
|
282
|
-
]),
|
|
283
|
-
};
|
|
284
|
-
return metadata;
|
|
285
|
-
}
|
|
286
|
-
return __logout;
|
|
287
|
-
}
|
|
288
|
-
export function verify(payload) {
|
|
289
|
-
function __verify({ host }) {
|
|
290
|
-
const metadata = {
|
|
291
|
-
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
292
|
-
method: 'POST',
|
|
293
|
-
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.Verify',
|
|
294
|
-
packageName: PACKAGE_NAME,
|
|
295
|
-
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
296
|
-
protoPath: '/v2/{factorType}/verify',
|
|
297
|
-
data: payload,
|
|
298
|
-
host,
|
|
299
|
-
}),
|
|
300
|
-
data: payload,
|
|
301
|
-
transformResponse: (payload) => transformPaths(payload, [
|
|
302
|
-
{
|
|
303
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
304
|
-
paths: [
|
|
305
|
-
{ path: 'identity.createdDate' },
|
|
306
|
-
{ path: 'identity.updatedDate' },
|
|
307
|
-
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
308
|
-
{ path: 'additionalData.*.dateValue' },
|
|
309
|
-
],
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
313
|
-
paths: [
|
|
314
|
-
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
315
|
-
{ path: 'additionalData.*.numValue' },
|
|
316
|
-
],
|
|
317
|
-
},
|
|
318
|
-
]),
|
|
319
|
-
};
|
|
320
|
-
return metadata;
|
|
321
|
-
}
|
|
322
|
-
return __verify;
|
|
323
|
-
}
|
|
324
|
-
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.http.js.map
|
package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.http.js","sourceRoot":"","sources":["../../../../src/iam-authentication-v1-authentication-authentication.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,qDAAqD,CAC5D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,E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oCAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,sBAAsB,EAAE;wBAChC,EAAE,IAAI,EAAE,sBAAsB,EAAE;wBAChC,EAAE,IAAI,EAAE,uDAAuD,EAAE;wBACjE,EAAE,IAAI,EAAE,4BAA4B,EAAE;qBACvC;iBACF;gBACD;oBACE,WAAW,EAAE,4BAA4B;oBACzC,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,sDAAsD,EAAE;wBAChE,EAAE,IAAI,EAAE,2BAA2B,EAAE;qBACtC;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as ambassadorWixIamAuthenticationV1AuthenticationTypes from './iam-authentication-v1-authentication-authentication.types.js';
|
|
2
|
-
import * as ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
3
|
-
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
-
getUrl: (context: any) => string;
|
|
5
|
-
httpMethod: K;
|
|
6
|
-
path: string;
|
|
7
|
-
pathParams: M;
|
|
8
|
-
__requestType: T;
|
|
9
|
-
__originalRequestType: S;
|
|
10
|
-
__responseType: Q;
|
|
11
|
-
__originalResponseType: R;
|
|
12
|
-
};
|
|
13
|
-
export declare function registerV2(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RegisterV2Request, ambassadorWixIamAuthenticationV1AuthenticationTypes.RegisterV2Request, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse & ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponseNonNullableFields, ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse & ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponseNonNullableFields>;
|
|
14
|
-
export declare function loginV2(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginV2Request, ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginV2Request, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse & ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponseNonNullableFields, ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse & ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponseNonNullableFields>;
|
|
15
|
-
export declare function changePassword(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.ChangePasswordRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.ChangePasswordRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.ChangePasswordResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.ChangePasswordResponse>;
|
|
16
|
-
export declare function loginCallback(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginCallbackRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginCallbackRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse & ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponseNonNullableFields, ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponse & ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponseNonNullableFields>;
|
|
17
|
-
export declare function signOn(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnResponse & ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnResponseNonNullableFields, ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnResponse & ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnResponseNonNullableFields>;
|
|
18
|
-
export declare function logout(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LogoutRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.LogoutRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse & ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponseNonNullableFields, ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponse & ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponseNonNullableFields>;
|
|
19
|
-
export declare function verify(): __PublicMethodMetaInfo<'POST', {
|
|
20
|
-
factorType: string;
|
|
21
|
-
}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.VerifyRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.VerifyRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse & ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponseNonNullableFields, ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse & ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponseNonNullableFields>;
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import * as ambassadorWixIamAuthenticationV1Authentication from './iam-authentication-v1-authentication-authentication.http.js';
|
|
2
|
-
export function registerV2() {
|
|
3
|
-
const payload = {};
|
|
4
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.registerV2(payload);
|
|
5
|
-
const getUrl = (context) => {
|
|
6
|
-
const { url } = getRequestOptions(context);
|
|
7
|
-
return url;
|
|
8
|
-
};
|
|
9
|
-
return {
|
|
10
|
-
getUrl,
|
|
11
|
-
httpMethod: 'POST',
|
|
12
|
-
path: '/v2/register',
|
|
13
|
-
pathParams: {},
|
|
14
|
-
__requestType: null,
|
|
15
|
-
__originalRequestType: null,
|
|
16
|
-
__responseType: null,
|
|
17
|
-
__originalResponseType: null,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export function loginV2() {
|
|
21
|
-
const payload = {};
|
|
22
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.loginV2(payload);
|
|
23
|
-
const getUrl = (context) => {
|
|
24
|
-
const { url } = getRequestOptions(context);
|
|
25
|
-
return url;
|
|
26
|
-
};
|
|
27
|
-
return {
|
|
28
|
-
getUrl,
|
|
29
|
-
httpMethod: 'POST',
|
|
30
|
-
path: '/v2/login',
|
|
31
|
-
pathParams: {},
|
|
32
|
-
__requestType: null,
|
|
33
|
-
__originalRequestType: null,
|
|
34
|
-
__responseType: null,
|
|
35
|
-
__originalResponseType: null,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export function changePassword() {
|
|
39
|
-
const payload = {};
|
|
40
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.changePassword(payload);
|
|
41
|
-
const getUrl = (context) => {
|
|
42
|
-
const { url } = getRequestOptions(context);
|
|
43
|
-
return url;
|
|
44
|
-
};
|
|
45
|
-
return {
|
|
46
|
-
getUrl,
|
|
47
|
-
httpMethod: 'POST',
|
|
48
|
-
path: '/v2/change-password',
|
|
49
|
-
pathParams: {},
|
|
50
|
-
__requestType: null,
|
|
51
|
-
__originalRequestType: null,
|
|
52
|
-
__responseType: null,
|
|
53
|
-
__originalResponseType: null,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export function loginCallback() {
|
|
57
|
-
const payload = {};
|
|
58
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.loginCallback(payload);
|
|
59
|
-
const getUrl = (context) => {
|
|
60
|
-
const { url } = getRequestOptions(context);
|
|
61
|
-
return url;
|
|
62
|
-
};
|
|
63
|
-
return {
|
|
64
|
-
getUrl,
|
|
65
|
-
httpMethod: 'GET',
|
|
66
|
-
path: '/v1/callback',
|
|
67
|
-
pathParams: {},
|
|
68
|
-
__requestType: null,
|
|
69
|
-
__originalRequestType: null,
|
|
70
|
-
__responseType: null,
|
|
71
|
-
__originalResponseType: null,
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
export function signOn() {
|
|
75
|
-
const payload = {};
|
|
76
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.signOn(payload);
|
|
77
|
-
const getUrl = (context) => {
|
|
78
|
-
const { url } = getRequestOptions(context);
|
|
79
|
-
return url;
|
|
80
|
-
};
|
|
81
|
-
return {
|
|
82
|
-
getUrl,
|
|
83
|
-
httpMethod: 'POST',
|
|
84
|
-
path: '/v2/sign-on',
|
|
85
|
-
pathParams: {},
|
|
86
|
-
__requestType: null,
|
|
87
|
-
__originalRequestType: null,
|
|
88
|
-
__responseType: null,
|
|
89
|
-
__originalResponseType: null,
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
export function logout() {
|
|
93
|
-
const payload = {};
|
|
94
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.logout(payload);
|
|
95
|
-
const getUrl = (context) => {
|
|
96
|
-
const { url } = getRequestOptions(context);
|
|
97
|
-
return url;
|
|
98
|
-
};
|
|
99
|
-
return {
|
|
100
|
-
getUrl,
|
|
101
|
-
httpMethod: 'GET',
|
|
102
|
-
path: '/v1/logout',
|
|
103
|
-
pathParams: {},
|
|
104
|
-
__requestType: null,
|
|
105
|
-
__originalRequestType: null,
|
|
106
|
-
__responseType: null,
|
|
107
|
-
__originalResponseType: null,
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
export function verify() {
|
|
111
|
-
const payload = { factorType: ':factorType' };
|
|
112
|
-
const getRequestOptions = ambassadorWixIamAuthenticationV1Authentication.verify(payload);
|
|
113
|
-
const getUrl = (context) => {
|
|
114
|
-
const { url } = getRequestOptions(context);
|
|
115
|
-
return url;
|
|
116
|
-
};
|
|
117
|
-
return {
|
|
118
|
-
getUrl,
|
|
119
|
-
httpMethod: 'POST',
|
|
120
|
-
path: '/v2/{factorType}/verify',
|
|
121
|
-
pathParams: { factorType: 'factorType' },
|
|
122
|
-
__requestType: null,
|
|
123
|
-
__originalRequestType: null,
|
|
124
|
-
__responseType: null,
|
|
125
|
-
__originalResponseType: null,
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.meta.js.map
|
package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.meta.js","sourceRoot":"","sources":["../../../../src/iam-authentication-v1-authentication-authentication.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,8CAA8C,MAAM,+DAA+D,CAAC;AAsBhI,MAAM,UAAU,UAAU;IAUxB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,OAAO;IAUrB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAElE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;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,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE;QACxC,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
|
package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { FactorType, LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse, RawHttpResponseNonNullableFields, RegisterV2Options, SignOnOptions, SignOnResponse, SignOnResponseNonNullableFields, StateMachineResponse, StateMachineResponseNonNullableFields, VerifyOptions } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
3
|
-
export declare const __metadata: {
|
|
4
|
-
PACKAGE_NAME: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function registerV2(httpClient: HttpClient): RegisterV2Signature;
|
|
7
|
-
interface RegisterV2Signature {
|
|
8
|
-
/**
|
|
9
|
-
* Registers a new member.
|
|
10
|
-
*
|
|
11
|
-
* Typically, after a successful registration, you generate and use member tokens for the
|
|
12
|
-
* registered member so that subsequent API calls are called as part of a member session.
|
|
13
|
-
* Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
|
|
14
|
-
*
|
|
15
|
-
* If the email used to register the member already exists as a contact email, the registering
|
|
16
|
-
* member need to verify the email address using a code that is sent to the address.
|
|
17
|
-
* @param - Identifier of the registering member.
|
|
18
|
-
*/
|
|
19
|
-
(loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse & StateMachineResponseNonNullableFields>;
|
|
20
|
-
}
|
|
21
|
-
export declare function loginV2(httpClient: HttpClient): LoginV2Signature;
|
|
22
|
-
interface LoginV2Signature {
|
|
23
|
-
/**
|
|
24
|
-
* Logs in an existing member.
|
|
25
|
-
*
|
|
26
|
-
* Typically, after a successful login, you generate and use member tokens for the
|
|
27
|
-
* logged-in member so that subsequent API calls are called as part of a member session.
|
|
28
|
-
* Use the `sessionToken` in the response to [get the site member's access and refresh tokens](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/handle-members-with-custom-login#get-the-site-members-access-and-refresh-tokens).
|
|
29
|
-
* @param - Identifier of identity logging in.
|
|
30
|
-
*/
|
|
31
|
-
(loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse & StateMachineResponseNonNullableFields>;
|
|
32
|
-
}
|
|
33
|
-
export declare function changePassword(httpClient: HttpClient): ChangePasswordSignature;
|
|
34
|
-
interface ChangePasswordSignature {
|
|
35
|
-
/**
|
|
36
|
-
* Changes the password of a logged in user.
|
|
37
|
-
* @param - The new password to set for the logged in user
|
|
38
|
-
*/
|
|
39
|
-
(newPassword: string): Promise<void>;
|
|
40
|
-
}
|
|
41
|
-
export declare function loginCallback(httpClient: HttpClient): LoginCallbackSignature;
|
|
42
|
-
interface LoginCallbackSignature {
|
|
43
|
-
/** */
|
|
44
|
-
(options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
|
|
45
|
-
}
|
|
46
|
-
export declare function signOn(httpClient: HttpClient): SignOnSignature;
|
|
47
|
-
interface SignOnSignature {
|
|
48
|
-
/** @param - the identifier of the identity */
|
|
49
|
-
(loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse & SignOnResponseNonNullableFields>;
|
|
50
|
-
}
|
|
51
|
-
export declare function logout(httpClient: HttpClient): LogoutSignature;
|
|
52
|
-
interface LogoutSignature {
|
|
53
|
-
/**
|
|
54
|
-
* Logs out a member.
|
|
55
|
-
*/
|
|
56
|
-
(options?: LogoutOptions | undefined): Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
|
|
57
|
-
}
|
|
58
|
-
export declare function verify(httpClient: HttpClient): VerifySignature;
|
|
59
|
-
interface VerifySignature {
|
|
60
|
-
/** */
|
|
61
|
-
(factorType: FactorType, options?: VerifyOptions | undefined): Promise<StateMachineResponse & StateMachineResponseNonNullableFields>;
|
|
62
|
-
}
|
|
63
|
-
export { Address, AddressTag, AddressWrapper, Authentication, AuthenticatorConnection, CallVerifyData, CaptchaToken, CaptchaTokenTokenOneOf, ChangePasswordRequest, ChangePasswordResponse, Connection, ConnectionTypeOneOf, CustomField, CustomValue, CustomValueValueOneOf, Email, EmailTag, ExternalEmailVerifyData, Factor, FactorStatus, FactorType, HeadersEntry, Identity, IdentityProfile, IdpConnection, ListValue, LoginCallbackOptions, LoginCallbackRequest, LoginId, LoginIdTypeOneOf, LoginV2Options, LoginV2Request, LoginWithIdpConnectionRequest, LoginWithIdpConnectionTokenParamsRequest, LogoutOptions, LogoutRequest, MapValue, Metadata, MfaChallengeData, MfaReason, PathParametersEntry, Phone, PhoneTag, PrivacyStatus, PushChallengeData, PushVerifyData, QueryParametersEntry, RawHttpRequest, RawHttpResponse, RawHttpResponseNonNullableFields, Reason, RegisterV2Options, RegisterV2Request, RequireMfaData, SecondaryEmail, SignOnOptions, SignOnRequest, SignOnResponse, SignOnResponseNonNullableFields, SmsVerifyData, StateMachineResponse, StateMachineResponseNonNullableFields, StateMachineResponseStateDataOneOf, StateType, Status, StatusName, StatusV2, TenantType, TotpVerifyData, V1CustomValue, V1CustomValueValueOneOf, V1Factor, V1ListValue, V1MapValue, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, VerifyOptions, VerifyOptionsFactorDataOneOf, VerifyRequest, VerifyRequestFactorDataOneOf, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { changePassword as universalChangePassword, loginCallback as universalLoginCallback, loginV2 as universalLoginV2, logout as universalLogout, registerV2 as universalRegisterV2, signOn as universalSignOn, verify as universalVerify, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
2
|
-
export const __metadata = { PACKAGE_NAME: '@wix/identity' };
|
|
3
|
-
export function registerV2(httpClient) {
|
|
4
|
-
return (loginId, options) => universalRegisterV2(loginId, options,
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
{ httpClient });
|
|
7
|
-
}
|
|
8
|
-
export function loginV2(httpClient) {
|
|
9
|
-
return (loginId, options) => universalLoginV2(loginId, options,
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
{ httpClient });
|
|
12
|
-
}
|
|
13
|
-
export function changePassword(httpClient) {
|
|
14
|
-
return (newPassword) => universalChangePassword(newPassword,
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
{ httpClient });
|
|
17
|
-
}
|
|
18
|
-
export function loginCallback(httpClient) {
|
|
19
|
-
return (options) => universalLoginCallback(options,
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
{ httpClient });
|
|
22
|
-
}
|
|
23
|
-
export function signOn(httpClient) {
|
|
24
|
-
return (loginId, options) => universalSignOn(loginId, options,
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
{ httpClient });
|
|
27
|
-
}
|
|
28
|
-
export function logout(httpClient) {
|
|
29
|
-
return (options) => universalLogout(options,
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
{ httpClient });
|
|
32
|
-
}
|
|
33
|
-
export function verify(httpClient) {
|
|
34
|
-
return (factorType, options) => universalVerify(factorType, options,
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
{ httpClient });
|
|
37
|
-
}
|
|
38
|
-
export { AddressTag, EmailTag, FactorStatus, FactorType, MfaReason, PhoneTag, PrivacyStatus, Reason, StateType, Status, StatusName, TenantType, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
39
|
-
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.public.js.map
|
package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.public.js","sourceRoot":"","sources":["../../../../src/iam-authentication-v1-authentication-authentication.public.ts"],"names":[],"mappings":"AACA,OAAO,EAeL,cAAc,IAAI,uBAAuB,EACzC,aAAa,IAAI,sBAAsB,EACvC,OAAO,IAAI,gBAAgB,EAC3B,MAAM,IAAI,eAAe,EACzB,UAAU,IAAI,mBAAmB,EACjC,MAAM,IAAI,eAAe,EACzB,MAAM,IAAI,eAAe,GAC1B,MAAM,oEAAoE,CAAC;AAE5E,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAAgB,EAAE,OAA2B,EAAE,EAAE,CACvD,mBAAmB,CACjB,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAmBD,MAAM,UAAU,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,OAAgB,EAAE,OAAwB,EAAE,EAAE,CACpD,gBAAgB,CACd,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAgBD,MAAM,UAAU,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,WAAmB,EAAE,EAAE,CAC7B,uBAAuB,CACrB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAUD,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,sBAAsB,CACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,MAAM,UA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