@goauthentik/api 2022.10.1-1668604233 → 2022.10.1-1669049898
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/esm/models/AuthenticatorValidateStage.d.ts +7 -0
- package/dist/esm/models/AuthenticatorValidateStage.js +3 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.d.ts +7 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.js +3 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.d.ts +7 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.js +3 -0
- package/dist/models/AuthenticatorValidateStage.d.ts +7 -0
- package/dist/models/AuthenticatorValidateStage.js +3 -0
- package/dist/models/AuthenticatorValidateStageRequest.d.ts +7 -0
- package/dist/models/AuthenticatorValidateStageRequest.js +3 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.d.ts +7 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.js +3 -0
- package/package.json +1 -1
- package/src/models/AuthenticatorValidateStage.ts +14 -0
- package/src/models/AuthenticatorValidateStageRequest.ts +14 -0
- package/src/models/PatchedAuthenticatorValidateStageRequest.ts +14 -0
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { DeviceClassesEnum } from './DeviceClassesEnum';
|
|
13
13
|
import { FlowSet } from './FlowSet';
|
|
14
14
|
import { NotConfiguredActionEnum } from './NotConfiguredActionEnum';
|
|
15
|
+
import { UserVerificationEnum } from './UserVerificationEnum';
|
|
15
16
|
/**
|
|
16
17
|
* AuthenticatorValidateStage Serializer
|
|
17
18
|
* @export
|
|
@@ -84,6 +85,12 @@ export interface AuthenticatorValidateStage {
|
|
|
84
85
|
* @memberof AuthenticatorValidateStage
|
|
85
86
|
*/
|
|
86
87
|
lastAuthThreshold?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Enforce user verification for WebAuthn devices.
|
|
90
|
+
* @type {UserVerificationEnum}
|
|
91
|
+
* @memberof AuthenticatorValidateStage
|
|
92
|
+
*/
|
|
93
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
87
94
|
}
|
|
88
95
|
export declare function AuthenticatorValidateStageFromJSON(json: any): AuthenticatorValidateStage;
|
|
89
96
|
export declare function AuthenticatorValidateStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorValidateStage;
|
|
@@ -15,6 +15,7 @@ import { exists } from '../runtime';
|
|
|
15
15
|
import { DeviceClassesEnumFromJSON, DeviceClassesEnumToJSON, } from './DeviceClassesEnum';
|
|
16
16
|
import { FlowSetFromJSON, FlowSetToJSON, } from './FlowSet';
|
|
17
17
|
import { NotConfiguredActionEnumFromJSON, NotConfiguredActionEnumToJSON, } from './NotConfiguredActionEnum';
|
|
18
|
+
import { UserVerificationEnumFromJSON, UserVerificationEnumToJSON, } from './UserVerificationEnum';
|
|
18
19
|
export function AuthenticatorValidateStageFromJSON(json) {
|
|
19
20
|
return AuthenticatorValidateStageFromJSONTyped(json, false);
|
|
20
21
|
}
|
|
@@ -34,6 +35,7 @@ export function AuthenticatorValidateStageFromJSONTyped(json, ignoreDiscriminato
|
|
|
34
35
|
'deviceClasses': !exists(json, 'device_classes') ? undefined : (json['device_classes'].map(DeviceClassesEnumFromJSON)),
|
|
35
36
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
36
37
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
38
|
+
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
export function AuthenticatorValidateStageToJSON(value) {
|
|
@@ -50,5 +52,6 @@ export function AuthenticatorValidateStageToJSON(value) {
|
|
|
50
52
|
'device_classes': value.deviceClasses === undefined ? undefined : (value.deviceClasses.map(DeviceClassesEnumToJSON)),
|
|
51
53
|
'configuration_stages': value.configurationStages,
|
|
52
54
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
55
|
+
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
|
53
56
|
};
|
|
54
57
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { DeviceClassesEnum } from './DeviceClassesEnum';
|
|
13
13
|
import { FlowSetRequest } from './FlowSetRequest';
|
|
14
14
|
import { NotConfiguredActionEnum } from './NotConfiguredActionEnum';
|
|
15
|
+
import { UserVerificationEnum } from './UserVerificationEnum';
|
|
15
16
|
/**
|
|
16
17
|
* AuthenticatorValidateStage Serializer
|
|
17
18
|
* @export
|
|
@@ -54,6 +55,12 @@ export interface AuthenticatorValidateStageRequest {
|
|
|
54
55
|
* @memberof AuthenticatorValidateStageRequest
|
|
55
56
|
*/
|
|
56
57
|
lastAuthThreshold?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Enforce user verification for WebAuthn devices.
|
|
60
|
+
* @type {UserVerificationEnum}
|
|
61
|
+
* @memberof AuthenticatorValidateStageRequest
|
|
62
|
+
*/
|
|
63
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
57
64
|
}
|
|
58
65
|
export declare function AuthenticatorValidateStageRequestFromJSON(json: any): AuthenticatorValidateStageRequest;
|
|
59
66
|
export declare function AuthenticatorValidateStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorValidateStageRequest;
|
|
@@ -15,6 +15,7 @@ import { exists } from '../runtime';
|
|
|
15
15
|
import { DeviceClassesEnumFromJSON, DeviceClassesEnumToJSON, } from './DeviceClassesEnum';
|
|
16
16
|
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
17
17
|
import { NotConfiguredActionEnumFromJSON, NotConfiguredActionEnumToJSON, } from './NotConfiguredActionEnum';
|
|
18
|
+
import { UserVerificationEnumFromJSON, UserVerificationEnumToJSON, } from './UserVerificationEnum';
|
|
18
19
|
export function AuthenticatorValidateStageRequestFromJSON(json) {
|
|
19
20
|
return AuthenticatorValidateStageRequestFromJSONTyped(json, false);
|
|
20
21
|
}
|
|
@@ -29,6 +30,7 @@ export function AuthenticatorValidateStageRequestFromJSONTyped(json, ignoreDiscr
|
|
|
29
30
|
'deviceClasses': !exists(json, 'device_classes') ? undefined : (json['device_classes'].map(DeviceClassesEnumFromJSON)),
|
|
30
31
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
31
32
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
33
|
+
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
export function AuthenticatorValidateStageRequestToJSON(value) {
|
|
@@ -45,5 +47,6 @@ export function AuthenticatorValidateStageRequestToJSON(value) {
|
|
|
45
47
|
'device_classes': value.deviceClasses === undefined ? undefined : (value.deviceClasses.map(DeviceClassesEnumToJSON)),
|
|
46
48
|
'configuration_stages': value.configurationStages,
|
|
47
49
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
50
|
+
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { DeviceClassesEnum } from './DeviceClassesEnum';
|
|
13
13
|
import { FlowSetRequest } from './FlowSetRequest';
|
|
14
14
|
import { NotConfiguredActionEnum } from './NotConfiguredActionEnum';
|
|
15
|
+
import { UserVerificationEnum } from './UserVerificationEnum';
|
|
15
16
|
/**
|
|
16
17
|
* AuthenticatorValidateStage Serializer
|
|
17
18
|
* @export
|
|
@@ -54,6 +55,12 @@ export interface PatchedAuthenticatorValidateStageRequest {
|
|
|
54
55
|
* @memberof PatchedAuthenticatorValidateStageRequest
|
|
55
56
|
*/
|
|
56
57
|
lastAuthThreshold?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Enforce user verification for WebAuthn devices.
|
|
60
|
+
* @type {UserVerificationEnum}
|
|
61
|
+
* @memberof PatchedAuthenticatorValidateStageRequest
|
|
62
|
+
*/
|
|
63
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
57
64
|
}
|
|
58
65
|
export declare function PatchedAuthenticatorValidateStageRequestFromJSON(json: any): PatchedAuthenticatorValidateStageRequest;
|
|
59
66
|
export declare function PatchedAuthenticatorValidateStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorValidateStageRequest;
|
|
@@ -15,6 +15,7 @@ import { exists } from '../runtime';
|
|
|
15
15
|
import { DeviceClassesEnumFromJSON, DeviceClassesEnumToJSON, } from './DeviceClassesEnum';
|
|
16
16
|
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
17
17
|
import { NotConfiguredActionEnumFromJSON, NotConfiguredActionEnumToJSON, } from './NotConfiguredActionEnum';
|
|
18
|
+
import { UserVerificationEnumFromJSON, UserVerificationEnumToJSON, } from './UserVerificationEnum';
|
|
18
19
|
export function PatchedAuthenticatorValidateStageRequestFromJSON(json) {
|
|
19
20
|
return PatchedAuthenticatorValidateStageRequestFromJSONTyped(json, false);
|
|
20
21
|
}
|
|
@@ -29,6 +30,7 @@ export function PatchedAuthenticatorValidateStageRequestFromJSONTyped(json, igno
|
|
|
29
30
|
'deviceClasses': !exists(json, 'device_classes') ? undefined : (json['device_classes'].map(DeviceClassesEnumFromJSON)),
|
|
30
31
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
31
32
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
33
|
+
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
36
|
export function PatchedAuthenticatorValidateStageRequestToJSON(value) {
|
|
@@ -45,5 +47,6 @@ export function PatchedAuthenticatorValidateStageRequestToJSON(value) {
|
|
|
45
47
|
'device_classes': value.deviceClasses === undefined ? undefined : (value.deviceClasses.map(DeviceClassesEnumToJSON)),
|
|
46
48
|
'configuration_stages': value.configurationStages,
|
|
47
49
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
50
|
+
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { DeviceClassesEnum } from './DeviceClassesEnum';
|
|
13
13
|
import { FlowSet } from './FlowSet';
|
|
14
14
|
import { NotConfiguredActionEnum } from './NotConfiguredActionEnum';
|
|
15
|
+
import { UserVerificationEnum } from './UserVerificationEnum';
|
|
15
16
|
/**
|
|
16
17
|
* AuthenticatorValidateStage Serializer
|
|
17
18
|
* @export
|
|
@@ -84,6 +85,12 @@ export interface AuthenticatorValidateStage {
|
|
|
84
85
|
* @memberof AuthenticatorValidateStage
|
|
85
86
|
*/
|
|
86
87
|
lastAuthThreshold?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Enforce user verification for WebAuthn devices.
|
|
90
|
+
* @type {UserVerificationEnum}
|
|
91
|
+
* @memberof AuthenticatorValidateStage
|
|
92
|
+
*/
|
|
93
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
87
94
|
}
|
|
88
95
|
export declare function AuthenticatorValidateStageFromJSON(json: any): AuthenticatorValidateStage;
|
|
89
96
|
export declare function AuthenticatorValidateStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorValidateStage;
|
|
@@ -18,6 +18,7 @@ const runtime_1 = require("../runtime");
|
|
|
18
18
|
const DeviceClassesEnum_1 = require("./DeviceClassesEnum");
|
|
19
19
|
const FlowSet_1 = require("./FlowSet");
|
|
20
20
|
const NotConfiguredActionEnum_1 = require("./NotConfiguredActionEnum");
|
|
21
|
+
const UserVerificationEnum_1 = require("./UserVerificationEnum");
|
|
21
22
|
function AuthenticatorValidateStageFromJSON(json) {
|
|
22
23
|
return AuthenticatorValidateStageFromJSONTyped(json, false);
|
|
23
24
|
}
|
|
@@ -38,6 +39,7 @@ function AuthenticatorValidateStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'deviceClasses': !(0, runtime_1.exists)(json, 'device_classes') ? undefined : (json['device_classes'].map(DeviceClassesEnum_1.DeviceClassesEnumFromJSON)),
|
|
39
40
|
'configurationStages': !(0, runtime_1.exists)(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
40
41
|
'lastAuthThreshold': !(0, runtime_1.exists)(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
42
|
+
'webauthnUserVerification': !(0, runtime_1.exists)(json, 'webauthn_user_verification') ? undefined : (0, UserVerificationEnum_1.UserVerificationEnumFromJSON)(json['webauthn_user_verification']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
exports.AuthenticatorValidateStageFromJSONTyped = AuthenticatorValidateStageFromJSONTyped;
|
|
@@ -55,6 +57,7 @@ function AuthenticatorValidateStageToJSON(value) {
|
|
|
55
57
|
'device_classes': value.deviceClasses === undefined ? undefined : (value.deviceClasses.map(DeviceClassesEnum_1.DeviceClassesEnumToJSON)),
|
|
56
58
|
'configuration_stages': value.configurationStages,
|
|
57
59
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
60
|
+
'webauthn_user_verification': (0, UserVerificationEnum_1.UserVerificationEnumToJSON)(value.webauthnUserVerification),
|
|
58
61
|
};
|
|
59
62
|
}
|
|
60
63
|
exports.AuthenticatorValidateStageToJSON = AuthenticatorValidateStageToJSON;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { DeviceClassesEnum } from './DeviceClassesEnum';
|
|
13
13
|
import { FlowSetRequest } from './FlowSetRequest';
|
|
14
14
|
import { NotConfiguredActionEnum } from './NotConfiguredActionEnum';
|
|
15
|
+
import { UserVerificationEnum } from './UserVerificationEnum';
|
|
15
16
|
/**
|
|
16
17
|
* AuthenticatorValidateStage Serializer
|
|
17
18
|
* @export
|
|
@@ -54,6 +55,12 @@ export interface AuthenticatorValidateStageRequest {
|
|
|
54
55
|
* @memberof AuthenticatorValidateStageRequest
|
|
55
56
|
*/
|
|
56
57
|
lastAuthThreshold?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Enforce user verification for WebAuthn devices.
|
|
60
|
+
* @type {UserVerificationEnum}
|
|
61
|
+
* @memberof AuthenticatorValidateStageRequest
|
|
62
|
+
*/
|
|
63
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
57
64
|
}
|
|
58
65
|
export declare function AuthenticatorValidateStageRequestFromJSON(json: any): AuthenticatorValidateStageRequest;
|
|
59
66
|
export declare function AuthenticatorValidateStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorValidateStageRequest;
|
|
@@ -18,6 +18,7 @@ const runtime_1 = require("../runtime");
|
|
|
18
18
|
const DeviceClassesEnum_1 = require("./DeviceClassesEnum");
|
|
19
19
|
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
20
20
|
const NotConfiguredActionEnum_1 = require("./NotConfiguredActionEnum");
|
|
21
|
+
const UserVerificationEnum_1 = require("./UserVerificationEnum");
|
|
21
22
|
function AuthenticatorValidateStageRequestFromJSON(json) {
|
|
22
23
|
return AuthenticatorValidateStageRequestFromJSONTyped(json, false);
|
|
23
24
|
}
|
|
@@ -33,6 +34,7 @@ function AuthenticatorValidateStageRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
33
34
|
'deviceClasses': !(0, runtime_1.exists)(json, 'device_classes') ? undefined : (json['device_classes'].map(DeviceClassesEnum_1.DeviceClassesEnumFromJSON)),
|
|
34
35
|
'configurationStages': !(0, runtime_1.exists)(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
35
36
|
'lastAuthThreshold': !(0, runtime_1.exists)(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
37
|
+
'webauthnUserVerification': !(0, runtime_1.exists)(json, 'webauthn_user_verification') ? undefined : (0, UserVerificationEnum_1.UserVerificationEnumFromJSON)(json['webauthn_user_verification']),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
exports.AuthenticatorValidateStageRequestFromJSONTyped = AuthenticatorValidateStageRequestFromJSONTyped;
|
|
@@ -50,6 +52,7 @@ function AuthenticatorValidateStageRequestToJSON(value) {
|
|
|
50
52
|
'device_classes': value.deviceClasses === undefined ? undefined : (value.deviceClasses.map(DeviceClassesEnum_1.DeviceClassesEnumToJSON)),
|
|
51
53
|
'configuration_stages': value.configurationStages,
|
|
52
54
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
55
|
+
'webauthn_user_verification': (0, UserVerificationEnum_1.UserVerificationEnumToJSON)(value.webauthnUserVerification),
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
exports.AuthenticatorValidateStageRequestToJSON = AuthenticatorValidateStageRequestToJSON;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { DeviceClassesEnum } from './DeviceClassesEnum';
|
|
13
13
|
import { FlowSetRequest } from './FlowSetRequest';
|
|
14
14
|
import { NotConfiguredActionEnum } from './NotConfiguredActionEnum';
|
|
15
|
+
import { UserVerificationEnum } from './UserVerificationEnum';
|
|
15
16
|
/**
|
|
16
17
|
* AuthenticatorValidateStage Serializer
|
|
17
18
|
* @export
|
|
@@ -54,6 +55,12 @@ export interface PatchedAuthenticatorValidateStageRequest {
|
|
|
54
55
|
* @memberof PatchedAuthenticatorValidateStageRequest
|
|
55
56
|
*/
|
|
56
57
|
lastAuthThreshold?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Enforce user verification for WebAuthn devices.
|
|
60
|
+
* @type {UserVerificationEnum}
|
|
61
|
+
* @memberof PatchedAuthenticatorValidateStageRequest
|
|
62
|
+
*/
|
|
63
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
57
64
|
}
|
|
58
65
|
export declare function PatchedAuthenticatorValidateStageRequestFromJSON(json: any): PatchedAuthenticatorValidateStageRequest;
|
|
59
66
|
export declare function PatchedAuthenticatorValidateStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorValidateStageRequest;
|
|
@@ -18,6 +18,7 @@ const runtime_1 = require("../runtime");
|
|
|
18
18
|
const DeviceClassesEnum_1 = require("./DeviceClassesEnum");
|
|
19
19
|
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
20
20
|
const NotConfiguredActionEnum_1 = require("./NotConfiguredActionEnum");
|
|
21
|
+
const UserVerificationEnum_1 = require("./UserVerificationEnum");
|
|
21
22
|
function PatchedAuthenticatorValidateStageRequestFromJSON(json) {
|
|
22
23
|
return PatchedAuthenticatorValidateStageRequestFromJSONTyped(json, false);
|
|
23
24
|
}
|
|
@@ -33,6 +34,7 @@ function PatchedAuthenticatorValidateStageRequestFromJSONTyped(json, ignoreDiscr
|
|
|
33
34
|
'deviceClasses': !(0, runtime_1.exists)(json, 'device_classes') ? undefined : (json['device_classes'].map(DeviceClassesEnum_1.DeviceClassesEnumFromJSON)),
|
|
34
35
|
'configurationStages': !(0, runtime_1.exists)(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
35
36
|
'lastAuthThreshold': !(0, runtime_1.exists)(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
37
|
+
'webauthnUserVerification': !(0, runtime_1.exists)(json, 'webauthn_user_verification') ? undefined : (0, UserVerificationEnum_1.UserVerificationEnumFromJSON)(json['webauthn_user_verification']),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
exports.PatchedAuthenticatorValidateStageRequestFromJSONTyped = PatchedAuthenticatorValidateStageRequestFromJSONTyped;
|
|
@@ -50,6 +52,7 @@ function PatchedAuthenticatorValidateStageRequestToJSON(value) {
|
|
|
50
52
|
'device_classes': value.deviceClasses === undefined ? undefined : (value.deviceClasses.map(DeviceClassesEnum_1.DeviceClassesEnumToJSON)),
|
|
51
53
|
'configuration_stages': value.configurationStages,
|
|
52
54
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
55
|
+
'webauthn_user_verification': (0, UserVerificationEnum_1.UserVerificationEnumToJSON)(value.webauthnUserVerification),
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
exports.PatchedAuthenticatorValidateStageRequestToJSON = PatchedAuthenticatorValidateStageRequestToJSON;
|
package/package.json
CHANGED
|
@@ -31,6 +31,12 @@ import {
|
|
|
31
31
|
NotConfiguredActionEnumFromJSONTyped,
|
|
32
32
|
NotConfiguredActionEnumToJSON,
|
|
33
33
|
} from './NotConfiguredActionEnum';
|
|
34
|
+
import {
|
|
35
|
+
UserVerificationEnum,
|
|
36
|
+
UserVerificationEnumFromJSON,
|
|
37
|
+
UserVerificationEnumFromJSONTyped,
|
|
38
|
+
UserVerificationEnumToJSON,
|
|
39
|
+
} from './UserVerificationEnum';
|
|
34
40
|
|
|
35
41
|
/**
|
|
36
42
|
* AuthenticatorValidateStage Serializer
|
|
@@ -104,6 +110,12 @@ export interface AuthenticatorValidateStage {
|
|
|
104
110
|
* @memberof AuthenticatorValidateStage
|
|
105
111
|
*/
|
|
106
112
|
lastAuthThreshold?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Enforce user verification for WebAuthn devices.
|
|
115
|
+
* @type {UserVerificationEnum}
|
|
116
|
+
* @memberof AuthenticatorValidateStage
|
|
117
|
+
*/
|
|
118
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
107
119
|
}
|
|
108
120
|
|
|
109
121
|
export function AuthenticatorValidateStageFromJSON(json: any): AuthenticatorValidateStage {
|
|
@@ -127,6 +139,7 @@ export function AuthenticatorValidateStageFromJSONTyped(json: any, ignoreDiscrim
|
|
|
127
139
|
'deviceClasses': !exists(json, 'device_classes') ? undefined : ((json['device_classes'] as Array<any>).map(DeviceClassesEnumFromJSON)),
|
|
128
140
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
129
141
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
142
|
+
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
|
130
143
|
};
|
|
131
144
|
}
|
|
132
145
|
|
|
@@ -145,6 +158,7 @@ export function AuthenticatorValidateStageToJSON(value?: AuthenticatorValidateSt
|
|
|
145
158
|
'device_classes': value.deviceClasses === undefined ? undefined : ((value.deviceClasses as Array<any>).map(DeviceClassesEnumToJSON)),
|
|
146
159
|
'configuration_stages': value.configurationStages,
|
|
147
160
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
161
|
+
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
|
148
162
|
};
|
|
149
163
|
}
|
|
150
164
|
|
|
@@ -31,6 +31,12 @@ import {
|
|
|
31
31
|
NotConfiguredActionEnumFromJSONTyped,
|
|
32
32
|
NotConfiguredActionEnumToJSON,
|
|
33
33
|
} from './NotConfiguredActionEnum';
|
|
34
|
+
import {
|
|
35
|
+
UserVerificationEnum,
|
|
36
|
+
UserVerificationEnumFromJSON,
|
|
37
|
+
UserVerificationEnumFromJSONTyped,
|
|
38
|
+
UserVerificationEnumToJSON,
|
|
39
|
+
} from './UserVerificationEnum';
|
|
34
40
|
|
|
35
41
|
/**
|
|
36
42
|
* AuthenticatorValidateStage Serializer
|
|
@@ -74,6 +80,12 @@ export interface AuthenticatorValidateStageRequest {
|
|
|
74
80
|
* @memberof AuthenticatorValidateStageRequest
|
|
75
81
|
*/
|
|
76
82
|
lastAuthThreshold?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Enforce user verification for WebAuthn devices.
|
|
85
|
+
* @type {UserVerificationEnum}
|
|
86
|
+
* @memberof AuthenticatorValidateStageRequest
|
|
87
|
+
*/
|
|
88
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
77
89
|
}
|
|
78
90
|
|
|
79
91
|
export function AuthenticatorValidateStageRequestFromJSON(json: any): AuthenticatorValidateStageRequest {
|
|
@@ -92,6 +104,7 @@ export function AuthenticatorValidateStageRequestFromJSONTyped(json: any, ignore
|
|
|
92
104
|
'deviceClasses': !exists(json, 'device_classes') ? undefined : ((json['device_classes'] as Array<any>).map(DeviceClassesEnumFromJSON)),
|
|
93
105
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
94
106
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
107
|
+
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
|
95
108
|
};
|
|
96
109
|
}
|
|
97
110
|
|
|
@@ -110,6 +123,7 @@ export function AuthenticatorValidateStageRequestToJSON(value?: AuthenticatorVal
|
|
|
110
123
|
'device_classes': value.deviceClasses === undefined ? undefined : ((value.deviceClasses as Array<any>).map(DeviceClassesEnumToJSON)),
|
|
111
124
|
'configuration_stages': value.configurationStages,
|
|
112
125
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
126
|
+
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
|
113
127
|
};
|
|
114
128
|
}
|
|
115
129
|
|
|
@@ -31,6 +31,12 @@ import {
|
|
|
31
31
|
NotConfiguredActionEnumFromJSONTyped,
|
|
32
32
|
NotConfiguredActionEnumToJSON,
|
|
33
33
|
} from './NotConfiguredActionEnum';
|
|
34
|
+
import {
|
|
35
|
+
UserVerificationEnum,
|
|
36
|
+
UserVerificationEnumFromJSON,
|
|
37
|
+
UserVerificationEnumFromJSONTyped,
|
|
38
|
+
UserVerificationEnumToJSON,
|
|
39
|
+
} from './UserVerificationEnum';
|
|
34
40
|
|
|
35
41
|
/**
|
|
36
42
|
* AuthenticatorValidateStage Serializer
|
|
@@ -74,6 +80,12 @@ export interface PatchedAuthenticatorValidateStageRequest {
|
|
|
74
80
|
* @memberof PatchedAuthenticatorValidateStageRequest
|
|
75
81
|
*/
|
|
76
82
|
lastAuthThreshold?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Enforce user verification for WebAuthn devices.
|
|
85
|
+
* @type {UserVerificationEnum}
|
|
86
|
+
* @memberof PatchedAuthenticatorValidateStageRequest
|
|
87
|
+
*/
|
|
88
|
+
webauthnUserVerification?: UserVerificationEnum | null;
|
|
77
89
|
}
|
|
78
90
|
|
|
79
91
|
export function PatchedAuthenticatorValidateStageRequestFromJSON(json: any): PatchedAuthenticatorValidateStageRequest {
|
|
@@ -92,6 +104,7 @@ export function PatchedAuthenticatorValidateStageRequestFromJSONTyped(json: any,
|
|
|
92
104
|
'deviceClasses': !exists(json, 'device_classes') ? undefined : ((json['device_classes'] as Array<any>).map(DeviceClassesEnumFromJSON)),
|
|
93
105
|
'configurationStages': !exists(json, 'configuration_stages') ? undefined : json['configuration_stages'],
|
|
94
106
|
'lastAuthThreshold': !exists(json, 'last_auth_threshold') ? undefined : json['last_auth_threshold'],
|
|
107
|
+
'webauthnUserVerification': !exists(json, 'webauthn_user_verification') ? undefined : UserVerificationEnumFromJSON(json['webauthn_user_verification']),
|
|
95
108
|
};
|
|
96
109
|
}
|
|
97
110
|
|
|
@@ -110,6 +123,7 @@ export function PatchedAuthenticatorValidateStageRequestToJSON(value?: PatchedAu
|
|
|
110
123
|
'device_classes': value.deviceClasses === undefined ? undefined : ((value.deviceClasses as Array<any>).map(DeviceClassesEnumToJSON)),
|
|
111
124
|
'configuration_stages': value.configurationStages,
|
|
112
125
|
'last_auth_threshold': value.lastAuthThreshold,
|
|
126
|
+
'webauthn_user_verification': UserVerificationEnumToJSON(value.webauthnUserVerification),
|
|
113
127
|
};
|
|
114
128
|
}
|
|
115
129
|
|