@wix/auto_sdk_identity_authentication 1.0.3 → 1.0.5
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/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +2 -2
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js +2 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js +42 -0
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +6 -6
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +8 -8
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js +2 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts +98 -109
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js +17 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +105 -115
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +17 -1
- package/build/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +2 -2
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.js +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.js +42 -0
- package/build/es/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +6 -6
- package/build/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +8 -8
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.js +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.d.ts +98 -109
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.js +16 -0
- package/build/es/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +105 -115
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js +16 -0
- package/build/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.d.ts +2 -2
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js +2 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js +42 -0
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.d.ts +6 -6
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.d.ts +8 -8
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js +2 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.d.ts +98 -109
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js +17 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.d.ts +105 -115
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js +17 -1
- package/build/internal/cjs/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.d.ts +2 -2
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.context.js.map +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js +42 -0
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.http.js.map +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.d.ts +6 -6
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.meta.js.map +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.d.ts +8 -8
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.public.js.map +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.d.ts +98 -109
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js +16 -0
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.types.js.map +1 -1
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.d.ts +105 -115
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js +16 -0
- package/build/internal/es/src/iam-authentication-v1-authentication-authentication.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -7,5 +7,5 @@ export declare const loginCallback: MaybeContext<BuildRESTFunction<typeof public
|
|
|
7
7
|
export declare const signOn: MaybeContext<BuildRESTFunction<typeof publicSignOn> & typeof publicSignOn>;
|
|
8
8
|
export declare const logout: MaybeContext<BuildRESTFunction<typeof publicLogout> & typeof publicLogout>;
|
|
9
9
|
export declare const verify: MaybeContext<BuildRESTFunction<typeof publicVerify> & typeof publicVerify>;
|
|
10
|
-
export { PrivacyStatus, EmailTag, PhoneTag, AddressTag, StateType, StatusName, Reason, FactorType, Status, FactorStatus, MfaReason, TenantType, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
11
|
-
export { Authentication, RegisterV2Request, LoginId, LoginIdTypeOneOf, IdentityProfile, CustomField, V1CustomValue, V1CustomValueValueOneOf, V1ListValue, V1MapValue, SecondaryEmail, Phone, AddressWrapper, Address, CaptchaToken, CaptchaTokenTokenOneOf, StateMachineResponse, StateMachineResponseStateDataOneOf, Identity, Connection, ConnectionTypeOneOf, IdpConnection, AuthenticatorConnection, Metadata, Email, StatusV2, Factor, CustomValue, CustomValueValueOneOf, ListValue, MapValue, RequireMfaData, V1Factor, MfaChallengeData, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, PushChallengeData, LoginV2Request, ChangePasswordRequest, ChangePasswordResponse, LoginWithIdpConnectionRequest, RawHttpResponse, HeadersEntry, RawHttpRequest, PathParametersEntry, QueryParametersEntry, LoginCallbackRequest, LoginWithIdpConnectionTokenParamsRequest, SignOnRequest, SignOnResponse, LogoutRequest, VerifyRequest, VerifyRequestFactorDataOneOf, SmsVerifyData, CallVerifyData, ExternalEmailVerifyData, TotpVerifyData, PushVerifyData,
|
|
10
|
+
export { PrivacyStatus, EmailTag, PhoneTag, AddressTag, StateType, StatusName, Reason, FactorType, Status, FactorStatus, MfaReason, UserVerificationRequirement, TenantType, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
11
|
+
export { Authentication, RegisterV2Request, LoginId, LoginIdTypeOneOf, IdentityProfile, CustomField, V1CustomValue, V1CustomValueValueOneOf, V1ListValue, V1MapValue, SecondaryEmail, Phone, AddressWrapper, Address, CaptchaToken, CaptchaTokenTokenOneOf, StateMachineResponse, StateMachineResponseStateDataOneOf, Identity, Connection, ConnectionTypeOneOf, IdpConnection, AuthenticatorConnection, Metadata, Email, StatusV2, Factor, CustomValue, CustomValueValueOneOf, ListValue, MapValue, RequireMfaData, V1Factor, MfaChallengeData, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, PushChallengeData, WebAuthnChallengeData, PublicKeyCredentialDescriptor, AuthenticationExtensionInputs, AuthenticationExtensionInputsLargeBlobOperationOneOf, LoginV2Request, ChangePasswordRequest, ChangePasswordResponse, LoginWithIdpConnectionRequest, RawHttpResponse, HeadersEntry, RawHttpRequest, PathParametersEntry, QueryParametersEntry, LoginCallbackRequest, LoginWithIdpConnectionTokenParamsRequest, SignOnRequest, SignOnResponse, LogoutRequest, VerifyRequest, VerifyRequestFactorDataOneOf, SmsVerifyData, CallVerifyData, ExternalEmailVerifyData, TotpVerifyData, PushVerifyData, RegisterV2Options, LoginV2Options, LoginCallbackOptions, SignOnOptions, LogoutOptions, VerifyOptions, VerifyOptionsFactorDataOneOf, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantType = exports.MfaReason = exports.FactorStatus = exports.Status = exports.FactorType = exports.Reason = exports.StatusName = exports.StateType = exports.AddressTag = exports.PhoneTag = exports.EmailTag = exports.PrivacyStatus = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = void 0;
|
|
3
|
+
exports.TenantType = exports.UserVerificationRequirement = exports.MfaReason = exports.FactorStatus = exports.Status = exports.FactorType = exports.Reason = exports.StatusName = exports.StateType = exports.AddressTag = exports.PhoneTag = exports.EmailTag = exports.PrivacyStatus = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = void 0;
|
|
4
4
|
const iam_authentication_v1_authentication_authentication_public_js_1 = require("./iam-authentication-v1-authentication-authentication.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
exports.registerV2 = (0, rest_modules_1.createRESTModule)(iam_authentication_v1_authentication_authentication_public_js_1.registerV2);
|
|
@@ -22,5 +22,6 @@ Object.defineProperty(exports, "FactorType", { enumerable: true, get: function (
|
|
|
22
22
|
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.Status; } });
|
|
23
23
|
Object.defineProperty(exports, "FactorStatus", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.FactorStatus; } });
|
|
24
24
|
Object.defineProperty(exports, "MfaReason", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.MfaReason; } });
|
|
25
|
+
Object.defineProperty(exports, "UserVerificationRequirement", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.UserVerificationRequirement; } });
|
|
25
26
|
Object.defineProperty(exports, "TenantType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_1.TenantType; } });
|
|
26
27
|
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.context.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.context.ts"],"names":[],"mappings":";;;AAAA,mJAQyE;AACzE,gEAAiE;AAGpD,QAAA,UAAU,GAEL,IAAA,+BAAgB,EAAC,0EAAgB,CAAC,CAAC;AACxC,QAAA,OAAO,GAEF,IAAA,+BAAgB,EAAC,uEAAa,CAAC,CAAC;AACrC,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,8EAAoB,CAAC,CAAC;AAC5C,QAAA,aAAa,GAER,IAAA,+BAAgB,EAAC,6EAAmB,CAAC,CAAC;AAC3C,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,sEAAY,CAAC,CAAC;AACpC,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,sEAAY,CAAC,CAAC;AACpC,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,sEAAY,CAAC,CAAC;AAEjD,
|
|
1
|
+
{"version":3,"file":"iam-authentication-v1-authentication-authentication.context.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.context.ts"],"names":[],"mappings":";;;AAAA,mJAQyE;AACzE,gEAAiE;AAGpD,QAAA,UAAU,GAEL,IAAA,+BAAgB,EAAC,0EAAgB,CAAC,CAAC;AACxC,QAAA,OAAO,GAEF,IAAA,+BAAgB,EAAC,uEAAa,CAAC,CAAC;AACrC,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,8EAAoB,CAAC,CAAC;AAC5C,QAAA,aAAa,GAER,IAAA,+BAAgB,EAAC,6EAAmB,CAAC,CAAC;AAC3C,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,sEAAY,CAAC,CAAC;AACpC,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,sEAAY,CAAC,CAAC;AACpC,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,sEAAY,CAAC,CAAC;AAEjD,uJAc4E;AAb1E,iKAAA,aAAa,OAAA;AACb,4JAAA,QAAQ,OAAA;AACR,4JAAA,QAAQ,OAAA;AACR,8JAAA,UAAU,OAAA;AACV,6JAAA,SAAS,OAAA;AACT,8JAAA,UAAU,OAAA;AACV,0JAAA,MAAM,OAAA;AACN,8JAAA,UAAU,OAAA;AACV,0JAAA,MAAM,OAAA;AACN,gKAAA,YAAY,OAAA;AACZ,6JAAA,SAAS,OAAA;AACT,+KAAA,2BAA2B,OAAA;AAC3B,8JAAA,UAAU,OAAA"}
|
|
@@ -111,6 +111,20 @@ function registerV2(payload) {
|
|
|
111
111
|
}),
|
|
112
112
|
data: serializedData,
|
|
113
113
|
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
114
|
+
{
|
|
115
|
+
transformFn: bytes_1.transformRESTBytesToSDKBytes,
|
|
116
|
+
paths: [
|
|
117
|
+
{
|
|
118
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.challenge',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite',
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
},
|
|
114
128
|
{
|
|
115
129
|
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
116
130
|
paths: [
|
|
@@ -155,6 +169,20 @@ function loginV2(payload) {
|
|
|
155
169
|
}),
|
|
156
170
|
data: payload,
|
|
157
171
|
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
172
|
+
{
|
|
173
|
+
transformFn: bytes_1.transformRESTBytesToSDKBytes,
|
|
174
|
+
paths: [
|
|
175
|
+
{
|
|
176
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.challenge',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite',
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
158
186
|
{
|
|
159
187
|
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
160
188
|
paths: [
|
|
@@ -308,6 +336,20 @@ function verify(payload) {
|
|
|
308
336
|
}),
|
|
309
337
|
data: payload,
|
|
310
338
|
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
339
|
+
{
|
|
340
|
+
transformFn: bytes_1.transformRESTBytesToSDKBytes,
|
|
341
|
+
paths: [
|
|
342
|
+
{
|
|
343
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.challenge',
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.allowCredentials.id',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
path: 'mfaChallengeData.verificationChallengeData.webauthnData.extensions.largeBlobWrite',
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
},
|
|
311
353
|
{
|
|
312
354
|
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
313
355
|
paths: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.http.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;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,EAAE,4DAA4D;aACvE;YACD;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,UAAU,EAAE;YACV;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,YAAY,EAAE;YACZ;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,E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A2B,EAAE;qBACtC;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"iam-authentication-v1-authentication-authentication.http.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;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,EAAE,4DAA4D;aACvE;YACD;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,UAAU,EAAE;YACV;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,YAAY,EAAE;YACZ;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,EAAE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ACF;gBACD;oBACE,WAAW,EAAE,gDAAoC;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,oCAA4B;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;AApDD,wBAoDC"}
|
|
@@ -10,12 +10,12 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function registerV2(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RegisterV2Request, ambassadorWixIamAuthenticationV1AuthenticationTypes.RegisterV2Request, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse
|
|
14
|
-
export declare function loginV2(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginV2Request, ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginV2Request, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse
|
|
13
|
+
export declare function registerV2(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RegisterV2Request, ambassadorWixIamAuthenticationV1AuthenticationTypes.RegisterV2Request, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse>;
|
|
14
|
+
export declare function loginV2(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginV2Request, ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginV2Request, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse>;
|
|
15
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
|
|
17
|
-
export declare function signOn(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnResponse
|
|
18
|
-
export declare function logout(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LogoutRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.LogoutRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse
|
|
16
|
+
export declare function loginCallback(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LoginCallbackRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.LoginCallbackRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponse>;
|
|
17
|
+
export declare function signOn(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.SignOnResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.SignOnResponse>;
|
|
18
|
+
export declare function logout(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.LogoutRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.LogoutRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.RawHttpResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.RawHttpResponse>;
|
|
19
19
|
export declare function verify(): __PublicMethodMetaInfo<'POST', {
|
|
20
20
|
factorType: string;
|
|
21
|
-
}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.VerifyRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.VerifyRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse
|
|
21
|
+
}, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.VerifyRequest, ambassadorWixIamAuthenticationV1AuthenticationTypes.VerifyRequest, ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes.StateMachineResponse, ambassadorWixIamAuthenticationV1AuthenticationTypes.StateMachineResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.meta.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8IAAgI;AAsBhI,SAAgB,UAAU;
|
|
1
|
+
{"version":3,"file":"iam-authentication-v1-authentication-authentication.meta.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.meta.ts"],"names":[],"m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,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,wBA4BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { FactorType, LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse,
|
|
2
|
+
import { FactorType, LoginCallbackOptions, LoginId, LoginV2Options, LogoutOptions, RawHttpResponse, RegisterV2Options, SignOnOptions, SignOnResponse, StateMachineResponse, VerifyOptions } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -16,7 +16,7 @@ interface RegisterV2Signature {
|
|
|
16
16
|
* member need to verify the email address using a code that is sent to the address.
|
|
17
17
|
* @param - Identifier of the registering member.
|
|
18
18
|
*/
|
|
19
|
-
(loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse
|
|
19
|
+
(loginId: LoginId, options?: RegisterV2Options | undefined): Promise<StateMachineResponse>;
|
|
20
20
|
}
|
|
21
21
|
export declare function loginV2(httpClient: HttpClient): LoginV2Signature;
|
|
22
22
|
interface LoginV2Signature {
|
|
@@ -28,7 +28,7 @@ interface LoginV2Signature {
|
|
|
28
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
29
|
* @param - Identifier of identity logging in.
|
|
30
30
|
*/
|
|
31
|
-
(loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse
|
|
31
|
+
(loginId: LoginId, options?: LoginV2Options | undefined): Promise<StateMachineResponse>;
|
|
32
32
|
}
|
|
33
33
|
export declare function changePassword(httpClient: HttpClient): ChangePasswordSignature;
|
|
34
34
|
interface ChangePasswordSignature {
|
|
@@ -41,23 +41,23 @@ interface ChangePasswordSignature {
|
|
|
41
41
|
export declare function loginCallback(httpClient: HttpClient): LoginCallbackSignature;
|
|
42
42
|
interface LoginCallbackSignature {
|
|
43
43
|
/** */
|
|
44
|
-
(options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse
|
|
44
|
+
(options?: LoginCallbackOptions | undefined): Promise<RawHttpResponse>;
|
|
45
45
|
}
|
|
46
46
|
export declare function signOn(httpClient: HttpClient): SignOnSignature;
|
|
47
47
|
interface SignOnSignature {
|
|
48
48
|
/** @param - the identifier of the identity */
|
|
49
|
-
(loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse
|
|
49
|
+
(loginId: LoginId, options?: SignOnOptions | undefined): Promise<SignOnResponse>;
|
|
50
50
|
}
|
|
51
51
|
export declare function logout(httpClient: HttpClient): LogoutSignature;
|
|
52
52
|
interface LogoutSignature {
|
|
53
53
|
/**
|
|
54
54
|
* Logs out a member.
|
|
55
55
|
*/
|
|
56
|
-
(options?: LogoutOptions | undefined): Promise<RawHttpResponse
|
|
56
|
+
(options?: LogoutOptions | undefined): Promise<RawHttpResponse>;
|
|
57
57
|
}
|
|
58
58
|
export declare function verify(httpClient: HttpClient): VerifySignature;
|
|
59
59
|
interface VerifySignature {
|
|
60
60
|
/** */
|
|
61
|
-
(factorType: FactorType, options?: VerifyOptions | undefined): Promise<StateMachineResponse
|
|
61
|
+
(factorType: FactorType, options?: VerifyOptions | undefined): Promise<StateMachineResponse>;
|
|
62
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,
|
|
63
|
+
export { Address, AddressTag, AddressWrapper, Authentication, AuthenticationExtensionInputs, AuthenticationExtensionInputsLargeBlobOperationOneOf, 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, PublicKeyCredentialDescriptor, PushChallengeData, PushVerifyData, QueryParametersEntry, RawHttpRequest, RawHttpResponse, Reason, RegisterV2Options, RegisterV2Request, RequireMfaData, SecondaryEmail, SignOnOptions, SignOnRequest, SignOnResponse, SmsVerifyData, StateMachineResponse, StateMachineResponseStateDataOneOf, StateType, Status, StatusName, StatusV2, TenantType, TotpVerifyData, UserVerificationRequirement, V1CustomValue, V1CustomValueValueOneOf, V1Factor, V1ListValue, V1MapValue, VerificationChallenge, VerificationChallengeFactorChallengeDataOneOf, VerifyOptions, VerifyOptionsFactorDataOneOf, VerifyRequest, VerifyRequestFactorDataOneOf, WebAuthnChallengeData, } from './iam-authentication-v1-authentication-authentication.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantType = exports.StatusName = exports.Status = exports.StateType = exports.Reason = exports.PrivacyStatus = exports.PhoneTag = exports.MfaReason = exports.FactorType = exports.FactorStatus = exports.EmailTag = exports.AddressTag = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = exports.__metadata = void 0;
|
|
3
|
+
exports.UserVerificationRequirement = exports.TenantType = exports.StatusName = exports.Status = exports.StateType = exports.Reason = exports.PrivacyStatus = exports.PhoneTag = exports.MfaReason = exports.FactorType = exports.FactorStatus = exports.EmailTag = exports.AddressTag = exports.verify = exports.logout = exports.signOn = exports.loginCallback = exports.changePassword = exports.loginV2 = exports.registerV2 = exports.__metadata = void 0;
|
|
4
4
|
const iam_authentication_v1_authentication_authentication_universal_js_1 = require("./iam-authentication-v1-authentication-authentication.universal.js");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/identity' };
|
|
6
6
|
function registerV2(httpClient) {
|
|
@@ -58,4 +58,5 @@ Object.defineProperty(exports, "StateType", { enumerable: true, get: function ()
|
|
|
58
58
|
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.Status; } });
|
|
59
59
|
Object.defineProperty(exports, "StatusName", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.StatusName; } });
|
|
60
60
|
Object.defineProperty(exports, "TenantType", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.TenantType; } });
|
|
61
|
+
Object.defineProperty(exports, "UserVerificationRequirement", { enumerable: true, get: function () { return iam_authentication_v1_authentication_authentication_universal_js_2.UserVerificationRequirement; } });
|
|
61
62
|
//# sourceMappingURL=iam-authentication-v1-authentication-authentication.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.public.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.public.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"iam-authentication-v1-authentication-authentication.public.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.public.ts"],"names":[],"mappings":";;;AACA,yJAmB4E;AAE/D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAAgB,EAAE,OAA2B,EAAE,EAAE,CACvD,IAAA,6EAAmB,EACjB,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gCAQC;AAoBD,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,OAAgB,EAAE,OAAwB,EAAE,EAAE,CACpD,IAAA,0EAAgB,EACd,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0BAQC;AAiBD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,WAAmB,EAAE,EAAE,CAC7B,IAAA,iFAAuB,EACrB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAUD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,IAAA,gFAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAOD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,OAAgB,EAAE,OAAuB,EAAE,EAAE,CACnD,IAAA,yEAAe,EACb,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAUD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,OAAuB,EAAE,EAAE,CACjC,IAAA,yEAAe,EACb,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wBAOC;AASD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,UAAsB,EAAE,OAAuB,EAAE,EAAE,CACzD,IAAA,yEAAe,EACb,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAUD,uJAmF4E;AAjF1E,8JAAA,UAAU,OAAA;AAiBV,4JAAA,QAAQ,OAAA;AAGR,gKAAA,YAAY,OAAA;AACZ,8JAAA,UAAU,OAAA;AAmBV,6JAAA,SAAS,OAAA;AAGT,4JAAA,QAAQ,OAAA;AACR,iKAAA,aAAa,OAAA;AAOb,0JAAA,MAAM,OAAA;AAWN,6JAAA,SAAS,OAAA;AACT,0JAAA,MAAM,OAAA;AACN,8JAAA,UAAU,OAAA;AAEV,8JAAA,UAAU,OAAA;AAEV,+KAAA,2BAA2B,OAAA"}
|
|
@@ -392,7 +392,9 @@ export declare enum FactorType {
|
|
|
392
392
|
/** Requires authentication via an authenticator app. */
|
|
393
393
|
TOTP = "TOTP",
|
|
394
394
|
/** Requires authentication via a push notification. */
|
|
395
|
-
PUSH = "PUSH"
|
|
395
|
+
PUSH = "PUSH",
|
|
396
|
+
/** Requires authentication via WebAuthn/passkey. */
|
|
397
|
+
WEBAUTHN = "WEBAUTHN"
|
|
396
398
|
}
|
|
397
399
|
export declare enum Status {
|
|
398
400
|
/** Factor requires activation. */
|
|
@@ -479,12 +481,14 @@ export interface MfaChallengeData {
|
|
|
479
481
|
}
|
|
480
482
|
export interface VerificationChallenge extends VerificationChallengeFactorChallengeDataOneOf {
|
|
481
483
|
pushData?: PushChallengeData;
|
|
484
|
+
webauthnData?: WebAuthnChallengeData;
|
|
482
485
|
/** @maxLength 200 */
|
|
483
486
|
hint?: string | null;
|
|
484
487
|
}
|
|
485
488
|
/** @oneof */
|
|
486
489
|
export interface VerificationChallengeFactorChallengeDataOneOf {
|
|
487
490
|
pushData?: PushChallengeData;
|
|
491
|
+
webauthnData?: WebAuthnChallengeData;
|
|
488
492
|
}
|
|
489
493
|
export interface PushChallengeData {
|
|
490
494
|
/**
|
|
@@ -494,6 +498,99 @@ export interface PushChallengeData {
|
|
|
494
498
|
*/
|
|
495
499
|
transactionId?: string;
|
|
496
500
|
}
|
|
501
|
+
export interface WebAuthnChallengeData {
|
|
502
|
+
/**
|
|
503
|
+
* A unique identifier for this challenge that will be used to correlate
|
|
504
|
+
* the authentication response with this challenge.
|
|
505
|
+
* This should be a cryptographically random GUID to prevent guessing attacks.
|
|
506
|
+
* @format GUID
|
|
507
|
+
*/
|
|
508
|
+
challengeId?: string;
|
|
509
|
+
/**
|
|
510
|
+
* The challenge that will be signed by the authenticator during the WebAuthn authentication ceremony.
|
|
511
|
+
* This should be a cryptographically secure random value with at least 16 bytes of entropy.
|
|
512
|
+
* The value is used to prevent replay attacks and MUST be randomly generated by the implementer.
|
|
513
|
+
*/
|
|
514
|
+
challenge?: Uint8Array;
|
|
515
|
+
/**
|
|
516
|
+
* The timeout in milliseconds for the WebAuthn authentication ceremony.
|
|
517
|
+
* After this time, the challenge will be considered expired and the authentication will need to be restarted.
|
|
518
|
+
* This is optional and may be overridden by the client if provided.
|
|
519
|
+
* The WebAuthn spec recommends a timeout of at least 1 minute (60000ms).
|
|
520
|
+
*/
|
|
521
|
+
timeoutMs?: number | null;
|
|
522
|
+
/**
|
|
523
|
+
* Optional list of credentials that are acceptable for this authentication ceremony.
|
|
524
|
+
* If empty, all credentials associated with the user will be considered.
|
|
525
|
+
* @maxSize 10
|
|
526
|
+
*/
|
|
527
|
+
allowCredentials?: PublicKeyCredentialDescriptor[];
|
|
528
|
+
/** Specifies the requirement for user verification during the authentication ceremony. */
|
|
529
|
+
userVerification?: UserVerificationRequirement;
|
|
530
|
+
/**
|
|
531
|
+
* Optional hints to guide the client UI
|
|
532
|
+
* Examples include "security-key" to emphasize external authenticators
|
|
533
|
+
* or "client-device" to emphasize built-in authenticators
|
|
534
|
+
* @maxLength 50
|
|
535
|
+
* @maxSize 10
|
|
536
|
+
*/
|
|
537
|
+
hints?: string[];
|
|
538
|
+
/**
|
|
539
|
+
* Optional extensions for the authentication ceremony
|
|
540
|
+
* Provides additional parameters for specialized WebAuthn functionality
|
|
541
|
+
*/
|
|
542
|
+
extensions?: AuthenticationExtensionInputs;
|
|
543
|
+
}
|
|
544
|
+
export interface PublicKeyCredentialDescriptor {
|
|
545
|
+
/** The credential ID */
|
|
546
|
+
id?: Uint8Array;
|
|
547
|
+
/**
|
|
548
|
+
* An optional hint as to the transports used by the credential
|
|
549
|
+
* Examples include "usb", "nfc", "ble", "internal", "hybrid"
|
|
550
|
+
* @maxLength 50
|
|
551
|
+
* @maxSize 10
|
|
552
|
+
*/
|
|
553
|
+
transports?: string[];
|
|
554
|
+
}
|
|
555
|
+
export declare enum UserVerificationRequirement {
|
|
556
|
+
/** Default unspecified value */
|
|
557
|
+
USER_VERIFICATION_UNSPECIFIED = "USER_VERIFICATION_UNSPECIFIED",
|
|
558
|
+
/**
|
|
559
|
+
* The Relying Party requires user verification and will fail the operation if the response doesn't have the UV flag
|
|
560
|
+
* set
|
|
561
|
+
*/
|
|
562
|
+
USER_VERIFICATION_REQUIRED = "USER_VERIFICATION_REQUIRED",
|
|
563
|
+
/** The Relying Party prefers user verification but will not fail the operation if unavailable */
|
|
564
|
+
USER_VERIFICATION_PREFERRED = "USER_VERIFICATION_PREFERRED",
|
|
565
|
+
/** The Relying Party does not want user verification employed (e.g., to minimize disruption to the user experience) */
|
|
566
|
+
USER_VERIFICATION_DISCOURAGED = "USER_VERIFICATION_DISCOURAGED"
|
|
567
|
+
}
|
|
568
|
+
export interface AuthenticationExtensionInputs extends AuthenticationExtensionInputsLargeBlobOperationOneOf {
|
|
569
|
+
/** Read existing large blob data from the authenticator */
|
|
570
|
+
largeBlobRead?: boolean;
|
|
571
|
+
/** Write data to the authenticator's large blob storage */
|
|
572
|
+
largeBlobWrite?: Uint8Array;
|
|
573
|
+
/**
|
|
574
|
+
* FIDO AppID Extension (appid)
|
|
575
|
+
* An AppID that was used for previously registered U2F authenticators
|
|
576
|
+
* This makes already-registered U2F credentials forward-compatible with the WebAuthn API
|
|
577
|
+
* @maxLength 256
|
|
578
|
+
*/
|
|
579
|
+
appid?: string;
|
|
580
|
+
/**
|
|
581
|
+
* User Verification Method Extension (uvm)
|
|
582
|
+
* Requests the authenticator to report which verification methods were used
|
|
583
|
+
* Examples include fingerprint, PIN, or facial recognition
|
|
584
|
+
*/
|
|
585
|
+
uvm?: boolean;
|
|
586
|
+
}
|
|
587
|
+
/** @oneof */
|
|
588
|
+
export interface AuthenticationExtensionInputsLargeBlobOperationOneOf {
|
|
589
|
+
/** Read existing large blob data from the authenticator */
|
|
590
|
+
largeBlobRead?: boolean;
|
|
591
|
+
/** Write data to the authenticator's large blob storage */
|
|
592
|
+
largeBlobWrite?: Uint8Array;
|
|
593
|
+
}
|
|
497
594
|
export interface LoginV2Request {
|
|
498
595
|
/** Identifier of identity logging in. */
|
|
499
596
|
loginId: LoginId;
|
|
@@ -664,111 +761,3 @@ export interface PushVerifyData {
|
|
|
664
761
|
/** @maxLength 36 */
|
|
665
762
|
transactionId?: string | null;
|
|
666
763
|
}
|
|
667
|
-
interface V1FactorNonNullableFields {
|
|
668
|
-
factorType: FactorType;
|
|
669
|
-
factorStatus: FactorStatus;
|
|
670
|
-
}
|
|
671
|
-
interface RequireMfaDataNonNullableFields {
|
|
672
|
-
availableFactors: V1FactorNonNullableFields[];
|
|
673
|
-
reason: MfaReason;
|
|
674
|
-
}
|
|
675
|
-
interface PushChallengeDataNonNullableFields {
|
|
676
|
-
transactionId: string;
|
|
677
|
-
}
|
|
678
|
-
interface VerificationChallengeNonNullableFields {
|
|
679
|
-
pushData?: PushChallengeDataNonNullableFields;
|
|
680
|
-
}
|
|
681
|
-
interface MfaChallengeDataNonNullableFields {
|
|
682
|
-
factorType: FactorType;
|
|
683
|
-
verificationChallengeData?: VerificationChallengeNonNullableFields;
|
|
684
|
-
availableFactors: V1FactorNonNullableFields[];
|
|
685
|
-
reason: MfaReason;
|
|
686
|
-
}
|
|
687
|
-
interface IdpConnectionNonNullableFields {
|
|
688
|
-
idpConnectionId: string;
|
|
689
|
-
idpUserId: string;
|
|
690
|
-
}
|
|
691
|
-
interface AuthenticatorConnectionNonNullableFields {
|
|
692
|
-
authenticatorConnectionId: string;
|
|
693
|
-
reEnrollmentRequired: boolean;
|
|
694
|
-
}
|
|
695
|
-
interface ConnectionNonNullableFields {
|
|
696
|
-
idpConnection?: IdpConnectionNonNullableFields;
|
|
697
|
-
authenticatorConnection?: AuthenticatorConnectionNonNullableFields;
|
|
698
|
-
}
|
|
699
|
-
interface V1ListValueNonNullableFields {
|
|
700
|
-
value: V1CustomValueNonNullableFields[];
|
|
701
|
-
}
|
|
702
|
-
interface V1CustomValueNonNullableFields {
|
|
703
|
-
strValue: string;
|
|
704
|
-
numValue: number;
|
|
705
|
-
listValue?: V1ListValueNonNullableFields;
|
|
706
|
-
}
|
|
707
|
-
interface CustomFieldNonNullableFields {
|
|
708
|
-
name: string;
|
|
709
|
-
value?: V1CustomValueNonNullableFields;
|
|
710
|
-
}
|
|
711
|
-
interface SecondaryEmailNonNullableFields {
|
|
712
|
-
email: string;
|
|
713
|
-
tag: EmailTag;
|
|
714
|
-
}
|
|
715
|
-
interface PhoneNonNullableFields {
|
|
716
|
-
phone: string;
|
|
717
|
-
tag: PhoneTag;
|
|
718
|
-
}
|
|
719
|
-
interface AddressWrapperNonNullableFields {
|
|
720
|
-
tag: AddressTag;
|
|
721
|
-
}
|
|
722
|
-
interface IdentityProfileNonNullableFields {
|
|
723
|
-
emails: string[];
|
|
724
|
-
phones: string[];
|
|
725
|
-
labels: string[];
|
|
726
|
-
privacyStatus: PrivacyStatus;
|
|
727
|
-
customFields: CustomFieldNonNullableFields[];
|
|
728
|
-
secondaryEmails: SecondaryEmailNonNullableFields[];
|
|
729
|
-
phonesV2: PhoneNonNullableFields[];
|
|
730
|
-
addresses: AddressWrapperNonNullableFields[];
|
|
731
|
-
}
|
|
732
|
-
interface MetadataNonNullableFields {
|
|
733
|
-
tags: string[];
|
|
734
|
-
}
|
|
735
|
-
interface EmailNonNullableFields {
|
|
736
|
-
address: string;
|
|
737
|
-
isVerified: boolean;
|
|
738
|
-
}
|
|
739
|
-
interface StatusV2NonNullableFields {
|
|
740
|
-
name: StatusName;
|
|
741
|
-
reasons: Reason[];
|
|
742
|
-
}
|
|
743
|
-
interface FactorNonNullableFields {
|
|
744
|
-
factorId: string;
|
|
745
|
-
type: FactorType;
|
|
746
|
-
status: Status;
|
|
747
|
-
}
|
|
748
|
-
interface IdentityNonNullableFields {
|
|
749
|
-
connections: ConnectionNonNullableFields[];
|
|
750
|
-
identityProfile?: IdentityProfileNonNullableFields;
|
|
751
|
-
metadata?: MetadataNonNullableFields;
|
|
752
|
-
email?: EmailNonNullableFields;
|
|
753
|
-
status?: StatusV2NonNullableFields;
|
|
754
|
-
factors: FactorNonNullableFields[];
|
|
755
|
-
}
|
|
756
|
-
export interface StateMachineResponseNonNullableFields {
|
|
757
|
-
requireMfaData?: RequireMfaDataNonNullableFields;
|
|
758
|
-
mfaChallengeData?: MfaChallengeDataNonNullableFields;
|
|
759
|
-
state: StateType;
|
|
760
|
-
identity?: IdentityNonNullableFields;
|
|
761
|
-
}
|
|
762
|
-
interface HeadersEntryNonNullableFields {
|
|
763
|
-
key: string;
|
|
764
|
-
value: string;
|
|
765
|
-
}
|
|
766
|
-
export interface RawHttpResponseNonNullableFields {
|
|
767
|
-
body: Uint8Array;
|
|
768
|
-
headers: HeadersEntryNonNullableFields[];
|
|
769
|
-
}
|
|
770
|
-
export interface SignOnResponseNonNullableFields {
|
|
771
|
-
sessionToken: string;
|
|
772
|
-
identity?: IdentityNonNullableFields;
|
|
773
|
-
}
|
|
774
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantType = exports.MfaReason = exports.FactorStatus = exports.Status = exports.FactorType = exports.Reason = exports.StatusName = exports.StateType = exports.AddressTag = exports.PhoneTag = exports.EmailTag = exports.PrivacyStatus = void 0;
|
|
3
|
+
exports.TenantType = exports.UserVerificationRequirement = exports.MfaReason = exports.FactorStatus = exports.Status = exports.FactorType = exports.Reason = exports.StatusName = exports.StateType = exports.AddressTag = exports.PhoneTag = exports.EmailTag = exports.PrivacyStatus = void 0;
|
|
4
4
|
var PrivacyStatus;
|
|
5
5
|
(function (PrivacyStatus) {
|
|
6
6
|
/** No defined privacy status. */
|
|
@@ -78,6 +78,8 @@ var FactorType;
|
|
|
78
78
|
FactorType["TOTP"] = "TOTP";
|
|
79
79
|
/** Requires authentication via a push notification. */
|
|
80
80
|
FactorType["PUSH"] = "PUSH";
|
|
81
|
+
/** Requires authentication via WebAuthn/passkey. */
|
|
82
|
+
FactorType["WEBAUTHN"] = "WEBAUTHN";
|
|
81
83
|
})(FactorType || (exports.FactorType = FactorType = {}));
|
|
82
84
|
var Status;
|
|
83
85
|
(function (Status) {
|
|
@@ -105,6 +107,20 @@ var MfaReason;
|
|
|
105
107
|
/** Mfa is required due to high risk login */
|
|
106
108
|
MfaReason["HIGH_RISK_LOGIN"] = "HIGH_RISK_LOGIN";
|
|
107
109
|
})(MfaReason || (exports.MfaReason = MfaReason = {}));
|
|
110
|
+
var UserVerificationRequirement;
|
|
111
|
+
(function (UserVerificationRequirement) {
|
|
112
|
+
/** Default unspecified value */
|
|
113
|
+
UserVerificationRequirement["USER_VERIFICATION_UNSPECIFIED"] = "USER_VERIFICATION_UNSPECIFIED";
|
|
114
|
+
/**
|
|
115
|
+
* The Relying Party requires user verification and will fail the operation if the response doesn't have the UV flag
|
|
116
|
+
* set
|
|
117
|
+
*/
|
|
118
|
+
UserVerificationRequirement["USER_VERIFICATION_REQUIRED"] = "USER_VERIFICATION_REQUIRED";
|
|
119
|
+
/** The Relying Party prefers user verification but will not fail the operation if unavailable */
|
|
120
|
+
UserVerificationRequirement["USER_VERIFICATION_PREFERRED"] = "USER_VERIFICATION_PREFERRED";
|
|
121
|
+
/** The Relying Party does not want user verification employed (e.g., to minimize disruption to the user experience) */
|
|
122
|
+
UserVerificationRequirement["USER_VERIFICATION_DISCOURAGED"] = "USER_VERIFICATION_DISCOURAGED";
|
|
123
|
+
})(UserVerificationRequirement || (exports.UserVerificationRequirement = UserVerificationRequirement = {}));
|
|
108
124
|
var TenantType;
|
|
109
125
|
(function (TenantType) {
|
|
110
126
|
TenantType["UNKNOWN_TENANT_TYPE"] = "UNKNOWN_TENANT_TYPE";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication-authentication.types.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.types.ts"],"names":[],"mappings":";;;AAoGA,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,iCAAiC;IACjC,wCAAuB,CAAA;IACvB,+FAA+F;IAC/F,kCAAiB,CAAA;IACjB,uDAAuD;IACvD,oCAAmB,CAAA;AACrB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4DD,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,yBAAa,CAAA;AACf,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAiBD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,uBAAW,CAAA;AACb,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AA4BD,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,mCAAqB,CAAA;AACvB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAsCD,IAAY,SAWX;AAXD,WAAY,SAAS;IACnB,6BAA6B;IAC7B,4CAA+B,CAAA;IAC/B,oCAAoC;IACpC,gCAAmB,CAAA;IACnB,+EAA+E;IAC/E,8DAAiD,CAAA;IACjD,6DAA6D;IAC7D,sEAAyD,CAAA;IACzD,uIAAuI;IACvI,0CAA6B,CAAA;AAC/B,CAAC,EAXW,SAAS,yBAAT,SAAS,QAWpB;AA2GD,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,+CAAiC,CAAA;IACjC,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;AACrB,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAED,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,6EAAmE,CAAA;IACnE,qFAA2E,CAAA;AAC7E,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAcD,IAAY,
|
|
1
|
+
{"version":3,"file":"iam-authentication-v1-authentication-authentication.types.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication-authentication.types.ts"],"names":[],"mappings":";;;AAoGA,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,iCAAiC;IACjC,wCAAuB,CAAA;IACvB,+FAA+F;IAC/F,kCAAiB,CAAA;IACjB,uDAAuD;IACvD,oCAAmB,CAAA;AACrB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AA4DD,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,yBAAa,CAAA;AACf,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAiBD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,uBAAW,CAA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