@getpara/shared 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types/authFactor.js +9 -7
- package/dist/cjs/types/authState.js +15 -16
- package/dist/esm/types/authFactor.js +9 -7
- package/dist/esm/types/authState.js +15 -16
- package/dist/types/schemas/permissionsV2.d.ts +51 -51
- package/dist/types/schemas/permissionsV2.d.ts.map +1 -1
- package/dist/types/types/auth.d.ts +46 -0
- package/dist/types/types/auth.d.ts.map +1 -1
- package/dist/types/types/authFactor.d.ts +57 -23
- package/dist/types/types/authFactor.d.ts.map +1 -1
- package/dist/types/types/authState.d.ts +224 -88
- package/dist/types/types/authState.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AUTH_FACTOR_PROVENANCES = exports.AUTH_FACTOR_STATUSES = exports.AUTH_FACTOR_TIERS = exports.AUTH_FACTOR_TYPES = void 0;
|
|
4
4
|
/**
|
|
5
|
-
* Auth factors are the ways an account authenticates: the identity-bearing
|
|
6
|
-
*
|
|
7
|
-
* SECOND factors. This is the correct "authentication factor" model.
|
|
5
|
+
* Auth factors are the ways an account authenticates: the identity-bearing FIRST factors (email, phone,
|
|
6
|
+
* OAuth, external wallet) plus, going forward, SECOND factors.
|
|
8
7
|
*
|
|
9
|
-
* NOTE: distinct from the legacy `AuthMethod` enum (PASSWORD/PASSKEY/PIN/
|
|
10
|
-
*
|
|
11
|
-
* being retired with the enclave migration. Existing passkeys/PINs/passwords/
|
|
8
|
+
* NOTE: distinct from the legacy `AuthMethod` enum (PASSWORD/PASSKEY/PIN/BASIC_LOGIN) — legacy
|
|
9
|
+
* credential/unlock methods being retired with the enclave migration. Existing passkeys/PINs/passwords/
|
|
12
10
|
* TOTP are NEVER represented here — they stay in their own tables and age out.
|
|
13
11
|
*/
|
|
14
12
|
exports.AUTH_FACTOR_TYPES = [
|
|
@@ -23,6 +21,10 @@ exports.AUTH_FACTOR_TYPES = [
|
|
|
23
21
|
];
|
|
24
22
|
/** Which factor in the authentication sequence this is. */
|
|
25
23
|
exports.AUTH_FACTOR_TIERS = ['FIRST', 'SECOND'];
|
|
26
|
-
|
|
24
|
+
// PENDING = a login credential mid-proof (email/phone first-write before its OTP) — reserved. VERIFIED = a
|
|
25
|
+
// proven login credential. UNVERIFIED = a linking HINT: an OAuth vouched for this email but the owner never
|
|
26
|
+
// proved it, so it is NOT a login credential (can't log in) and several may coexist across accounts — powers
|
|
27
|
+
// only the needs_link linking UI. REVOKED = unlinked. (ENG-7075)
|
|
28
|
+
exports.AUTH_FACTOR_STATUSES = ['PENDING', 'VERIFIED', 'UNVERIFIED', 'REVOKED'];
|
|
27
29
|
/** How this factor came to be attached to the account (drives migration/audit). */
|
|
28
30
|
exports.AUTH_FACTOR_PROVENANCES = ['SIGNUP', 'EXPLICIT_LINK', 'IMPLICIT_MERGE_LEGACY', 'MIGRATION'];
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Status-model auth envelope returned by
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* This is the canonical auth contract — new SDKs consume it directly instead of
|
|
10
|
-
* a parallel client mirror. (ENG-6910)
|
|
3
|
+
* Status-model auth envelope returned by `/v2/auth`, consumed by the backend and new SDKs.
|
|
4
|
+
* Clerk-style: a single `status` drives the client, with typed per-status fields. Statuses are added
|
|
5
|
+
* additively; an unrecognized one is treated as not-yet-complete (show generic / hand off), never an
|
|
6
|
+
* error (forward-compat). The canonical auth contract — new SDKs consume it directly, not a parallel
|
|
7
|
+
* client mirror. (ENG-6910)
|
|
11
8
|
*/
|
|
12
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
10
|
exports.AUTH_FLOW_METHODS = exports.AUTH_STATUSES = void 0;
|
|
14
11
|
/**
|
|
15
|
-
* Flow statuses. Only `needs_verification` and `authenticated` are emitted today;
|
|
16
|
-
*
|
|
17
|
-
* slices that emit them land (credential setup, cross-method link prompt).
|
|
12
|
+
* Flow statuses. Only `needs_verification` and `authenticated` are emitted today; the rest are
|
|
13
|
+
* reserved for forward-stability, emitted as their slices land (credential setup, link prompt).
|
|
18
14
|
*/
|
|
19
15
|
exports.AUTH_STATUSES = [
|
|
20
16
|
'needs_verification', // a code was sent; awaiting it
|
|
21
|
-
'needs_credential', //
|
|
17
|
+
'needs_credential', // first factor proven; the session is withheld until the account's share-gate credential is too (ENG-7075)
|
|
22
18
|
'needs_link', // identifier collides with an account from another method — reserved (cross-method linking)
|
|
23
19
|
'needs_second_factor', // first factor passed; awaiting a login-time MFA challenge (ENG-6906)
|
|
24
20
|
'authenticated', // done; a session has been established
|
|
21
|
+
'linked', // a factor-link flow (start+continue with intent:'link') attached the proven factor to the session's account (ENG-7075)
|
|
22
|
+
'needs_step_up', // a factor-link or factor-unlink flow must prove the SESSION's existing account first (ENG-7075)
|
|
23
|
+
'unlinked', // a factor-unlink flow proved the account and revoked the named factor (ENG-7075)
|
|
25
24
|
];
|
|
26
25
|
/**
|
|
27
|
-
* First-factor methods
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
26
|
+
* First-factor methods `/v2/auth` handles: email/phone via a delivered one-time code; external-wallet
|
|
27
|
+
* via a SIWE signature; passkey via a WebAuthn assertion (usernameless — resolved from the credential at
|
|
28
|
+
* `continue`); oauth via a provider redirect (provider rides on the flow, account resolved at
|
|
29
|
+
* `continue`). (ENG-6911)
|
|
31
30
|
*/
|
|
32
31
|
exports.AUTH_FLOW_METHODS = ['EMAIL', 'PHONE', 'EXTERNAL_WALLET', 'PASSKEY', 'OAUTH'];
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Auth factors are the ways an account authenticates: the identity-bearing
|
|
3
|
-
*
|
|
4
|
-
* SECOND factors. This is the correct "authentication factor" model.
|
|
2
|
+
* Auth factors are the ways an account authenticates: the identity-bearing FIRST factors (email, phone,
|
|
3
|
+
* OAuth, external wallet) plus, going forward, SECOND factors.
|
|
5
4
|
*
|
|
6
|
-
* NOTE: distinct from the legacy `AuthMethod` enum (PASSWORD/PASSKEY/PIN/
|
|
7
|
-
*
|
|
8
|
-
* being retired with the enclave migration. Existing passkeys/PINs/passwords/
|
|
5
|
+
* NOTE: distinct from the legacy `AuthMethod` enum (PASSWORD/PASSKEY/PIN/BASIC_LOGIN) — legacy
|
|
6
|
+
* credential/unlock methods being retired with the enclave migration. Existing passkeys/PINs/passwords/
|
|
9
7
|
* TOTP are NEVER represented here — they stay in their own tables and age out.
|
|
10
8
|
*/
|
|
11
9
|
export const AUTH_FACTOR_TYPES = [
|
|
@@ -20,6 +18,10 @@ export const AUTH_FACTOR_TYPES = [
|
|
|
20
18
|
];
|
|
21
19
|
/** Which factor in the authentication sequence this is. */
|
|
22
20
|
export const AUTH_FACTOR_TIERS = ['FIRST', 'SECOND'];
|
|
23
|
-
|
|
21
|
+
// PENDING = a login credential mid-proof (email/phone first-write before its OTP) — reserved. VERIFIED = a
|
|
22
|
+
// proven login credential. UNVERIFIED = a linking HINT: an OAuth vouched for this email but the owner never
|
|
23
|
+
// proved it, so it is NOT a login credential (can't log in) and several may coexist across accounts — powers
|
|
24
|
+
// only the needs_link linking UI. REVOKED = unlinked. (ENG-7075)
|
|
25
|
+
export const AUTH_FACTOR_STATUSES = ['PENDING', 'VERIFIED', 'UNVERIFIED', 'REVOKED'];
|
|
24
26
|
/** How this factor came to be attached to the account (drives migration/audit). */
|
|
25
27
|
export const AUTH_FACTOR_PROVENANCES = ['SIGNUP', 'EXPLICIT_LINK', 'IMPLICIT_MERGE_LEGACY', 'MIGRATION'];
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Status-model auth envelope returned by
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* This is the canonical auth contract — new SDKs consume it directly instead of
|
|
9
|
-
* a parallel client mirror. (ENG-6910)
|
|
2
|
+
* Status-model auth envelope returned by `/v2/auth`, consumed by the backend and new SDKs.
|
|
3
|
+
* Clerk-style: a single `status` drives the client, with typed per-status fields. Statuses are added
|
|
4
|
+
* additively; an unrecognized one is treated as not-yet-complete (show generic / hand off), never an
|
|
5
|
+
* error (forward-compat). The canonical auth contract — new SDKs consume it directly, not a parallel
|
|
6
|
+
* client mirror. (ENG-6910)
|
|
10
7
|
*/
|
|
11
8
|
/**
|
|
12
|
-
* Flow statuses. Only `needs_verification` and `authenticated` are emitted today;
|
|
13
|
-
*
|
|
14
|
-
* slices that emit them land (credential setup, cross-method link prompt).
|
|
9
|
+
* Flow statuses. Only `needs_verification` and `authenticated` are emitted today; the rest are
|
|
10
|
+
* reserved for forward-stability, emitted as their slices land (credential setup, link prompt).
|
|
15
11
|
*/
|
|
16
12
|
export const AUTH_STATUSES = [
|
|
17
13
|
'needs_verification', // a code was sent; awaiting it
|
|
18
|
-
'needs_credential', //
|
|
14
|
+
'needs_credential', // first factor proven; the session is withheld until the account's share-gate credential is too (ENG-7075)
|
|
19
15
|
'needs_link', // identifier collides with an account from another method — reserved (cross-method linking)
|
|
20
16
|
'needs_second_factor', // first factor passed; awaiting a login-time MFA challenge (ENG-6906)
|
|
21
17
|
'authenticated', // done; a session has been established
|
|
18
|
+
'linked', // a factor-link flow (start+continue with intent:'link') attached the proven factor to the session's account (ENG-7075)
|
|
19
|
+
'needs_step_up', // a factor-link or factor-unlink flow must prove the SESSION's existing account first (ENG-7075)
|
|
20
|
+
'unlinked', // a factor-unlink flow proved the account and revoked the named factor (ENG-7075)
|
|
22
21
|
];
|
|
23
22
|
/**
|
|
24
|
-
* First-factor methods
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
23
|
+
* First-factor methods `/v2/auth` handles: email/phone via a delivered one-time code; external-wallet
|
|
24
|
+
* via a SIWE signature; passkey via a WebAuthn assertion (usernameless — resolved from the credential at
|
|
25
|
+
* `continue`); oauth via a provider redirect (provider rides on the flow, account resolved at
|
|
26
|
+
* `continue`). (ENG-6911)
|
|
28
27
|
*/
|
|
29
28
|
export const AUTH_FLOW_METHODS = ['EMAIL', 'PHONE', 'EXTERNAL_WALLET', 'PASSKEY', 'OAUTH'];
|
|
@@ -10686,6 +10686,20 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10686
10686
|
revokedAt?: string | undefined;
|
|
10687
10687
|
}>;
|
|
10688
10688
|
}, "strict", z.ZodTypeAny, {
|
|
10689
|
+
consent: {
|
|
10690
|
+
userId: string;
|
|
10691
|
+
walletId: string;
|
|
10692
|
+
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10693
|
+
policyVersion: string;
|
|
10694
|
+
policyHash: string;
|
|
10695
|
+
partnerId: string;
|
|
10696
|
+
appId: string;
|
|
10697
|
+
policyId: string;
|
|
10698
|
+
configurationHash?: string | undefined;
|
|
10699
|
+
grantedAt?: string | undefined;
|
|
10700
|
+
expiresAt?: string | undefined;
|
|
10701
|
+
revokedAt?: string | undefined;
|
|
10702
|
+
};
|
|
10689
10703
|
policy: {
|
|
10690
10704
|
id: string;
|
|
10691
10705
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -10806,6 +10820,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10806
10820
|
};
|
|
10807
10821
|
layer: "partner";
|
|
10808
10822
|
};
|
|
10823
|
+
}, {
|
|
10809
10824
|
consent: {
|
|
10810
10825
|
userId: string;
|
|
10811
10826
|
walletId: string;
|
|
@@ -10820,7 +10835,6 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10820
10835
|
expiresAt?: string | undefined;
|
|
10821
10836
|
revokedAt?: string | undefined;
|
|
10822
10837
|
};
|
|
10823
|
-
}, {
|
|
10824
10838
|
policy: {
|
|
10825
10839
|
id: string;
|
|
10826
10840
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -10941,20 +10955,6 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10941
10955
|
};
|
|
10942
10956
|
layer: "partner";
|
|
10943
10957
|
};
|
|
10944
|
-
consent: {
|
|
10945
|
-
userId: string;
|
|
10946
|
-
walletId: string;
|
|
10947
|
-
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10948
|
-
policyVersion: string;
|
|
10949
|
-
policyHash: string;
|
|
10950
|
-
partnerId: string;
|
|
10951
|
-
appId: string;
|
|
10952
|
-
policyId: string;
|
|
10953
|
-
configurationHash?: string | undefined;
|
|
10954
|
-
grantedAt?: string | undefined;
|
|
10955
|
-
expiresAt?: string | undefined;
|
|
10956
|
-
revokedAt?: string | undefined;
|
|
10957
|
-
};
|
|
10958
10958
|
}>;
|
|
10959
10959
|
export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.ZodObject<{
|
|
10960
10960
|
consent: z.ZodObject<{
|
|
@@ -11215,6 +11215,20 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11215
11215
|
previousValues: Record<string, string>;
|
|
11216
11216
|
}>]>>;
|
|
11217
11217
|
}, "strict", z.ZodTypeAny, {
|
|
11218
|
+
consent: {
|
|
11219
|
+
userId: string;
|
|
11220
|
+
walletId: string;
|
|
11221
|
+
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11222
|
+
policyVersion: string;
|
|
11223
|
+
policyHash: string;
|
|
11224
|
+
partnerId: string;
|
|
11225
|
+
appId: string;
|
|
11226
|
+
policyId: string;
|
|
11227
|
+
configurationHash?: string | undefined;
|
|
11228
|
+
grantedAt?: string | undefined;
|
|
11229
|
+
expiresAt?: string | undefined;
|
|
11230
|
+
revokedAt?: string | undefined;
|
|
11231
|
+
};
|
|
11218
11232
|
settings: {
|
|
11219
11233
|
userId: string;
|
|
11220
11234
|
status: "ready";
|
|
@@ -11352,6 +11366,7 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11352
11366
|
window?: string | undefined;
|
|
11353
11367
|
}[];
|
|
11354
11368
|
}) | null;
|
|
11369
|
+
}, {
|
|
11355
11370
|
consent: {
|
|
11356
11371
|
userId: string;
|
|
11357
11372
|
walletId: string;
|
|
@@ -11366,7 +11381,6 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11366
11381
|
expiresAt?: string | undefined;
|
|
11367
11382
|
revokedAt?: string | undefined;
|
|
11368
11383
|
};
|
|
11369
|
-
}, {
|
|
11370
11384
|
settings: {
|
|
11371
11385
|
userId: string;
|
|
11372
11386
|
status: "ready";
|
|
@@ -11504,20 +11518,6 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11504
11518
|
window?: string | undefined;
|
|
11505
11519
|
}[];
|
|
11506
11520
|
}) | null;
|
|
11507
|
-
consent: {
|
|
11508
|
-
userId: string;
|
|
11509
|
-
walletId: string;
|
|
11510
|
-
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11511
|
-
policyVersion: string;
|
|
11512
|
-
policyHash: string;
|
|
11513
|
-
partnerId: string;
|
|
11514
|
-
appId: string;
|
|
11515
|
-
policyId: string;
|
|
11516
|
-
configurationHash?: string | undefined;
|
|
11517
|
-
grantedAt?: string | undefined;
|
|
11518
|
-
expiresAt?: string | undefined;
|
|
11519
|
-
revokedAt?: string | undefined;
|
|
11520
|
-
};
|
|
11521
11521
|
}>;
|
|
11522
11522
|
export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.ZodObject<{
|
|
11523
11523
|
requests: z.ZodArray<z.ZodObject<{
|
|
@@ -13223,6 +13223,20 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13223
13223
|
revokedAt?: string | undefined;
|
|
13224
13224
|
}>;
|
|
13225
13225
|
}, "strict", z.ZodTypeAny, {
|
|
13226
|
+
consent: {
|
|
13227
|
+
userId: string;
|
|
13228
|
+
walletId: string;
|
|
13229
|
+
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13230
|
+
policyVersion: string;
|
|
13231
|
+
policyHash: string;
|
|
13232
|
+
partnerId: string;
|
|
13233
|
+
appId: string;
|
|
13234
|
+
policyId: string;
|
|
13235
|
+
configurationHash?: string | undefined;
|
|
13236
|
+
grantedAt?: string | undefined;
|
|
13237
|
+
expiresAt?: string | undefined;
|
|
13238
|
+
revokedAt?: string | undefined;
|
|
13239
|
+
};
|
|
13226
13240
|
policy: {
|
|
13227
13241
|
id: string;
|
|
13228
13242
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13343,6 +13357,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13343
13357
|
};
|
|
13344
13358
|
layer: "partner";
|
|
13345
13359
|
};
|
|
13360
|
+
}, {
|
|
13346
13361
|
consent: {
|
|
13347
13362
|
userId: string;
|
|
13348
13363
|
walletId: string;
|
|
@@ -13357,7 +13372,6 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13357
13372
|
expiresAt?: string | undefined;
|
|
13358
13373
|
revokedAt?: string | undefined;
|
|
13359
13374
|
};
|
|
13360
|
-
}, {
|
|
13361
13375
|
policy: {
|
|
13362
13376
|
id: string;
|
|
13363
13377
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13478,6 +13492,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13478
13492
|
};
|
|
13479
13493
|
layer: "partner";
|
|
13480
13494
|
};
|
|
13495
|
+
}>, "many">;
|
|
13496
|
+
}, "strict", z.ZodTypeAny, {
|
|
13497
|
+
requests: {
|
|
13481
13498
|
consent: {
|
|
13482
13499
|
userId: string;
|
|
13483
13500
|
walletId: string;
|
|
@@ -13492,9 +13509,6 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13492
13509
|
expiresAt?: string | undefined;
|
|
13493
13510
|
revokedAt?: string | undefined;
|
|
13494
13511
|
};
|
|
13495
|
-
}>, "many">;
|
|
13496
|
-
}, "strict", z.ZodTypeAny, {
|
|
13497
|
-
requests: {
|
|
13498
13512
|
policy: {
|
|
13499
13513
|
id: string;
|
|
13500
13514
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13615,6 +13629,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13615
13629
|
};
|
|
13616
13630
|
layer: "partner";
|
|
13617
13631
|
};
|
|
13632
|
+
}[];
|
|
13633
|
+
}, {
|
|
13634
|
+
requests: {
|
|
13618
13635
|
consent: {
|
|
13619
13636
|
userId: string;
|
|
13620
13637
|
walletId: string;
|
|
@@ -13629,9 +13646,6 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13629
13646
|
expiresAt?: string | undefined;
|
|
13630
13647
|
revokedAt?: string | undefined;
|
|
13631
13648
|
};
|
|
13632
|
-
}[];
|
|
13633
|
-
}, {
|
|
13634
|
-
requests: {
|
|
13635
13649
|
policy: {
|
|
13636
13650
|
id: string;
|
|
13637
13651
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13752,20 +13766,6 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13752
13766
|
};
|
|
13753
13767
|
layer: "partner";
|
|
13754
13768
|
};
|
|
13755
|
-
consent: {
|
|
13756
|
-
userId: string;
|
|
13757
|
-
walletId: string;
|
|
13758
|
-
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13759
|
-
policyVersion: string;
|
|
13760
|
-
policyHash: string;
|
|
13761
|
-
partnerId: string;
|
|
13762
|
-
appId: string;
|
|
13763
|
-
policyId: string;
|
|
13764
|
-
configurationHash?: string | undefined;
|
|
13765
|
-
grantedAt?: string | undefined;
|
|
13766
|
-
expiresAt?: string | undefined;
|
|
13767
|
-
revokedAt?: string | undefined;
|
|
13768
|
-
};
|
|
13769
13769
|
}[];
|
|
13770
13770
|
}>;
|
|
13771
13771
|
export declare const permissionsV2ValidationErrorSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissionsV2.d.ts","sourceRoot":"","sources":["../../../src/schemas/permissionsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,iCAAiC,wDAAyD,CAAC;AACxG,eAAO,MAAM,mCAAmC,kQAWtC,CAAC;AACX,eAAO,MAAM,gCAAgC,sPAanC,CAAC;AAGX,MAAM,MAAM,6CAA6C,GAAG;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AACF,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAAC,6CAA6C,CAKlG,CAAC;AAMZ,eAAO,MAAM,8BAA8B,gCAA8B,CAAC;AAC1E,eAAO,MAAM,6BAA6B,wCAAsC,CAAC;AACjF,eAAO,MAAM,+BAA+B,kDAAgD,CAAC;AAC7F,eAAO,MAAM,kCAAkC,yDAAuD,CAAC;AACvG,eAAO,MAAM,oCAAoC,uCAAqC,CAAC;AACvF,eAAO,MAAM,oCAAoC,0DAA4C,CAAC;AAC9F,eAAO,MAAM,sCAAsC,oQAA8C,CAAC;AAClG,eAAO,MAAM,qCAAqC,wPAA2C,CAAC;AAE9F,KAAK,wCAAwC,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AACjF,KAAK,oCAAoC,GACrC,wCAAwC,GACxC,oCAAoC,EAAE,GACtC;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,oCAAoC,CAAA;CAAE,CAAC;AAE5D,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAKjG,CA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0BAGnD,WAAW;0BACX,MAAM;wBACR,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC;2BACjD,MAAM;4BACL,MAAM;4BACN,MAAM;gCACF,6CAA6C;;0BAGnD,KAAK;wBACP,kCAAkC,EAAE;;0BAGlC,KAAK;wBACP,kCAAkC,EAAE;;0BAGlC,KAAK;wBACP,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2uBjC,CAAC;AAEZ,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAMpC,CAAC"}
|
|
@@ -139,10 +139,34 @@ export type TelegramAuthResponse = {
|
|
|
139
139
|
photo_url?: string;
|
|
140
140
|
username?: string;
|
|
141
141
|
};
|
|
142
|
+
/**
|
|
143
|
+
* The v2 identity block: a backend-built projection of who the user is, returned on /touch so every SDK
|
|
144
|
+
* (web/swift/flutter/go) gets a uniform identity without re-deriving it client-side. The key is always
|
|
145
|
+
* `userId`; `loginMethod` is the factor used for THIS login. These are the clean identity FACTS — each SDK
|
|
146
|
+
* maps them to its own account shape (the web SDK backfills its deprecated `authType`/`identifier` from these
|
|
147
|
+
* client-side; those legacy names never enter this block). Custom OAuth/OIDC carry the specific connection.
|
|
148
|
+
* (ENG-7075)
|
|
149
|
+
*/
|
|
150
|
+
export type SessionIdentity = {
|
|
151
|
+
userId: string;
|
|
152
|
+
/** The factor used this login: EMAIL | PHONE | GOOGLE | … | CUSTOM_OAUTH | CUSTOM_OIDC | EXTERNAL_WALLET. */
|
|
153
|
+
loginMethod: LoginMethod;
|
|
154
|
+
email?: string;
|
|
155
|
+
phone?: string;
|
|
156
|
+
externalWalletAddress?: string;
|
|
157
|
+
displayName?: string;
|
|
158
|
+
/** Profile picture URL from the provider (Telegram/Farcaster today; standard-OAuth capture is a follow-up). */
|
|
159
|
+
pfpUrl?: string;
|
|
160
|
+
/** Custom OAuth/OIDC only: the connection's stable handle + human-readable label (e.g. "Acme SSO"). */
|
|
161
|
+
connectionHandle?: string;
|
|
162
|
+
connectionLabel?: string;
|
|
163
|
+
};
|
|
142
164
|
export type SessionInfo = {
|
|
143
165
|
userId?: string;
|
|
144
166
|
sessionId?: string;
|
|
145
167
|
sessionLookupId?: string;
|
|
168
|
+
/** v2 backend-built identity projection (factor + legacy-compat identity + display). (ENG-7075) */
|
|
169
|
+
identity?: SessionIdentity;
|
|
146
170
|
partnerId: string;
|
|
147
171
|
biometricVerifiedAt?: number;
|
|
148
172
|
currentWalletIds?: CurrentWalletIds;
|
|
@@ -158,7 +182,29 @@ export type SessionInfo = {
|
|
|
158
182
|
* the SDK must not clobber a known-good local value with `undefined`. (ENG-7075)
|
|
159
183
|
*/
|
|
160
184
|
isEnclaveUser?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* The account's enrolled auth methods at mint (v2-minted sessions only) — the SDK's setup-vs-unlock signal:
|
|
187
|
+
* empty + !isEnclaveUser ⇒ a fresh credential-partner account that must CREATE its share-gate credential
|
|
188
|
+
* before wallet creation. (ENG-7075)
|
|
189
|
+
*/
|
|
190
|
+
authMethods?: TAuthMethod[];
|
|
161
191
|
isAuthenticated?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Whether this session's account was CREATED in the auth flow that minted it (link → false, create-separate /
|
|
194
|
+
* fresh signup → true) — the authoritative isNewUser. The SDK can't infer this from wallets (a wallet-less
|
|
195
|
+
* linked account looks identical to a fresh one), so it reads it here. Stamped at mint; v2-minted sessions
|
|
196
|
+
* only, `undefined` on legacy = no opinion. (ENG-7075)
|
|
197
|
+
*/
|
|
198
|
+
isNewUser?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* The initiating auth flow's current phase, surfaced to the SDK's own /touch poll during a portal handoff so
|
|
201
|
+
* the SDK chrome can reflect what the portal is doing without seeing the (portal-only) details. Today the one
|
|
202
|
+
* phase the chrome acts on is `needs_link` — the flow is parked awaiting the user's link/create/select
|
|
203
|
+
* decision, so the header/copy read "Link Account"/"Linking…" instead of guessing signup from `isNewUser`.
|
|
204
|
+
* Extensible to other portal-intermediate phases (verify, 2fa) without a new boolean each time. Absent once
|
|
205
|
+
* the session is authenticated (the phase is over) and on the legacy rail. (ENG-6911)
|
|
206
|
+
*/
|
|
207
|
+
flowStatus?: 'needs_link';
|
|
162
208
|
supportedWalletTypes: SupportedWalletTypes;
|
|
163
209
|
cosmosPrefix?: string;
|
|
164
210
|
origin?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE1G,eAAO,MAAM,UAAU,wIAYb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,OAAO,GACP,aAAa,GACb,WAAW,GACX,UAAU,GACV,QAAQ,GACR,gBAAgB,GAChB,SAAS,GACT,GAAG,GACH,UAAU,GACV,SAAS,CAAC;AAEd,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,GAAG,gBAAgB,CAAC,CAAC;AAEjH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,eAAe,EAAE,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAAC,CAAC;AAE9F,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,eAAe,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,EAAE,SAAS,GAAG,GAAG,GAAG,UAAU,CAAC,CAAC;AAE1H,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,QAAQ,GAAG,KAAK,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,MAAM,EAAE,GAAG,MAAM,CAAC;AAEnG,MAA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AE,oBAAoB,CAAC;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,8LAQhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,SAAS,GAAG,sBAAsB,GAAG,qBAAqB,CAAC;AAExG,oBAAY,cAAc;IACxB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { TOAuthMethod } from './auth.js';
|
|
2
2
|
import { TExternalWalletType, TExternalWallet } from './wallet.js';
|
|
3
3
|
/**
|
|
4
|
-
* Auth factors are the ways an account authenticates: the identity-bearing
|
|
5
|
-
*
|
|
6
|
-
* SECOND factors. This is the correct "authentication factor" model.
|
|
4
|
+
* Auth factors are the ways an account authenticates: the identity-bearing FIRST factors (email, phone,
|
|
5
|
+
* OAuth, external wallet) plus, going forward, SECOND factors.
|
|
7
6
|
*
|
|
8
|
-
* NOTE: distinct from the legacy `AuthMethod` enum (PASSWORD/PASSKEY/PIN/
|
|
9
|
-
*
|
|
10
|
-
* being retired with the enclave migration. Existing passkeys/PINs/passwords/
|
|
7
|
+
* NOTE: distinct from the legacy `AuthMethod` enum (PASSWORD/PASSKEY/PIN/BASIC_LOGIN) — legacy
|
|
8
|
+
* credential/unlock methods being retired with the enclave migration. Existing passkeys/PINs/passwords/
|
|
11
9
|
* TOTP are NEVER represented here — they stay in their own tables and age out.
|
|
12
10
|
*/
|
|
13
11
|
export declare const AUTH_FACTOR_TYPES: readonly ["EMAIL", "PHONE", "OAUTH", "PASSKEY", "PASSWORD", "PIN", "TOTP", "EXTERNAL_WALLET"];
|
|
@@ -15,26 +13,23 @@ export type TAuthFactorType = (typeof AUTH_FACTOR_TYPES)[number];
|
|
|
15
13
|
/** Which factor in the authentication sequence this is. */
|
|
16
14
|
export declare const AUTH_FACTOR_TIERS: readonly ["FIRST", "SECOND"];
|
|
17
15
|
export type TAuthFactorTier = (typeof AUTH_FACTOR_TIERS)[number];
|
|
18
|
-
export declare const AUTH_FACTOR_STATUSES: readonly ["PENDING", "VERIFIED", "REVOKED"];
|
|
16
|
+
export declare const AUTH_FACTOR_STATUSES: readonly ["PENDING", "VERIFIED", "UNVERIFIED", "REVOKED"];
|
|
19
17
|
export type TAuthFactorStatus = (typeof AUTH_FACTOR_STATUSES)[number];
|
|
20
18
|
/** How this factor came to be attached to the account (drives migration/audit). */
|
|
21
19
|
export declare const AUTH_FACTOR_PROVENANCES: readonly ["SIGNUP", "EXPLICIT_LINK", "IMPLICIT_MERGE_LEGACY", "MIGRATION"];
|
|
22
20
|
export type TAuthFactorProvenance = (typeof AUTH_FACTOR_PROVENANCES)[number];
|
|
23
21
|
/**
|
|
24
|
-
* Provider behind a factor: OAuth providers (GOOGLE/APPLE/…) or external-wallet
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* providers. The psql column stays plain `text`.
|
|
22
|
+
* Provider behind a factor: OAuth providers (GOOGLE/APPLE/…) or external-wallet providers
|
|
23
|
+
* (METAMASK/PHANTOM/…). Typed as the known unions for autocomplete but left open to any string so we
|
|
24
|
+
* aren't limited to today's providers. The psql column stays plain `text`.
|
|
28
25
|
*/
|
|
29
26
|
export type TAuthFactorProvider = TOAuthMethod | TExternalWallet | (string & {});
|
|
30
27
|
/**
|
|
31
|
-
* Canonical shape of an auth factor (the `auth_factors` row) — the thin
|
|
32
|
-
*
|
|
33
|
-
* backend and new SDKs.
|
|
28
|
+
* Canonical shape of an auth factor (the `auth_factors` row) — the thin identity/tier/status index over an
|
|
29
|
+
* account's login factors. Consumed by the backend and new SDKs.
|
|
34
30
|
*
|
|
35
|
-
* The credential secret (
|
|
36
|
-
*
|
|
37
|
-
* biometrics / two_factor_authentications). In E1 the secret-bearing types are
|
|
31
|
+
* The credential secret (PASSKEY/PASSWORD/PIN/TOTP) is NOT stored here; `mechanicId` points at the row in the
|
|
32
|
+
* mechanic table (passwords / biometrics / two_factor_authentications). In E1 the secret-bearing types are
|
|
38
33
|
* never populated and `mechanicId` stays null.
|
|
39
34
|
*/
|
|
40
35
|
export type AuthFactor<D extends Date | string = Date> = {
|
|
@@ -53,9 +48,8 @@ export type AuthFactor<D extends Date | string = Date> = {
|
|
|
53
48
|
metadata?: Record<string, unknown> | null;
|
|
54
49
|
provenance: TAuthFactorProvenance;
|
|
55
50
|
/**
|
|
56
|
-
* FK to the mechanic-table row holding the secret (
|
|
57
|
-
*
|
|
58
|
-
* Currently always null.
|
|
51
|
+
* FK to the mechanic-table row holding the secret (PASSKEY/PASSWORD/PIN/TOTP). Exactly one is set on a
|
|
52
|
+
* secret-bearing factor; all null otherwise. Currently always null.
|
|
59
53
|
*/
|
|
60
54
|
passwordId?: string | null;
|
|
61
55
|
biometricId?: string | null;
|
|
@@ -66,9 +60,49 @@ export type AuthFactor<D extends Date | string = Date> = {
|
|
|
66
60
|
updatedAt: D;
|
|
67
61
|
};
|
|
68
62
|
/**
|
|
69
|
-
* A
|
|
70
|
-
*
|
|
71
|
-
*
|
|
63
|
+
* A display-ready projection of an auth factor for the account-management UI (list / unlink). DE-NORMALIZED
|
|
64
|
+
* for presentation vs the raw `AuthFactor` row: `identifier` is the human value (an OAuth factor's
|
|
65
|
+
* `"<provider>:<subject>"` stripped back to `<subject>`, matching the legacy linked-account UI), and
|
|
66
|
+
* `displayName`/`pfpUrl` are lifted out of `metadata`. The two flags carry the unlink guardrails to the
|
|
67
|
+
* client so the UI can disable the control without re-deriving the rule: `isCurrentSessionFactor` marks the
|
|
68
|
+
* factor that authenticated the calling session, `isUnlinkable` is false for that factor AND for the
|
|
69
|
+
* account's last remaining usable factor. Covers every listable type: EMAIL / PHONE / OAUTH /
|
|
70
|
+
* EXTERNAL_WALLET / CUSTOM_OAUTH+CUSTOM_OIDC (both carried on OAUTH). (ENG-7075)
|
|
71
|
+
*/
|
|
72
|
+
export type AuthFactorView<D extends Date | string = Date> = {
|
|
73
|
+
id: string;
|
|
74
|
+
type: TAuthFactorType;
|
|
75
|
+
/** OAuth provider (GOOGLE/…/CUSTOM_OAUTH/CUSTOM_OIDC) or wallet provider (METAMASK/…). */
|
|
76
|
+
provider?: TAuthFactorProvider | null;
|
|
77
|
+
/** Human identifier: email / E.164 phone / wallet address / OAuth subject (de-namespaced from the factor). */
|
|
78
|
+
identifier: string;
|
|
79
|
+
/** Chain for EXTERNAL_WALLET factors. */
|
|
80
|
+
chainType?: TExternalWalletType | null;
|
|
81
|
+
/** Provider display name (lifted from metadata), when the provider supplied one. */
|
|
82
|
+
displayName?: string;
|
|
83
|
+
/** Provider profile-picture URL (lifted from metadata), when available. */
|
|
84
|
+
pfpUrl?: string;
|
|
85
|
+
status: TAuthFactorStatus;
|
|
86
|
+
provenance: TAuthFactorProvenance;
|
|
87
|
+
/** The partner-configured connection (partner_oauth_configs.handle) that created this factor, when any. */
|
|
88
|
+
providerConfigHandle?: string | null;
|
|
89
|
+
/** The custom connection's human label (partner_oauth_configs.label, e.g. "Acme SSO") — so the UI shows the
|
|
90
|
+
* connection name instead of a slug/subject. Custom OAuth/OIDC only. (ENG-7075) */
|
|
91
|
+
connectionLabel?: string;
|
|
92
|
+
createdAt: D;
|
|
93
|
+
verifiedAt?: D | null;
|
|
94
|
+
/** True for the exact factor the calling session authenticated with — never unlinkable (guardrail b). */
|
|
95
|
+
isCurrentSessionFactor: boolean;
|
|
96
|
+
/** False for the current-session factor and for the account's last remaining usable factor (guardrails a+b). */
|
|
97
|
+
isUnlinkable: boolean;
|
|
98
|
+
};
|
|
99
|
+
/** Response of the v2 list-factors endpoint. */
|
|
100
|
+
export type ListAuthFactorsResponse<D extends Date | string = Date> = {
|
|
101
|
+
factors: AuthFactorView<D>[];
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* A wallet connected for use only (not an auth factor). Also the billing record for connection-only MAUs.
|
|
105
|
+
* `userId` is null for a pure connection (one with no associated account).
|
|
72
106
|
*/
|
|
73
107
|
export type ConnectedWallet<D extends Date | string = Date> = {
|
|
74
108
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authFactor.d.ts","sourceRoot":"","sources":["../../../src/types/authFactor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"authFactor.d.ts","sourceRoot":"","sources":["../../../src/types/authFactor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnE;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,+FASpB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,8BAA+B,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAMjE,eAAO,MAAM,oBAAoB,2DAA4D,CAAC;AAE9F,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,4EAA6E,CAAC;AAElH,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEj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s consume it directly instead of
|
|
9
|
-
* a parallel client mirror. (ENG-6910)
|
|
2
|
+
* Status-model auth envelope returned by `/v2/auth`, consumed by the backend and new SDKs.
|
|
3
|
+
* Clerk-style: a single `status` drives the client, with typed per-status fields. Statuses are added
|
|
4
|
+
* additively; an unrecognized one is treated as not-yet-complete (show generic / hand off), never an
|
|
5
|
+
* error (forward-compat). The canonical auth contract — new SDKs consume it directly, not a parallel
|
|
6
|
+
* client mirror. (ENG-6910)
|
|
10
7
|
*/
|
|
11
|
-
import type {
|
|
8
|
+
import type { AuthFactorView } from './authFactor.js';
|
|
9
|
+
import type { MfaChallenge, TAuthMethod, TelegramAuthResponse, TOAuthMethod } from './auth.js';
|
|
12
10
|
import type { DeliveryChannel } from './otp.js';
|
|
13
11
|
import type { TWalletType } from './wallet.js';
|
|
14
12
|
/**
|
|
15
|
-
* Flow statuses. Only `needs_verification` and `authenticated` are emitted today;
|
|
16
|
-
*
|
|
17
|
-
* slices that emit them land (credential setup, cross-method link prompt).
|
|
13
|
+
* Flow statuses. Only `needs_verification` and `authenticated` are emitted today; the rest are
|
|
14
|
+
* reserved for forward-stability, emitted as their slices land (credential setup, link prompt).
|
|
18
15
|
*/
|
|
19
|
-
export declare const AUTH_STATUSES: readonly ["needs_verification", "needs_credential", "needs_link", "needs_second_factor", "authenticated"];
|
|
16
|
+
export declare const AUTH_STATUSES: readonly ["needs_verification", "needs_credential", "needs_link", "needs_second_factor", "authenticated", "linked", "needs_step_up", "unlinked"];
|
|
20
17
|
export type TAuthStatus = (typeof AUTH_STATUSES)[number];
|
|
21
18
|
/**
|
|
22
|
-
* First-factor methods
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
19
|
+
* First-factor methods `/v2/auth` handles: email/phone via a delivered one-time code; external-wallet
|
|
20
|
+
* via a SIWE signature; passkey via a WebAuthn assertion (usernameless — resolved from the credential at
|
|
21
|
+
* `continue`); oauth via a provider redirect (provider rides on the flow, account resolved at
|
|
22
|
+
* `continue`). (ENG-6911)
|
|
26
23
|
*/
|
|
27
24
|
export declare const AUTH_FLOW_METHODS: readonly ["EMAIL", "PHONE", "EXTERNAL_WALLET", "PASSKEY", "OAUTH"];
|
|
28
25
|
export type TAuthFlowMethod = (typeof AUTH_FLOW_METHODS)[number];
|
|
@@ -38,132 +35,243 @@ export type AuthVerification = {
|
|
|
38
35
|
};
|
|
39
36
|
/**
|
|
40
37
|
* The auth-flow envelope. `flowId` + `expiresAt` are the resumable handle
|
|
41
|
-
* (`GET /v2/auth/flows/{flowId}`). `accountId` stays null until `authenticated`
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
|
|
38
|
+
* (`GET /v2/auth/flows/{flowId}`). `accountId` stays null until `authenticated`/`linked` so a pending
|
|
39
|
+
* flow never reveals whether the account already existed (enumeration-safe). Session is cookie-based —
|
|
40
|
+
* `authenticated` + the `Set-Cookie` is the signal, so no token in the body.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Coarse summary of the EXISTING account on a `needs_link` collision — enough for the linking UI to show the
|
|
44
|
+
* value-prop ("link to reuse these N wallets") without exposing the account's id or identifier. Ships only once
|
|
45
|
+
* the incoming identity is proven (the needs_link prompt is post-proof). (ENG-7075)
|
|
46
|
+
*/
|
|
47
|
+
export type LinkExistingAccountSummary = {
|
|
48
|
+
/** How many wallets the existing account holds. */
|
|
49
|
+
walletCount: number;
|
|
50
|
+
/** The account's login methods (its OAuth redirect providers + EMAIL/PHONE). The card composes these into one
|
|
51
|
+
* label ("Google + Twitter") so a single account that owns several reads as ONE account, not several. */
|
|
52
|
+
methods: (TAuthFlowMethod | TOAuthMethod)[];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* One selectable account when a `needs_link` email is vouched by MORE THAN ONE existing account. `handle` is an
|
|
56
|
+
* opaque, flow-scoped reference (never the account id) the client passes back as `link.handle` to choose which
|
|
57
|
+
* account to link into; the server maps it to the real account. (ENG-7075)
|
|
45
58
|
*/
|
|
59
|
+
export type LinkCandidate = LinkExistingAccountSummary & {
|
|
60
|
+
handle: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* One step-up option for proving the existing account. OAuth providers carry only `method` (the redirect
|
|
64
|
+
* handshake identifies the account). EMAIL/PHONE carry a per-factor `handle` (opaque factor reference — never the
|
|
65
|
+
* row id's meaning) the client passes back as `link.handle` to pick THAT specific address/number, plus a
|
|
66
|
+
* `maskedIdentifier` for display (e.g. "t•••@gmail.com", "•••1234") — the full value never leaves the backend.
|
|
67
|
+
* An account with several emails/phones surfaces one option per factor so the user chooses which to verify.
|
|
68
|
+
* `handle`/`maskedIdentifier` are present only when the INCOMING identity is itself proven (a trusted+verified
|
|
69
|
+
* provider email, or an OTP the caller passed); an unverifiable claim gets bare method names. (ENG-6911)
|
|
70
|
+
*/
|
|
71
|
+
export type StepUpOption = {
|
|
72
|
+
method: TAuthFlowMethod | TOAuthMethod;
|
|
73
|
+
handle?: string;
|
|
74
|
+
maskedIdentifier?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The real identifier, present ONLY on the authenticated factor-link rail (`needs_step_up`), where the caller
|
|
77
|
+
* is already signed in AS this factor — masking there hides nothing they cannot already see, and makes "where
|
|
78
|
+
* did the code go" needlessly unclear. Never sent on a `needs_link` collision: there the caller may not own
|
|
79
|
+
* the account, so `maskedIdentifier` is all they get. Prefer this for display when present. (ENG-7075)
|
|
80
|
+
*/
|
|
81
|
+
identifier?: string;
|
|
82
|
+
};
|
|
46
83
|
export type AuthState = {
|
|
47
84
|
status: TAuthStatus;
|
|
48
85
|
flowId: string;
|
|
49
86
|
/**
|
|
50
|
-
* ISO-8601 expiry of the flow handle. Present while
|
|
51
|
-
*
|
|
87
|
+
* ISO-8601 expiry of the flow handle. Present while pending; omitted once `authenticated` (the flow
|
|
88
|
+
* is gone, the session has its own lifetime).
|
|
52
89
|
*/
|
|
53
90
|
expiresAt?: string;
|
|
54
|
-
/** Resolved account id; null until `status
|
|
91
|
+
/** Resolved account id; null until `status` is `'authenticated'` or `'linked'`. */
|
|
55
92
|
accountId?: string | null;
|
|
56
93
|
/**
|
|
57
94
|
* Whether this `/start` (or `authenticated`) *created a new account row* vs resumed an existing one. v2
|
|
58
|
-
* never discards an account, so a resumed
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
95
|
+
* never discards an account, so a resumed one — even a never-verified stub — reads `false`. CLIENT: decide
|
|
96
|
+
* setup-vs-unlock from **empty `authMethods`** (no credential ⇒ setup), not `isNewUser` alone — a
|
|
97
|
+
* resumed-but-unset-up account is `isNewUser: false` with no methods. Present on `authenticated` and, for
|
|
98
|
+
* account-resolved-at-start flows (email/phone, external wallet), on `needs_verification`. See the exposure
|
|
99
|
+
* note on `authMethods`. (ENG-7075)
|
|
63
100
|
*/
|
|
64
101
|
isNewUser?: boolean;
|
|
65
102
|
/**
|
|
66
103
|
* Whether the account's MPC user-share IS or WILL BE enclave-custodied (basic-login) vs credential-protected.
|
|
67
|
-
* The authoritative key-share-path signal —
|
|
68
|
-
* "`BASIC_LOGIN` ⇒ enclave" rule. For a not-yet-set-up account
|
|
69
|
-
*
|
|
70
|
-
* the
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* (email/phone, external wallet). (ENG-7075)
|
|
104
|
+
* The authoritative key-share-path signal — backend-asserted so the SDK doesn't re-encode the
|
|
105
|
+
* "`BASIC_LOGIN` ⇒ enclave" rule. For a not-yet-set-up account on a BASIC_LOGIN partner this predicts `true`
|
|
106
|
+
* from the CURRENT partner's methods (so the first wallet is minted enclave-custodied) — hence partner-scoped:
|
|
107
|
+
* the same account can read differently across partners. Present on `authenticated` (mirrors the session
|
|
108
|
+
* stamp) and, for account-resolved-at-start flows (email/phone, external wallet), on `needs_verification`
|
|
109
|
+
* (emitted at `/start`, before any mint). (ENG-7075)
|
|
74
110
|
*/
|
|
75
111
|
isEnclaveUser?: boolean;
|
|
76
112
|
/**
|
|
77
|
-
* The account's enrolled auth methods
|
|
78
|
-
* (`PASSKEY`/`PASSWORD`/`PIN`); the enclave decision itself comes from `isEnclaveUser
|
|
79
|
-
*
|
|
80
|
-
* account-resolved-at-start flows (email/phone, external wallet)
|
|
81
|
-
* pre-verification screen (which method to offer).
|
|
113
|
+
* The account's enrolled auth methods, read by the SDK for the credential/method UI
|
|
114
|
+
* (`PASSKEY`/`PASSWORD`/`PIN`); the enclave decision itself comes from `isEnclaveUser`. Mirrors the legacy
|
|
115
|
+
* `done` stage's `authMethods`. Present on `authenticated`, and on `needs_verification` for
|
|
116
|
+
* account-resolved-at-start flows (email/phone, external wallet) to personalize the pre-verification screen.
|
|
82
117
|
*
|
|
83
|
-
* EXPOSURE NOTE: emitting this (
|
|
84
|
-
* `needs_verification` is pre-ownership-proof, so it discloses account existence + auth posture
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* (
|
|
91
|
-
*
|
|
92
|
-
*
|
|
118
|
+
* EXPOSURE NOTE: emitting this (plus `isNewUser`/`isEnclaveUser`/`hasPasswordWithoutPIN`) on
|
|
119
|
+
* `needs_verification` is pre-ownership-proof, so it discloses account existence + auth posture. The caller
|
|
120
|
+
* set is effectively PUBLIC, not partner-only: the `x-external-api-key` gating `/internal/v1/auth/start` is a
|
|
121
|
+
* publishable key shipped in every partner's frontend bundle and CORS is open, so anyone can lift it and
|
|
122
|
+
* probe `does this address have a Para account / how is it protected`. Deliberate: the client needs it to
|
|
123
|
+
* render the pre-verification screen, and the same data is already visible on any Para-integrated site. We
|
|
124
|
+
* still withhold `accountId`/PII (null until `authenticated`/`linked`) — STRICTER than legacy
|
|
125
|
+
* (`/users/init`'s login stage returned `userId`); "parity with legacy" is only directional (legacy emits a
|
|
126
|
+
* method list only for accounts passing `userIsComplete`). SIGNED OFF (security review, 2026-09-16): measured
|
|
127
|
+
* against `/users/exists` (keyed calls from any origin) and the legacy `stage:'login'` response (which returns
|
|
128
|
+
* `userId` + `loginAuthMethods` pre-OTP), v2 discloses at or below that level, behind `userCreateRateLimiter`.
|
|
129
|
+
* (ENG-7075)
|
|
93
130
|
*/
|
|
94
131
|
authMethods?: TAuthMethod[];
|
|
95
132
|
/**
|
|
96
|
-
* Whether the account has a real (non-PIN) password. `authMethods` reports `PASSWORD` even for a
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
133
|
+
* Whether the account has a real (non-PIN) password. `authMethods` reports `PASSWORD` even for a PIN-only
|
|
134
|
+
* account (legacy-SDK compat), so the SDK needs this to distinguish password from PIN. Mirrors the legacy
|
|
135
|
+
* `login` stage's field. Present on `authenticated`, and on `needs_verification` for
|
|
136
|
+
* account-resolved-at-start flows (email/phone, external wallet). (ENG-7075)
|
|
100
137
|
*/
|
|
101
138
|
hasPasswordWithoutPIN?: boolean;
|
|
102
139
|
verification?: AuthVerification;
|
|
103
140
|
/** The login-time MFA challenge in flight (present while `needs_second_factor`). (ENG-6906) */
|
|
104
141
|
secondFactor?: MfaChallenge;
|
|
105
142
|
/**
|
|
106
|
-
* Present while `needs_verification` for a signature-based
|
|
107
|
-
*
|
|
143
|
+
* Present while `needs_verification` for a signature-based proof: the external-wallet SIWE message, the
|
|
144
|
+
* passkey WebAuthn challenge, or (email/phone, returning account holding a PASSKEY) the assertion challenge
|
|
145
|
+
* the portal's passkey-unlock signs. Sent back to `continue`. (ENG-6911, ENG-7075)
|
|
108
146
|
*/
|
|
109
147
|
challenge?: {
|
|
110
148
|
message: string;
|
|
111
149
|
};
|
|
112
150
|
/**
|
|
113
|
-
* Present while `needs_verification` for OAuth: the provider authorization URL
|
|
114
|
-
*
|
|
115
|
-
* with the `flowId` to finish. (ENG-6911)
|
|
151
|
+
* Present while `needs_verification` for OAuth: the provider authorization URL to navigate to. The
|
|
152
|
+
* provider calls our callback out-of-band; the client polls `continue` with the `flowId` to finish. (ENG-6911)
|
|
116
153
|
*/
|
|
117
154
|
redirect?: {
|
|
118
155
|
url: string;
|
|
119
156
|
};
|
|
120
157
|
/**
|
|
121
|
-
* Present when `status === 'needs_link'`:
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
158
|
+
* Present when `status === 'needs_link'`: this login's identifier collides with an account established by a
|
|
159
|
+
* different method. The account's id/identifier are never exposed — only a coarse, post-proof
|
|
160
|
+
* `existingAccount` summary (wallet count + a representative method) for the linking card. `mode` makes the
|
|
161
|
+
* required action explicit:
|
|
162
|
+
* - `{ mode: 'consent' }` — the incoming login already CRYPTOGRAPHICALLY proved the identifier (a trusted+
|
|
163
|
+
* verified OAuth email), so linking is one-click: `link: { action: 'link' }`, no method.
|
|
164
|
+
* - `{ mode: 'step_up', methods }` — identifier NOT self-proven, so prove the existing account by re-proving
|
|
165
|
+
* ONE of `methods` (each passed back as `link.method`): an OTP method (`EMAIL`/`PHONE`) or an OAuth provider
|
|
166
|
+
* (re-runs that handshake). Empty `methods` ⇒ no step-up available, client can only create separate.
|
|
167
|
+
* - `{ mode: 'select', candidates }` — the identifier is vouched by MORE THAN ONE existing account; the client
|
|
168
|
+
* picks one (`link: { action: 'select', handle }`), then the flow re-surfaces `step_up` for that account.
|
|
169
|
+
* The client either links (consent/step-up), selects a candidate, or creates a separate account
|
|
170
|
+
* (`{ action: 'create_separate' }`). Never auto-merge. `existingAccount` is ABSENT on `step_up` when the
|
|
171
|
+
* incoming identity is unproven (an untrusted provider's email claim): nothing about the colliding account is
|
|
172
|
+
* disclosed until the caller proves something. (ENG-6911, ENG-7075)
|
|
130
173
|
*/
|
|
131
174
|
link?: {
|
|
132
|
-
|
|
175
|
+
mode: 'consent';
|
|
176
|
+
existingAccount: LinkExistingAccountSummary;
|
|
177
|
+
} | {
|
|
178
|
+
mode: 'step_up';
|
|
179
|
+
methods: StepUpOption[];
|
|
180
|
+
existingAccount?: LinkExistingAccountSummary;
|
|
181
|
+
} | {
|
|
182
|
+
mode: 'select';
|
|
183
|
+
candidates: LinkCandidate[];
|
|
133
184
|
};
|
|
134
185
|
/**
|
|
135
|
-
* Present on `
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
186
|
+
* Present on `needs_step_up`: the ways the caller may prove the account they are adding a factor TO. One
|
|
187
|
+
* option per usable FIRST-tier factor the account actually holds — email/phone (OTP, `handle` = factor id),
|
|
188
|
+
* an OAuth provider (redirect), or an external wallet (SIWE, `handle` = factor id).
|
|
189
|
+
*
|
|
190
|
+
* Distinct from `link.mode === 'step_up'`, which proves a COLLIDING account the caller has not logged into.
|
|
191
|
+
* Here the caller already holds a session for the account; the proof exists because a session alone must not
|
|
192
|
+
* authorize binding a new login factor — otherwise a stolen session becomes permanent access. Identifiers are
|
|
193
|
+
* masked for display only; the server picks the factor a proof is judged against. (ENG-7075)
|
|
194
|
+
*/
|
|
195
|
+
stepUp?: {
|
|
196
|
+
methods: StepUpOption[];
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Present on `authenticated` for an OAuth/OIDC login: which provider authenticated the user (plus, for a
|
|
200
|
+
* partner-configured connection, its stable `configHandle` + human `label`) — so the client renders "via
|
|
201
|
+
* Acme SSO" and offers per-connection revoke. `configHandle`/`label` absent on Para-global creds. (ENG-7008)
|
|
139
202
|
*/
|
|
140
203
|
attribution?: {
|
|
141
204
|
provider: TOAuthMethod;
|
|
142
205
|
configHandle?: string;
|
|
143
206
|
label?: string;
|
|
144
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Present on `linked`: the display-ready view of the factor the link flow just attached, so the client
|
|
210
|
+
* updates its factor list without a refetch. (ENG-7075)
|
|
211
|
+
*/
|
|
212
|
+
factor?: AuthFactorView<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Present on `unlinked`: the account's factor list AFTER the revoke, so the client re-renders without a
|
|
215
|
+
* second round-trip — the same courtesy `linked` does with `factor`. (ENG-7075)
|
|
216
|
+
*/
|
|
217
|
+
factors?: AuthFactorView<string>[];
|
|
218
|
+
/**
|
|
219
|
+
* Present on `authenticated`: the initiating SDK session's lookup id — the session the backend bridged this
|
|
220
|
+
* login onto. The portal completes post-login (sessionAuth / share access) off THIS session, not a
|
|
221
|
+
* URL-threaded one, so the flow stays flowId-only (no sessionId on the OAuth callback URL). Omitted if the
|
|
222
|
+
* flow carried no initiating lookup (start always self-mints one). (ENG-7075)
|
|
223
|
+
*/
|
|
224
|
+
sessionLookupId?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Present on `authenticated` for an EXTERNAL_WALLET login: full-Para-auth (mint an embedded Para wallet) vs
|
|
227
|
+
* verify-only (prove ownership, no wallet), carried from the `/start` body. The portal reads this to SKIP the
|
|
228
|
+
* post-login wallet tail (all-wallets fetch / keyshare / migration) for verify-only — the flowId-only v2
|
|
229
|
+
* portal URL never seeds the client's `authInfo.externalWallet`, so this is the portal's only
|
|
230
|
+
* server-authoritative verify-vs-full signal. (ENG-7075)
|
|
231
|
+
*/
|
|
232
|
+
externalWallet?: {
|
|
233
|
+
withFullParaAuth: boolean;
|
|
234
|
+
};
|
|
145
235
|
};
|
|
146
236
|
/**
|
|
147
|
-
* Request bodies for the method-agnostic `/v2/auth` surface —
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
|
|
237
|
+
* Request bodies for the method-agnostic `/v2/auth` surface — counterpart to the `AuthState` response,
|
|
238
|
+
* kept here so the request+response contract is single-source across the backend handlers (which validate
|
|
239
|
+
* `req.body`) and the SDK client (which constructs them). The backend still runtime-validates every field;
|
|
240
|
+
* these types are the compile-time contract, not the trust boundary. (ENG-6910 / ENG-6911)
|
|
241
|
+
*/
|
|
242
|
+
/**
|
|
243
|
+
* `start` body — discriminated by `method`; each carries only the fields its flow needs.
|
|
244
|
+
*
|
|
245
|
+
* `intent: 'link'` turns a start into an authenticated-user ADD-factor flow instead of a login: it binds to
|
|
246
|
+
* the CALLING SESSION's account (session cookie required), runs the same proof screen (OTP / SIWE / OAuth
|
|
247
|
+
* redirect), and `continue` ATTACHES the proven factor to that account (status `linked`) unless the identity
|
|
248
|
+
* already belongs to another account (409). PASSKEY does not participate in linking. Absent intent = normal
|
|
249
|
+
* login (unchanged). (ENG-7075)
|
|
152
250
|
*/
|
|
153
|
-
/** `start` body — discriminated by `method`. Each method carries only the fields its flow needs. */
|
|
154
251
|
export type AuthStartBody = {
|
|
155
252
|
method: 'EMAIL';
|
|
156
253
|
email: string;
|
|
254
|
+
intent?: 'link';
|
|
157
255
|
} | {
|
|
158
256
|
method: 'PHONE';
|
|
159
257
|
phone: string;
|
|
160
258
|
countryCode?: string;
|
|
259
|
+
intent?: 'link';
|
|
161
260
|
} | {
|
|
162
261
|
method: 'EXTERNAL_WALLET';
|
|
163
262
|
address: string;
|
|
164
263
|
chainType: TWalletType;
|
|
165
264
|
uri: string;
|
|
166
265
|
chainId?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Full-Para-auth (mint an embedded Para wallet) vs verify-only (prove ownership, no wallet). Carried
|
|
268
|
+
* onto the flow at `/start` and mirrored back on the `authenticated` envelope
|
|
269
|
+
* (`externalWallet.withFullParaAuth`) so the portal can skip the wallet tail for verify-only — the
|
|
270
|
+
* flowId-only v2 portal URL never seeds `authInfo.externalWallet`, so this is its only
|
|
271
|
+
* server-authoritative signal. Absent ⇒ verify-only. (ENG-7075)
|
|
272
|
+
*/
|
|
273
|
+
withFullParaAuth?: boolean;
|
|
274
|
+
intent?: 'link';
|
|
167
275
|
} | {
|
|
168
276
|
method: 'PASSKEY';
|
|
169
277
|
} | {
|
|
@@ -171,13 +279,18 @@ export type AuthStartBody = {
|
|
|
171
279
|
provider: TOAuthMethod;
|
|
172
280
|
returnUrl?: string;
|
|
173
281
|
providerConfigHandle?: string;
|
|
282
|
+
/** Farcaster (POLL) only: the mobile app scheme baked into the SIWF channel's redirect for deeplink-back. */
|
|
283
|
+
appScheme?: string;
|
|
284
|
+
intent?: 'link';
|
|
174
285
|
};
|
|
175
|
-
/** How a `needs_link` collision is resolved: step up to the existing account, or fork a separate one. */
|
|
176
|
-
export type AuthLinkAction = 'link' | 'create_separate';
|
|
177
286
|
/**
|
|
178
|
-
* `
|
|
179
|
-
*
|
|
180
|
-
|
|
287
|
+
* How a `needs_link` collision is resolved: `select` a candidate (multi-account), `link` (step up to / consent
|
|
288
|
+
* into the existing account), or `create_separate` (fork a new one).
|
|
289
|
+
*/
|
|
290
|
+
export type AuthLinkAction = 'link' | 'create_separate' | 'select';
|
|
291
|
+
/**
|
|
292
|
+
* `continue` body — always the `flowId` plus the per-state proof. The endpoint is overloaded by the flow's
|
|
293
|
+
* server-side state, not a body discriminant, so each proof field is optional and only the relevant one is sent.
|
|
181
294
|
*/
|
|
182
295
|
export type AuthContinueBody = {
|
|
183
296
|
flowId: string;
|
|
@@ -187,14 +300,37 @@ export type AuthContinueBody = {
|
|
|
187
300
|
signature?: string;
|
|
188
301
|
cosmosSigner?: string;
|
|
189
302
|
cosmosPublicKeyHex?: string;
|
|
190
|
-
/** Passkey: the WebAuthn assertion
|
|
303
|
+
/** Passkey: the WebAuthn assertion — for a PASSKEY flow, or as a returning account's credential completion
|
|
304
|
+
* of an EMAIL/PHONE flow (signs the challenge the start envelope carried). */
|
|
191
305
|
credentialId?: string;
|
|
192
306
|
clientDataJSON?: string;
|
|
193
307
|
authenticatorData?: string;
|
|
194
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* Password/PIN credential completion of an EMAIL/PHONE flow (returning non-enclave account): the
|
|
310
|
+
* RSA-challenge signature over the portal session's web challenge, plus the signing key's stored public key
|
|
311
|
+
* (selects among the ACCOUNT's own password rows server-side — never trusted as an identity). (ENG-7075)
|
|
312
|
+
*/
|
|
313
|
+
credentialSignature?: string;
|
|
314
|
+
credentialPublicKey?: string;
|
|
315
|
+
/** Telegram (WIDGET mechanism): the signed Login Widget payload, HMAC-verified server-side. (ENG-7075) */
|
|
316
|
+
telegramAuthResponse?: TelegramAuthResponse;
|
|
317
|
+
/** Cross-method linking: resolve a `needs_link` collision. `method` is the step-up method being proved — an
|
|
318
|
+
* OTP method (`EMAIL`/`PHONE`) or an OAuth provider. `handle` picks a candidate account in `select` mode. */
|
|
195
319
|
link?: {
|
|
196
320
|
action: AuthLinkAction;
|
|
197
|
-
method?: TOAuthMethod;
|
|
321
|
+
method?: TAuthFlowMethod | TOAuthMethod;
|
|
322
|
+
handle?: string;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Factor-link step-up (`needs_step_up`): which of the session account's own factors is being proved.
|
|
326
|
+
* `method` is an OTP method (`EMAIL`/`PHONE`), `EXTERNAL_WALLET`, or an OAuth provider; `handle` picks the
|
|
327
|
+
* exact factor when the account holds several of that type. Sending it with no proof STARTS the step-up
|
|
328
|
+
* (delivers the code / issues the challenge / returns the redirect); the proof itself then arrives in the
|
|
329
|
+
* matching field (`code`, `signature`) or via the provider callback. (ENG-7075)
|
|
330
|
+
*/
|
|
331
|
+
stepUp?: {
|
|
332
|
+
method: TAuthFlowMethod | TOAuthMethod;
|
|
333
|
+
handle?: string;
|
|
198
334
|
};
|
|
199
335
|
/** OAuth step-up (during linking): where the provider callback returns to. */
|
|
200
336
|
returnUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authState.d.ts","sourceRoot":"","sources":["../../../src/types/authState.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"authState.d.ts","sourceRoot":"","sources":["../../../src/types/authState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC/F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;GAGG;AACH,e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