@dynamic-labs/sdk-api-core 0.0.820 → 0.0.822
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/package.json
CHANGED
|
@@ -18,6 +18,7 @@ function OauthResultRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'forceCreateUser': !runtime.exists(json, 'forceCreateUser') ? undefined : json['forceCreateUser'],
|
|
19
19
|
'code': !runtime.exists(json, 'code') ? undefined : json['code'],
|
|
20
20
|
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
21
|
+
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
function OauthResultRequestToJSON(value) {
|
|
@@ -33,6 +34,7 @@ function OauthResultRequestToJSON(value) {
|
|
|
33
34
|
'forceCreateUser': value.forceCreateUser,
|
|
34
35
|
'code': value.code,
|
|
35
36
|
'sessionPublicKey': value.sessionPublicKey,
|
|
37
|
+
'captchaToken': value.captchaToken,
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -45,6 +45,12 @@ export interface OauthResultRequest {
|
|
|
45
45
|
* @memberof OauthResultRequest
|
|
46
46
|
*/
|
|
47
47
|
sessionPublicKey?: string;
|
|
48
|
+
/**
|
|
49
|
+
* When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OauthResultRequest
|
|
52
|
+
*/
|
|
53
|
+
captchaToken?: string;
|
|
48
54
|
}
|
|
49
55
|
export declare function OauthResultRequestFromJSON(json: any): OauthResultRequest;
|
|
50
56
|
export declare function OauthResultRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthResultRequest;
|
|
@@ -14,6 +14,7 @@ function OauthResultRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
'forceCreateUser': !exists(json, 'forceCreateUser') ? undefined : json['forceCreateUser'],
|
|
15
15
|
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
16
16
|
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
17
|
+
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
function OauthResultRequestToJSON(value) {
|
|
@@ -29,6 +30,7 @@ function OauthResultRequestToJSON(value) {
|
|
|
29
30
|
'forceCreateUser': value.forceCreateUser,
|
|
30
31
|
'code': value.code,
|
|
31
32
|
'sessionPublicKey': value.sessionPublicKey,
|
|
33
|
+
'captchaToken': value.captchaToken,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
|