@turnkey/core 1.0.0-beta.5 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +3 -1
- package/dist/__clients__/core.d.ts +118 -30
- package/dist/__clients__/core.d.ts.map +1 -1
- package/dist/__clients__/core.js +362 -102
- package/dist/__clients__/core.js.map +1 -1
- package/dist/__clients__/core.mjs +364 -104
- package/dist/__clients__/core.mjs.map +1 -1
- package/dist/__generated__/sdk-client-base.d.ts +17 -0
- package/dist/__generated__/sdk-client-base.d.ts.map +1 -1
- package/dist/__generated__/sdk-client-base.js +256 -5
- package/dist/__generated__/sdk-client-base.js.map +1 -1
- package/dist/__generated__/sdk-client-base.mjs +256 -5
- package/dist/__generated__/sdk-client-base.mjs.map +1 -1
- package/dist/__generated__/version.d.ts +1 -1
- package/dist/__generated__/version.d.ts.map +1 -1
- package/dist/__generated__/version.js +1 -1
- package/dist/__generated__/version.mjs +1 -1
- package/dist/__inputs__/public_api.types.d.ts +373 -23
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/__polyfills__/jest.setup.webcrypto.d.ts +2 -0
- package/dist/__polyfills__/jest.setup.webcrypto.d.ts.map +1 -0
- package/dist/__stampers__/api/base.d.ts +11 -5
- package/dist/__stampers__/api/base.d.ts.map +1 -1
- package/dist/__stampers__/api/base.js +32 -10
- package/dist/__stampers__/api/base.js.map +1 -1
- package/dist/__stampers__/api/base.mjs +32 -10
- package/dist/__stampers__/api/base.mjs.map +1 -1
- package/dist/__stampers__/api/web/stamper.d.ts.map +1 -1
- package/dist/__stampers__/api/web/stamper.js +2 -4
- package/dist/__stampers__/api/web/stamper.js.map +1 -1
- package/dist/__stampers__/api/web/stamper.mjs +2 -4
- package/dist/__stampers__/api/web/stamper.mjs.map +1 -1
- package/dist/__types__/base.d.ts +3 -1
- package/dist/__types__/base.d.ts.map +1 -1
- package/dist/__types__/base.js.map +1 -1
- package/dist/__types__/base.mjs.map +1 -1
- package/dist/__wallet__/base.d.ts.map +1 -1
- package/dist/__wallet__/base.js +6 -6
- package/dist/__wallet__/base.js.map +1 -1
- package/dist/__wallet__/base.mjs +2 -2
- package/dist/__wallet__/base.mjs.map +1 -1
- package/dist/__wallet__/stamper.d.ts.map +1 -1
- package/dist/__wallet__/stamper.js +7 -6
- package/dist/__wallet__/stamper.js.map +1 -1
- package/dist/__wallet__/stamper.mjs +8 -7
- package/dist/__wallet__/stamper.mjs.map +1 -1
- package/dist/__wallet__/wallet-connect/base.js +5 -6
- package/dist/__wallet__/wallet-connect/base.js.map +1 -1
- package/dist/__wallet__/wallet-connect/base.mjs +1 -2
- package/dist/__wallet__/wallet-connect/base.mjs.map +1 -1
- package/dist/__wallet__/web/native/solana.js +1 -2
- package/dist/__wallet__/web/native/solana.js.map +1 -1
- package/dist/__wallet__/web/native/solana.mjs +1 -2
- package/dist/__wallet__/web/native/solana.mjs.map +1 -1
- package/dist/utils.d.ts +33 -6
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +160 -18
- package/dist/utils.js.map +1 -1
- package/dist/utils.mjs +156 -21
- package/dist/utils.mjs.map +1 -1
- package/package.json +10 -10
|
@@ -182,6 +182,93 @@ class TurnkeySDKClientBase {
|
|
|
182
182
|
url: fullUrl,
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
|
+
this.getBootProof = async (input, stampWith) => {
|
|
186
|
+
const session = await this.storageManager?.getActiveSession();
|
|
187
|
+
return this.request("/public/v1/query/get_boot_proof", {
|
|
188
|
+
...input,
|
|
189
|
+
organizationId: input.organizationId ??
|
|
190
|
+
session?.organizationId ??
|
|
191
|
+
this.config.organizationId,
|
|
192
|
+
}, stampWith);
|
|
193
|
+
};
|
|
194
|
+
this.stampGetBootProof = async (input, stampWith) => {
|
|
195
|
+
const activeStamper = this.getStamper(stampWith);
|
|
196
|
+
if (!activeStamper) {
|
|
197
|
+
return undefined;
|
|
198
|
+
}
|
|
199
|
+
const { organizationId, ...parameters } = input;
|
|
200
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_boot_proof";
|
|
201
|
+
const bodyWithType = {
|
|
202
|
+
parameters,
|
|
203
|
+
organizationId,
|
|
204
|
+
type: "ACTIVITY_TYPE_GET_BOOT_PROOF",
|
|
205
|
+
};
|
|
206
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
207
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
208
|
+
return {
|
|
209
|
+
body: stringifiedBody,
|
|
210
|
+
stamp: stamp,
|
|
211
|
+
url: fullUrl,
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
this.getLatestBootProof = async (input, stampWith) => {
|
|
215
|
+
const session = await this.storageManager?.getActiveSession();
|
|
216
|
+
return this.request("/public/v1/query/get_latest_boot_proof", {
|
|
217
|
+
...input,
|
|
218
|
+
organizationId: input.organizationId ??
|
|
219
|
+
session?.organizationId ??
|
|
220
|
+
this.config.organizationId,
|
|
221
|
+
}, stampWith);
|
|
222
|
+
};
|
|
223
|
+
this.stampGetLatestBootProof = async (input, stampWith) => {
|
|
224
|
+
const activeStamper = this.getStamper(stampWith);
|
|
225
|
+
if (!activeStamper) {
|
|
226
|
+
return undefined;
|
|
227
|
+
}
|
|
228
|
+
const { organizationId, ...parameters } = input;
|
|
229
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_latest_boot_proof";
|
|
230
|
+
const bodyWithType = {
|
|
231
|
+
parameters,
|
|
232
|
+
organizationId,
|
|
233
|
+
type: "ACTIVITY_TYPE_GET_LATEST_BOOT_PROOF",
|
|
234
|
+
};
|
|
235
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
236
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
237
|
+
return {
|
|
238
|
+
body: stringifiedBody,
|
|
239
|
+
stamp: stamp,
|
|
240
|
+
url: fullUrl,
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
this.getOauth2Credential = async (input, stampWith) => {
|
|
244
|
+
const session = await this.storageManager?.getActiveSession();
|
|
245
|
+
return this.request("/public/v1/query/get_oauth2_credential", {
|
|
246
|
+
...input,
|
|
247
|
+
organizationId: input.organizationId ??
|
|
248
|
+
session?.organizationId ??
|
|
249
|
+
this.config.organizationId,
|
|
250
|
+
}, stampWith);
|
|
251
|
+
};
|
|
252
|
+
this.stampGetOauth2Credential = async (input, stampWith) => {
|
|
253
|
+
const activeStamper = this.getStamper(stampWith);
|
|
254
|
+
if (!activeStamper) {
|
|
255
|
+
return undefined;
|
|
256
|
+
}
|
|
257
|
+
const { organizationId, ...parameters } = input;
|
|
258
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/query/get_oauth2_credential";
|
|
259
|
+
const bodyWithType = {
|
|
260
|
+
parameters,
|
|
261
|
+
organizationId,
|
|
262
|
+
type: "ACTIVITY_TYPE_GET_OAUTH2CREDENTIAL",
|
|
263
|
+
};
|
|
264
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
265
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
266
|
+
return {
|
|
267
|
+
body: stringifiedBody,
|
|
268
|
+
stamp: stamp,
|
|
269
|
+
url: fullUrl,
|
|
270
|
+
};
|
|
271
|
+
};
|
|
185
272
|
this.getOauthProviders = async (input, stampWith) => {
|
|
186
273
|
const session = await this.storageManager?.getActiveSession();
|
|
187
274
|
return this.request("/public/v1/query/get_oauth_providers", {
|
|
@@ -501,6 +588,35 @@ class TurnkeySDKClientBase {
|
|
|
501
588
|
url: fullUrl,
|
|
502
589
|
};
|
|
503
590
|
};
|
|
591
|
+
this.listOauth2Credentials = async (input, stampWith) => {
|
|
592
|
+
const session = await this.storageManager?.getActiveSession();
|
|
593
|
+
return this.request("/public/v1/query/list_oauth2_credentials", {
|
|
594
|
+
...input,
|
|
595
|
+
organizationId: input.organizationId ??
|
|
596
|
+
session?.organizationId ??
|
|
597
|
+
this.config.organizationId,
|
|
598
|
+
}, stampWith);
|
|
599
|
+
};
|
|
600
|
+
this.stampListOauth2Credentials = async (input, stampWith) => {
|
|
601
|
+
const activeStamper = this.getStamper(stampWith);
|
|
602
|
+
if (!activeStamper) {
|
|
603
|
+
return undefined;
|
|
604
|
+
}
|
|
605
|
+
const { organizationId, ...parameters } = input;
|
|
606
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/query/list_oauth2_credentials";
|
|
607
|
+
const bodyWithType = {
|
|
608
|
+
parameters,
|
|
609
|
+
organizationId,
|
|
610
|
+
type: "ACTIVITY_TYPE_LIST_OAUTH2CREDENTIALS",
|
|
611
|
+
};
|
|
612
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
613
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
614
|
+
return {
|
|
615
|
+
body: stringifiedBody,
|
|
616
|
+
stamp: stamp,
|
|
617
|
+
url: fullUrl,
|
|
618
|
+
};
|
|
619
|
+
};
|
|
504
620
|
this.getPolicies = async (input = {}, stampWith) => {
|
|
505
621
|
const session = await this.storageManager?.getActiveSession();
|
|
506
622
|
return this.request("/public/v1/query/list_policies", {
|
|
@@ -986,6 +1102,39 @@ class TurnkeySDKClientBase {
|
|
|
986
1102
|
url: fullUrl,
|
|
987
1103
|
};
|
|
988
1104
|
};
|
|
1105
|
+
this.createOauth2Credential = async (input, stampWith) => {
|
|
1106
|
+
const { organizationId, timestampMs, ...rest } = input;
|
|
1107
|
+
const session = await this.storageManager?.getActiveSession();
|
|
1108
|
+
return this.activity("/public/v1/submit/create_oauth2_credential", {
|
|
1109
|
+
parameters: rest,
|
|
1110
|
+
organizationId: organizationId ??
|
|
1111
|
+
session?.organizationId ??
|
|
1112
|
+
this.config.organizationId,
|
|
1113
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
1114
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL",
|
|
1115
|
+
}, "createOauth2CredentialResult", stampWith);
|
|
1116
|
+
};
|
|
1117
|
+
this.stampCreateOauth2Credential = async (input, stampWith) => {
|
|
1118
|
+
const activeStamper = this.getStamper(stampWith);
|
|
1119
|
+
if (!activeStamper) {
|
|
1120
|
+
return undefined;
|
|
1121
|
+
}
|
|
1122
|
+
const { organizationId, timestampMs, ...parameters } = input;
|
|
1123
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/create_oauth2_credential";
|
|
1124
|
+
const bodyWithType = {
|
|
1125
|
+
parameters,
|
|
1126
|
+
organizationId,
|
|
1127
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
1128
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH2CREDENTIAL",
|
|
1129
|
+
};
|
|
1130
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
1131
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
1132
|
+
return {
|
|
1133
|
+
body: stringifiedBody,
|
|
1134
|
+
stamp: stamp,
|
|
1135
|
+
url: fullUrl,
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
989
1138
|
this.createOauthProviders = async (input, stampWith) => {
|
|
990
1139
|
const { organizationId, timestampMs, ...rest } = input;
|
|
991
1140
|
const session = await this.storageManager?.getActiveSession();
|
|
@@ -1128,7 +1277,7 @@ class TurnkeySDKClientBase {
|
|
|
1128
1277
|
this.config.organizationId,
|
|
1129
1278
|
timestampMs: timestampMs ?? String(Date.now()),
|
|
1130
1279
|
type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2",
|
|
1131
|
-
}, "
|
|
1280
|
+
}, "createPrivateKeysResult", stampWith);
|
|
1132
1281
|
};
|
|
1133
1282
|
this.stampCreatePrivateKeys = async (input, stampWith) => {
|
|
1134
1283
|
const activeStamper = this.getStamper(stampWith);
|
|
@@ -1194,7 +1343,7 @@ class TurnkeySDKClientBase {
|
|
|
1194
1343
|
this.config.organizationId,
|
|
1195
1344
|
timestampMs: timestampMs ?? String(Date.now()),
|
|
1196
1345
|
type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2",
|
|
1197
|
-
}, "
|
|
1346
|
+
}, "createReadWriteSessionResult", stampWith);
|
|
1198
1347
|
};
|
|
1199
1348
|
this.stampCreateReadWriteSession = async (input, stampWith) => {
|
|
1200
1349
|
const activeStamper = this.getStamper(stampWith);
|
|
@@ -1261,7 +1410,7 @@ class TurnkeySDKClientBase {
|
|
|
1261
1410
|
this.config.organizationId,
|
|
1262
1411
|
timestampMs: timestampMs ?? String(Date.now()),
|
|
1263
1412
|
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7",
|
|
1264
|
-
}, "
|
|
1413
|
+
}, "createSubOrganizationResult", stampWith);
|
|
1265
1414
|
};
|
|
1266
1415
|
this.stampCreateSubOrganization = async (input, stampWith) => {
|
|
1267
1416
|
const activeStamper = this.getStamper(stampWith);
|
|
@@ -1515,6 +1664,39 @@ class TurnkeySDKClientBase {
|
|
|
1515
1664
|
url: fullUrl,
|
|
1516
1665
|
};
|
|
1517
1666
|
};
|
|
1667
|
+
this.deleteOauth2Credential = async (input, stampWith) => {
|
|
1668
|
+
const { organizationId, timestampMs, ...rest } = input;
|
|
1669
|
+
const session = await this.storageManager?.getActiveSession();
|
|
1670
|
+
return this.activity("/public/v1/submit/delete_oauth2_credential", {
|
|
1671
|
+
parameters: rest,
|
|
1672
|
+
organizationId: organizationId ??
|
|
1673
|
+
session?.organizationId ??
|
|
1674
|
+
this.config.organizationId,
|
|
1675
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
1676
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL",
|
|
1677
|
+
}, "deleteOauth2CredentialResult", stampWith);
|
|
1678
|
+
};
|
|
1679
|
+
this.stampDeleteOauth2Credential = async (input, stampWith) => {
|
|
1680
|
+
const activeStamper = this.getStamper(stampWith);
|
|
1681
|
+
if (!activeStamper) {
|
|
1682
|
+
return undefined;
|
|
1683
|
+
}
|
|
1684
|
+
const { organizationId, timestampMs, ...parameters } = input;
|
|
1685
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/delete_oauth2_credential";
|
|
1686
|
+
const bodyWithType = {
|
|
1687
|
+
parameters,
|
|
1688
|
+
organizationId,
|
|
1689
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
1690
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH2CREDENTIAL",
|
|
1691
|
+
};
|
|
1692
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
1693
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
1694
|
+
return {
|
|
1695
|
+
body: stringifiedBody,
|
|
1696
|
+
stamp: stamp,
|
|
1697
|
+
url: fullUrl,
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1518
1700
|
this.deleteOauthProviders = async (input, stampWith) => {
|
|
1519
1701
|
const { organizationId, timestampMs, ...rest } = input;
|
|
1520
1702
|
const session = await this.storageManager?.getActiveSession();
|
|
@@ -2153,7 +2335,7 @@ class TurnkeySDKClientBase {
|
|
|
2153
2335
|
this.config.organizationId,
|
|
2154
2336
|
timestampMs: timestampMs ?? String(Date.now()),
|
|
2155
2337
|
type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2",
|
|
2156
|
-
}, "
|
|
2338
|
+
}, "initOtpAuthResult", stampWith);
|
|
2157
2339
|
};
|
|
2158
2340
|
this.stampInitOtpAuth = async (input, stampWith) => {
|
|
2159
2341
|
const activeStamper = this.getStamper(stampWith);
|
|
@@ -2242,6 +2424,39 @@ class TurnkeySDKClientBase {
|
|
|
2242
2424
|
url: fullUrl,
|
|
2243
2425
|
};
|
|
2244
2426
|
};
|
|
2427
|
+
this.oauth2Authenticate = async (input, stampWith) => {
|
|
2428
|
+
const { organizationId, timestampMs, ...rest } = input;
|
|
2429
|
+
const session = await this.storageManager?.getActiveSession();
|
|
2430
|
+
return this.activity("/public/v1/submit/oauth2_authenticate", {
|
|
2431
|
+
parameters: rest,
|
|
2432
|
+
organizationId: organizationId ??
|
|
2433
|
+
session?.organizationId ??
|
|
2434
|
+
this.config.organizationId,
|
|
2435
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
2436
|
+
type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE",
|
|
2437
|
+
}, "oauth2AuthenticateResult", stampWith);
|
|
2438
|
+
};
|
|
2439
|
+
this.stampOauth2Authenticate = async (input, stampWith) => {
|
|
2440
|
+
const activeStamper = this.getStamper(stampWith);
|
|
2441
|
+
if (!activeStamper) {
|
|
2442
|
+
return undefined;
|
|
2443
|
+
}
|
|
2444
|
+
const { organizationId, timestampMs, ...parameters } = input;
|
|
2445
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/oauth2_authenticate";
|
|
2446
|
+
const bodyWithType = {
|
|
2447
|
+
parameters,
|
|
2448
|
+
organizationId,
|
|
2449
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
2450
|
+
type: "ACTIVITY_TYPE_OAUTH2AUTHENTICATE",
|
|
2451
|
+
};
|
|
2452
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
2453
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
2454
|
+
return {
|
|
2455
|
+
body: stringifiedBody,
|
|
2456
|
+
stamp: stamp,
|
|
2457
|
+
url: fullUrl,
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2245
2460
|
this.oauthLogin = async (input, stampWith) => {
|
|
2246
2461
|
const { organizationId, timestampMs, ...rest } = input;
|
|
2247
2462
|
const session = await this.storageManager?.getActiveSession();
|
|
@@ -2605,6 +2820,39 @@ class TurnkeySDKClientBase {
|
|
|
2605
2820
|
url: fullUrl,
|
|
2606
2821
|
};
|
|
2607
2822
|
};
|
|
2823
|
+
this.updateOauth2Credential = async (input, stampWith) => {
|
|
2824
|
+
const { organizationId, timestampMs, ...rest } = input;
|
|
2825
|
+
const session = await this.storageManager?.getActiveSession();
|
|
2826
|
+
return this.activity("/public/v1/submit/update_oauth2_credential", {
|
|
2827
|
+
parameters: rest,
|
|
2828
|
+
organizationId: organizationId ??
|
|
2829
|
+
session?.organizationId ??
|
|
2830
|
+
this.config.organizationId,
|
|
2831
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
2832
|
+
type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL",
|
|
2833
|
+
}, "updateOauth2CredentialResult", stampWith);
|
|
2834
|
+
};
|
|
2835
|
+
this.stampUpdateOauth2Credential = async (input, stampWith) => {
|
|
2836
|
+
const activeStamper = this.getStamper(stampWith);
|
|
2837
|
+
if (!activeStamper) {
|
|
2838
|
+
return undefined;
|
|
2839
|
+
}
|
|
2840
|
+
const { organizationId, timestampMs, ...parameters } = input;
|
|
2841
|
+
const fullUrl = this.config.apiBaseUrl + "/public/v1/submit/update_oauth2_credential";
|
|
2842
|
+
const bodyWithType = {
|
|
2843
|
+
parameters,
|
|
2844
|
+
organizationId,
|
|
2845
|
+
timestampMs: timestampMs ?? String(Date.now()),
|
|
2846
|
+
type: "ACTIVITY_TYPE_UPDATE_OAUTH2CREDENTIAL",
|
|
2847
|
+
};
|
|
2848
|
+
const stringifiedBody = JSON.stringify(bodyWithType);
|
|
2849
|
+
const stamp = await activeStamper.stamp(stringifiedBody);
|
|
2850
|
+
return {
|
|
2851
|
+
body: stringifiedBody,
|
|
2852
|
+
stamp: stamp,
|
|
2853
|
+
url: fullUrl,
|
|
2854
|
+
};
|
|
2855
|
+
};
|
|
2608
2856
|
this.updatePolicy = async (input, stampWith) => {
|
|
2609
2857
|
const { organizationId, timestampMs, ...rest } = input;
|
|
2610
2858
|
const session = await this.storageManager?.getActiveSession();
|
|
@@ -2615,7 +2863,7 @@ class TurnkeySDKClientBase {
|
|
|
2615
2863
|
this.config.organizationId,
|
|
2616
2864
|
timestampMs: timestampMs ?? String(Date.now()),
|
|
2617
2865
|
type: "ACTIVITY_TYPE_UPDATE_POLICY_V2",
|
|
2618
|
-
}, "
|
|
2866
|
+
}, "updatePolicyResult", stampWith);
|
|
2619
2867
|
};
|
|
2620
2868
|
this.stampUpdatePolicy = async (input, stampWith) => {
|
|
2621
2869
|
const activeStamper = this.getStamper(stampWith);
|
|
@@ -2967,6 +3215,9 @@ class TurnkeySDKClientBase {
|
|
|
2967
3215
|
this.proxyGetAccount = async (input) => {
|
|
2968
3216
|
return this.authProxyRequest("/v1/account", input);
|
|
2969
3217
|
};
|
|
3218
|
+
this.proxyOAuth2Authenticate = async (input) => {
|
|
3219
|
+
return this.authProxyRequest("/v1/oauth2_authenticate", input);
|
|
3220
|
+
};
|
|
2970
3221
|
this.proxyOAuthLogin = async (input) => {
|
|
2971
3222
|
return this.authProxyRequest("/v1/oauth_login", input);
|
|
2972
3223
|
};
|