44 description : |
55 These are the APIs exposed by our backend SDK. To be consumed by the frontend only.
66 `<tenantId>` in all the APIs are optional. Its default value is `public`
7- version : " 3.0 .0"
7+ version : " 3.1 .0"
88 title : Frontend Driver Interface
99 contact :
1010@@ -474,12 +474,18 @@ paths:
474474 properties :
475475 email :
476476 $ref : ' #/components/schemas/email'
477+ shouldTryLinkingWithSessionUser :
478+ type : boolean
479+ example : false
477480 required :
478481 - email
479482 - type : object
480483 properties :
481484 phoneNumber :
482485 $ref : ' #/components/schemas/phoneNumber'
486+ shouldTryLinkingWithSessionUser :
487+ type : boolean
488+ example : false
483489 required :
484490 - phoneNumber
485491
@@ -540,6 +546,9 @@ paths:
540546 $ref : ' #/components/schemas/deviceId'
541547 preAuthSessionId :
542548 $ref : ' #/components/schemas/preAuthSessionId'
549+ shouldTryLinkingWithSessionUser :
550+ type : boolean
551+ example : false
543552 required :
544553 - deviceId
545554 - preAuthSessionId
@@ -583,6 +592,9 @@ paths:
583592 properties :
584593 preAuthSessionId :
585594 $ref : ' #/components/schemas/preAuthSessionId'
595+ shouldTryLinkingWithSessionUser :
596+ type : boolean
597+ example : false
586598 linkCode :
587599 type : string
588600 example : b10lbT_SnDC4flA6Fn7pE5TtG5k5NfigLef4QMBeGA8
@@ -594,6 +606,9 @@ paths:
594606 properties :
595607 preAuthSessionId :
596608 $ref : ' #/components/schemas/preAuthSessionId'
609+ shouldTryLinkingWithSessionUser :
610+ type : boolean
611+ example : false
597612 deviceId :
598613 $ref : ' #/components/schemas/deviceId'
599614 userInputCode :
@@ -938,9 +953,14 @@ paths:
938953 application/json :
939954 schema :
940955 type : object
956+ required :
957+ - formFields
941958 properties :
942959 formFields :
943960 $ref : ' #/components/schemas/formFields'
961+ shouldTryLinkingWithSessionUser :
962+ type : boolean
963+ example : false
944964 responses :
945965 ' 200 ' :
946966 description : Sign in Response
@@ -1003,9 +1023,14 @@ paths:
10031023 application/json :
10041024 schema :
10051025 type : object
1026+ required :
1027+ - formFields
10061028 properties :
10071029 formFields :
10081030 $ref : ' #/components/schemas/formFields'
1031+ shouldTryLinkingWithSessionUser :
1032+ type : boolean
1033+ example : false
10091034 responses :
10101035 ' 200 ' :
10111036 description : Sign up Response
@@ -1235,6 +1260,9 @@ paths:
12351260 pkceCodeVerifier :
12361261 type : string
12371262 example : abcd1234
1263+ shouldTryLinkingWithSessionUser :
1264+ type : boolean
1265+ example : false
12381266 - type : object
12391267 required :
12401268 - thirdPartyId
@@ -1246,6 +1274,9 @@ paths:
12461274 $ref : ' #/components/schemas/clientType'
12471275 oAuthTokens :
12481276 $ref : ' #/components/schemas/oAuthTokens'
1277+ shouldTryLinkingWithSessionUser :
1278+ type : boolean
1279+ example : false
12491280 responses :
12501281 ' 200 ' :
12511282 description : Signin/up a user
0 commit comments