@dynamic-labs/sdk-api-core 0.0.819 → 0.0.821
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
|
|
|
@@ -22,6 +22,7 @@ function SsoProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'emailDomain': json['emailDomain'],
|
|
23
23
|
'provider': SsoProviderEnum.SsoProviderEnumFromJSON(json['provider']),
|
|
24
24
|
'redirectUrl': !runtime.exists(json, 'redirectUrl') ? undefined : json['redirectUrl'],
|
|
25
|
+
'enforceOnlySSO': json['enforceOnlySSO'],
|
|
25
26
|
'createdAt': (new Date(json['createdAt'])),
|
|
26
27
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
27
28
|
};
|
|
@@ -42,6 +43,7 @@ function SsoProviderToJSON(value) {
|
|
|
42
43
|
'emailDomain': value.emailDomain,
|
|
43
44
|
'provider': SsoProviderEnum.SsoProviderEnumToJSON(value.provider),
|
|
44
45
|
'redirectUrl': value.redirectUrl,
|
|
46
|
+
'enforceOnlySSO': value.enforceOnlySSO,
|
|
45
47
|
'createdAt': (value.createdAt.toISOString()),
|
|
46
48
|
'updatedAt': (value.updatedAt.toISOString()),
|
|
47
49
|
};
|
|
@@ -64,6 +64,12 @@ export interface SsoProvider {
|
|
|
64
64
|
* @memberof SsoProvider
|
|
65
65
|
*/
|
|
66
66
|
redirectUrl?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Whether SSO is enforced for this domain
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof SsoProvider
|
|
71
|
+
*/
|
|
72
|
+
enforceOnlySSO: boolean;
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
* @type {Date}
|
|
@@ -18,6 +18,7 @@ function SsoProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'emailDomain': json['emailDomain'],
|
|
19
19
|
'provider': SsoProviderEnumFromJSON(json['provider']),
|
|
20
20
|
'redirectUrl': !exists(json, 'redirectUrl') ? undefined : json['redirectUrl'],
|
|
21
|
+
'enforceOnlySSO': json['enforceOnlySSO'],
|
|
21
22
|
'createdAt': (new Date(json['createdAt'])),
|
|
22
23
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
23
24
|
};
|
|
@@ -38,6 +39,7 @@ function SsoProviderToJSON(value) {
|
|
|
38
39
|
'emailDomain': value.emailDomain,
|
|
39
40
|
'provider': SsoProviderEnumToJSON(value.provider),
|
|
40
41
|
'redirectUrl': value.redirectUrl,
|
|
42
|
+
'enforceOnlySSO': value.enforceOnlySSO,
|
|
41
43
|
'createdAt': (value.createdAt.toISOString()),
|
|
42
44
|
'updatedAt': (value.updatedAt.toISOString()),
|
|
43
45
|
};
|