@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729699127
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +25 -0
- package/dist/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/apis/AuthenticatorsApi.js +347 -0
- package/dist/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/apis/PropertymappingsApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +10 -0
- package/dist/apis/RbacApi.js +10 -0
- package/dist/apis/SourcesApi.d.ts +257 -1
- package/dist/apis/SourcesApi.js +841 -28
- package/dist/apis/StagesApi.d.ts +85 -1
- package/dist/apis/StagesApi.js +268 -0
- package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/esm/apis/AuthenticatorsApi.js +348 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/esm/apis/PropertymappingsApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +10 -0
- package/dist/esm/apis/RbacApi.js +10 -0
- package/dist/esm/apis/SourcesApi.d.ts +257 -1
- package/dist/esm/apis/SourcesApi.js +842 -29
- package/dist/esm/apis/StagesApi.d.ts +85 -1
- package/dist/esm/apis/StagesApi.js +269 -1
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
- package/dist/esm/models/BackendsEnum.d.ts +1 -0
- package/dist/esm/models/BackendsEnum.js +1 -0
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/Device.d.ts +2 -2
- package/dist/esm/models/EndpointDevice.d.ts +37 -0
- package/dist/esm/models/EndpointDevice.js +46 -0
- package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/EndpointDeviceRequest.js +46 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/FrameChallenge.d.ts +65 -0
- package/dist/esm/models/FrameChallenge.js +56 -0
- package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
- package/dist/esm/models/KerberosSource.d.ts +198 -0
- package/dist/esm/models/KerberosSource.js +103 -0
- package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
- package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
- package/dist/esm/models/KerberosSourceRequest.js +93 -0
- package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
- package/dist/esm/models/KerberosSyncStatus.js +44 -0
- package/dist/esm/models/ModelEnum.d.ts +5 -0
- package/dist/esm/models/ModelEnum.js +5 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
- package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
- package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
- package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
- package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
- package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +25 -0
- package/dist/esm/models/index.js +25 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
- package/dist/models/BackendsEnum.d.ts +1 -0
- package/dist/models/BackendsEnum.js +1 -0
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/Device.d.ts +2 -2
- package/dist/models/EndpointDevice.d.ts +37 -0
- package/dist/models/EndpointDevice.js +53 -0
- package/dist/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/models/EndpointDeviceRequest.js +53 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/FrameChallenge.d.ts +65 -0
- package/dist/models/FrameChallenge.js +63 -0
- package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/models/FrameChallengeResponseRequest.js +50 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
- package/dist/models/GroupKerberosSourceConnection.js +57 -0
- package/dist/models/KerberosSource.d.ts +198 -0
- package/dist/models/KerberosSource.js +110 -0
- package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
- package/dist/models/KerberosSourcePropertyMapping.js +66 -0
- package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
- package/dist/models/KerberosSourceRequest.d.ts +166 -0
- package/dist/models/KerberosSourceRequest.js +100 -0
- package/dist/models/KerberosSyncStatus.d.ts +38 -0
- package/dist/models/KerberosSyncStatus.js +51 -0
- package/dist/models/ModelEnum.d.ts +5 -0
- package/dist/models/ModelEnum.js +5 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
- package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/models/PaginatedEndpointDeviceList.js +55 -0
- package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
- package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
- package/dist/models/PaginatedKerberosSourceList.js +55 -0
- package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
- package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
- package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
- package/dist/models/PatchedKerberosSourceRequest.js +97 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
- package/dist/models/UserKerberosSourceConnection.js +60 -0
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.js +25 -0
- package/package.json +1 -1
- package/src/apis/AuthenticatorsApi.ts +444 -0
- package/src/apis/PropertymappingsApi.ts +350 -0
- package/src/apis/RbacApi.ts +10 -0
- package/src/apis/SourcesApi.ts +1200 -153
- package/src/apis/StagesApi.ts +345 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
- package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
- package/src/models/BackendsEnum.ts +1 -0
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/Device.ts +2 -2
- package/src/models/EndpointDevice.ts +74 -0
- package/src/models/EndpointDeviceRequest.ts +74 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/FrameChallenge.ts +120 -0
- package/src/models/FrameChallengeResponseRequest.ts +65 -0
- package/src/models/GroupKerberosSourceConnection.ts +104 -0
- package/src/models/KerberosSource.ts +303 -0
- package/src/models/KerberosSourcePropertyMapping.ts +123 -0
- package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
- package/src/models/KerberosSourceRequest.ts +263 -0
- package/src/models/KerberosSyncStatus.ts +80 -0
- package/src/models/ModelEnum.ts +5 -0
- package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
- package/src/models/PaginatedEndpointDeviceList.ts +88 -0
- package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
- package/src/models/PaginatedKerberosSourceList.ts +88 -0
- package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
- package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
- package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
- package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedKerberosSourceRequest.ts +260 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +106 -0
- package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +25 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.PatchedKerberosSourcePropertyMappingRequestToJSON = exports.PatchedKerberosSourcePropertyMappingRequestFromJSONTyped = exports.PatchedKerberosSourcePropertyMappingRequestFromJSON = exports.instanceOfPatchedKerberosSourcePropertyMappingRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the PatchedKerberosSourcePropertyMappingRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfPatchedKerberosSourcePropertyMappingRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfPatchedKerberosSourcePropertyMappingRequest = instanceOfPatchedKerberosSourcePropertyMappingRequest;
|
26
|
+
function PatchedKerberosSourcePropertyMappingRequestFromJSON(json) {
|
27
|
+
return PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.PatchedKerberosSourcePropertyMappingRequestFromJSON = PatchedKerberosSourcePropertyMappingRequestFromJSON;
|
30
|
+
function PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
36
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
37
|
+
'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.PatchedKerberosSourcePropertyMappingRequestFromJSONTyped = PatchedKerberosSourcePropertyMappingRequestFromJSONTyped;
|
41
|
+
function PatchedKerberosSourcePropertyMappingRequestToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'managed': value.managed,
|
50
|
+
'name': value.name,
|
51
|
+
'expression': value.expression,
|
52
|
+
};
|
53
|
+
}
|
54
|
+
exports.PatchedKerberosSourcePropertyMappingRequestToJSON = PatchedKerberosSourcePropertyMappingRequestToJSON;
|
@@ -0,0 +1,166 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
13
|
+
import type { PolicyEngineMode } from './PolicyEngineMode';
|
14
|
+
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
15
|
+
/**
|
16
|
+
* Kerberos Source Serializer
|
17
|
+
* @export
|
18
|
+
* @interface PatchedKerberosSourceRequest
|
19
|
+
*/
|
20
|
+
export interface PatchedKerberosSourceRequest {
|
21
|
+
/**
|
22
|
+
* Source's display Name.
|
23
|
+
* @type {string}
|
24
|
+
* @memberof PatchedKerberosSourceRequest
|
25
|
+
*/
|
26
|
+
name?: string;
|
27
|
+
/**
|
28
|
+
* Internal source name, used in URLs.
|
29
|
+
* @type {string}
|
30
|
+
* @memberof PatchedKerberosSourceRequest
|
31
|
+
*/
|
32
|
+
slug?: string;
|
33
|
+
/**
|
34
|
+
*
|
35
|
+
* @type {boolean}
|
36
|
+
* @memberof PatchedKerberosSourceRequest
|
37
|
+
*/
|
38
|
+
enabled?: boolean;
|
39
|
+
/**
|
40
|
+
* Flow to use when authenticating existing users.
|
41
|
+
* @type {string}
|
42
|
+
* @memberof PatchedKerberosSourceRequest
|
43
|
+
*/
|
44
|
+
authenticationFlow?: string | null;
|
45
|
+
/**
|
46
|
+
* Flow to use when enrolling new users.
|
47
|
+
* @type {string}
|
48
|
+
* @memberof PatchedKerberosSourceRequest
|
49
|
+
*/
|
50
|
+
enrollmentFlow?: string | null;
|
51
|
+
/**
|
52
|
+
*
|
53
|
+
* @type {Array<string>}
|
54
|
+
* @memberof PatchedKerberosSourceRequest
|
55
|
+
*/
|
56
|
+
userPropertyMappings?: Array<string>;
|
57
|
+
/**
|
58
|
+
*
|
59
|
+
* @type {Array<string>}
|
60
|
+
* @memberof PatchedKerberosSourceRequest
|
61
|
+
*/
|
62
|
+
groupPropertyMappings?: Array<string>;
|
63
|
+
/**
|
64
|
+
*
|
65
|
+
* @type {PolicyEngineMode}
|
66
|
+
* @memberof PatchedKerberosSourceRequest
|
67
|
+
*/
|
68
|
+
policyEngineMode?: PolicyEngineMode;
|
69
|
+
/**
|
70
|
+
*
|
71
|
+
* @type {UserMatchingModeEnum}
|
72
|
+
* @memberof PatchedKerberosSourceRequest
|
73
|
+
*/
|
74
|
+
userMatchingMode?: UserMatchingModeEnum;
|
75
|
+
/**
|
76
|
+
*
|
77
|
+
* @type {string}
|
78
|
+
* @memberof PatchedKerberosSourceRequest
|
79
|
+
*/
|
80
|
+
userPathTemplate?: string;
|
81
|
+
/**
|
82
|
+
*
|
83
|
+
* @type {GroupMatchingModeEnum}
|
84
|
+
* @memberof PatchedKerberosSourceRequest
|
85
|
+
*/
|
86
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
87
|
+
/**
|
88
|
+
* Kerberos realm
|
89
|
+
* @type {string}
|
90
|
+
* @memberof PatchedKerberosSourceRequest
|
91
|
+
*/
|
92
|
+
realm?: string;
|
93
|
+
/**
|
94
|
+
* Custom krb5.conf to use. Uses the system one by default
|
95
|
+
* @type {string}
|
96
|
+
* @memberof PatchedKerberosSourceRequest
|
97
|
+
*/
|
98
|
+
krb5Conf?: string;
|
99
|
+
/**
|
100
|
+
* Sync users from Kerberos into authentik
|
101
|
+
* @type {boolean}
|
102
|
+
* @memberof PatchedKerberosSourceRequest
|
103
|
+
*/
|
104
|
+
syncUsers?: boolean;
|
105
|
+
/**
|
106
|
+
* When a user changes their password, sync it back to Kerberos
|
107
|
+
* @type {boolean}
|
108
|
+
* @memberof PatchedKerberosSourceRequest
|
109
|
+
*/
|
110
|
+
syncUsersPassword?: boolean;
|
111
|
+
/**
|
112
|
+
* Principal to authenticate to kadmin for sync.
|
113
|
+
* @type {string}
|
114
|
+
* @memberof PatchedKerberosSourceRequest
|
115
|
+
*/
|
116
|
+
syncPrincipal?: string;
|
117
|
+
/**
|
118
|
+
* Password to authenticate to kadmin for sync
|
119
|
+
* @type {string}
|
120
|
+
* @memberof PatchedKerberosSourceRequest
|
121
|
+
*/
|
122
|
+
syncPassword?: string;
|
123
|
+
/**
|
124
|
+
* Keytab to authenticate to kadmin for sync. Must be base64-encoded or in the form TYPE:residual
|
125
|
+
* @type {string}
|
126
|
+
* @memberof PatchedKerberosSourceRequest
|
127
|
+
*/
|
128
|
+
syncKeytab?: string;
|
129
|
+
/**
|
130
|
+
* Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual
|
131
|
+
* @type {string}
|
132
|
+
* @memberof PatchedKerberosSourceRequest
|
133
|
+
*/
|
134
|
+
syncCcache?: string;
|
135
|
+
/**
|
136
|
+
* Force the use of a specific server name for SPNEGO
|
137
|
+
* @type {string}
|
138
|
+
* @memberof PatchedKerberosSourceRequest
|
139
|
+
*/
|
140
|
+
spnegoServerName?: string;
|
141
|
+
/**
|
142
|
+
* SPNEGO keytab base64-encoded or path to keytab in the form FILE:path
|
143
|
+
* @type {string}
|
144
|
+
* @memberof PatchedKerberosSourceRequest
|
145
|
+
*/
|
146
|
+
spnegoKeytab?: string;
|
147
|
+
/**
|
148
|
+
* Credential cache to use for SPNEGO in form type:residual
|
149
|
+
* @type {string}
|
150
|
+
* @memberof PatchedKerberosSourceRequest
|
151
|
+
*/
|
152
|
+
spnegoCcache?: string;
|
153
|
+
/**
|
154
|
+
* If enabled, the authentik-stored password will be updated upon login with the Kerberos password backend
|
155
|
+
* @type {boolean}
|
156
|
+
* @memberof PatchedKerberosSourceRequest
|
157
|
+
*/
|
158
|
+
passwordLoginUpdateInternalPassword?: boolean;
|
159
|
+
}
|
160
|
+
/**
|
161
|
+
* Check if a given object implements the PatchedKerberosSourceRequest interface.
|
162
|
+
*/
|
163
|
+
export declare function instanceOfPatchedKerberosSourceRequest(value: object): boolean;
|
164
|
+
export declare function PatchedKerberosSourceRequestFromJSON(json: any): PatchedKerberosSourceRequest;
|
165
|
+
export declare function PatchedKerberosSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedKerberosSourceRequest;
|
166
|
+
export declare function PatchedKerberosSourceRequestToJSON(value?: PatchedKerberosSourceRequest | null): any;
|
@@ -0,0 +1,97 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.PatchedKerberosSourceRequestToJSON = exports.PatchedKerberosSourceRequestFromJSONTyped = exports.PatchedKerberosSourceRequestFromJSON = exports.instanceOfPatchedKerberosSourceRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
const GroupMatchingModeEnum_1 = require("./GroupMatchingModeEnum");
|
19
|
+
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
20
|
+
const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
|
21
|
+
/**
|
22
|
+
* Check if a given object implements the PatchedKerberosSourceRequest interface.
|
23
|
+
*/
|
24
|
+
function instanceOfPatchedKerberosSourceRequest(value) {
|
25
|
+
let isInstance = true;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPatchedKerberosSourceRequest = instanceOfPatchedKerberosSourceRequest;
|
29
|
+
function PatchedKerberosSourceRequestFromJSON(json) {
|
30
|
+
return PatchedKerberosSourceRequestFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PatchedKerberosSourceRequestFromJSON = PatchedKerberosSourceRequestFromJSON;
|
33
|
+
function PatchedKerberosSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
39
|
+
'slug': !(0, runtime_1.exists)(json, 'slug') ? undefined : json['slug'],
|
40
|
+
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
41
|
+
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
42
|
+
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
43
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
44
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
45
|
+
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
46
|
+
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
47
|
+
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
48
|
+
'groupMatchingMode': !(0, runtime_1.exists)(json, 'group_matching_mode') ? undefined : (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumFromJSON)(json['group_matching_mode']),
|
49
|
+
'realm': !(0, runtime_1.exists)(json, 'realm') ? undefined : json['realm'],
|
50
|
+
'krb5Conf': !(0, runtime_1.exists)(json, 'krb5_conf') ? undefined : json['krb5_conf'],
|
51
|
+
'syncUsers': !(0, runtime_1.exists)(json, 'sync_users') ? undefined : json['sync_users'],
|
52
|
+
'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
53
|
+
'syncPrincipal': !(0, runtime_1.exists)(json, 'sync_principal') ? undefined : json['sync_principal'],
|
54
|
+
'syncPassword': !(0, runtime_1.exists)(json, 'sync_password') ? undefined : json['sync_password'],
|
55
|
+
'syncKeytab': !(0, runtime_1.exists)(json, 'sync_keytab') ? undefined : json['sync_keytab'],
|
56
|
+
'syncCcache': !(0, runtime_1.exists)(json, 'sync_ccache') ? undefined : json['sync_ccache'],
|
57
|
+
'spnegoServerName': !(0, runtime_1.exists)(json, 'spnego_server_name') ? undefined : json['spnego_server_name'],
|
58
|
+
'spnegoKeytab': !(0, runtime_1.exists)(json, 'spnego_keytab') ? undefined : json['spnego_keytab'],
|
59
|
+
'spnegoCcache': !(0, runtime_1.exists)(json, 'spnego_ccache') ? undefined : json['spnego_ccache'],
|
60
|
+
'passwordLoginUpdateInternalPassword': !(0, runtime_1.exists)(json, 'password_login_update_internal_password') ? undefined : json['password_login_update_internal_password'],
|
61
|
+
};
|
62
|
+
}
|
63
|
+
exports.PatchedKerberosSourceRequestFromJSONTyped = PatchedKerberosSourceRequestFromJSONTyped;
|
64
|
+
function PatchedKerberosSourceRequestToJSON(value) {
|
65
|
+
if (value === undefined) {
|
66
|
+
return undefined;
|
67
|
+
}
|
68
|
+
if (value === null) {
|
69
|
+
return null;
|
70
|
+
}
|
71
|
+
return {
|
72
|
+
'name': value.name,
|
73
|
+
'slug': value.slug,
|
74
|
+
'enabled': value.enabled,
|
75
|
+
'authentication_flow': value.authenticationFlow,
|
76
|
+
'enrollment_flow': value.enrollmentFlow,
|
77
|
+
'user_property_mappings': value.userPropertyMappings,
|
78
|
+
'group_property_mappings': value.groupPropertyMappings,
|
79
|
+
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
80
|
+
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
81
|
+
'user_path_template': value.userPathTemplate,
|
82
|
+
'group_matching_mode': (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumToJSON)(value.groupMatchingMode),
|
83
|
+
'realm': value.realm,
|
84
|
+
'krb5_conf': value.krb5Conf,
|
85
|
+
'sync_users': value.syncUsers,
|
86
|
+
'sync_users_password': value.syncUsersPassword,
|
87
|
+
'sync_principal': value.syncPrincipal,
|
88
|
+
'sync_password': value.syncPassword,
|
89
|
+
'sync_keytab': value.syncKeytab,
|
90
|
+
'sync_ccache': value.syncCcache,
|
91
|
+
'spnego_server_name': value.spnegoServerName,
|
92
|
+
'spnego_keytab': value.spnegoKeytab,
|
93
|
+
'spnego_ccache': value.spnegoCcache,
|
94
|
+
'password_login_update_internal_password': value.passwordLoginUpdateInternalPassword,
|
95
|
+
};
|
96
|
+
}
|
97
|
+
exports.PatchedKerberosSourceRequestToJSON = PatchedKerberosSourceRequestToJSON;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* Kerberos Source Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedUserKerberosSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedUserKerberosSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserKerberosSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
identifier?: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the PatchedUserKerberosSourceConnectionRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfPatchedUserKerberosSourceConnectionRequest(value: object): boolean;
|
35
|
+
export declare function PatchedUserKerberosSourceConnectionRequestFromJSON(json: any): PatchedUserKerberosSourceConnectionRequest;
|
36
|
+
export declare function PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserKerberosSourceConnectionRequest;
|
37
|
+
export declare function PatchedUserKerberosSourceConnectionRequestToJSON(value?: PatchedUserKerberosSourceConnectionRequest | null): any;
|
@@ -0,0 +1,52 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.PatchedUserKerberosSourceConnectionRequestToJSON = exports.PatchedUserKerberosSourceConnectionRequestFromJSONTyped = exports.PatchedUserKerberosSourceConnectionRequestFromJSON = exports.instanceOfPatchedUserKerberosSourceConnectionRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the PatchedUserKerberosSourceConnectionRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfPatchedUserKerberosSourceConnectionRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfPatchedUserKerberosSourceConnectionRequest = instanceOfPatchedUserKerberosSourceConnectionRequest;
|
26
|
+
function PatchedUserKerberosSourceConnectionRequestFromJSON(json) {
|
27
|
+
return PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.PatchedUserKerberosSourceConnectionRequestFromJSON = PatchedUserKerberosSourceConnectionRequestFromJSON;
|
30
|
+
function PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
36
|
+
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
37
|
+
};
|
38
|
+
}
|
39
|
+
exports.PatchedUserKerberosSourceConnectionRequestFromJSONTyped = PatchedUserKerberosSourceConnectionRequestFromJSONTyped;
|
40
|
+
function PatchedUserKerberosSourceConnectionRequestToJSON(value) {
|
41
|
+
if (value === undefined) {
|
42
|
+
return undefined;
|
43
|
+
}
|
44
|
+
if (value === null) {
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
return {
|
48
|
+
'user': value.user,
|
49
|
+
'identifier': value.identifier,
|
50
|
+
};
|
51
|
+
}
|
52
|
+
exports.PatchedUserKerberosSourceConnectionRequestToJSON = PatchedUserKerberosSourceConnectionRequestToJSON;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import type { Source } from './Source';
|
13
|
+
/**
|
14
|
+
* Kerberos Source Serializer
|
15
|
+
* @export
|
16
|
+
* @interface UserKerberosSourceConnection
|
17
|
+
*/
|
18
|
+
export interface UserKerberosSourceConnection {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {number}
|
22
|
+
* @memberof UserKerberosSourceConnection
|
23
|
+
*/
|
24
|
+
readonly pk: number;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {number}
|
28
|
+
* @memberof UserKerberosSourceConnection
|
29
|
+
*/
|
30
|
+
user: number;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {Source}
|
34
|
+
* @memberof UserKerberosSourceConnection
|
35
|
+
*/
|
36
|
+
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {Date}
|
40
|
+
* @memberof UserKerberosSourceConnection
|
41
|
+
*/
|
42
|
+
readonly created: Date;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {string}
|
46
|
+
* @memberof UserKerberosSourceConnection
|
47
|
+
*/
|
48
|
+
identifier: string;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the UserKerberosSourceConnection interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfUserKerberosSourceConnection(value: object): boolean;
|
54
|
+
export declare function UserKerberosSourceConnectionFromJSON(json: any): UserKerberosSourceConnection;
|
55
|
+
export declare function UserKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserKerberosSourceConnection;
|
56
|
+
export declare function UserKerberosSourceConnectionToJSON(value?: UserKerberosSourceConnection | null): any;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.UserKerberosSourceConnectionToJSON = exports.UserKerberosSourceConnectionFromJSONTyped = exports.UserKerberosSourceConnectionFromJSON = exports.instanceOfUserKerberosSourceConnection = void 0;
|
17
|
+
const Source_1 = require("./Source");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the UserKerberosSourceConnection interface.
|
20
|
+
*/
|
21
|
+
function instanceOfUserKerberosSourceConnection(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "pk" in value;
|
24
|
+
isInstance = isInstance && "user" in value;
|
25
|
+
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "created" in value;
|
27
|
+
isInstance = isInstance && "identifier" in value;
|
28
|
+
return isInstance;
|
29
|
+
}
|
30
|
+
exports.instanceOfUserKerberosSourceConnection = instanceOfUserKerberosSourceConnection;
|
31
|
+
function UserKerberosSourceConnectionFromJSON(json) {
|
32
|
+
return UserKerberosSourceConnectionFromJSONTyped(json, false);
|
33
|
+
}
|
34
|
+
exports.UserKerberosSourceConnectionFromJSON = UserKerberosSourceConnectionFromJSON;
|
35
|
+
function UserKerberosSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
36
|
+
if ((json === undefined) || (json === null)) {
|
37
|
+
return json;
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
'pk': json['pk'],
|
41
|
+
'user': json['user'],
|
42
|
+
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'created': (new Date(json['created'])),
|
44
|
+
'identifier': json['identifier'],
|
45
|
+
};
|
46
|
+
}
|
47
|
+
exports.UserKerberosSourceConnectionFromJSONTyped = UserKerberosSourceConnectionFromJSONTyped;
|
48
|
+
function UserKerberosSourceConnectionToJSON(value) {
|
49
|
+
if (value === undefined) {
|
50
|
+
return undefined;
|
51
|
+
}
|
52
|
+
if (value === null) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
return {
|
56
|
+
'user': value.user,
|
57
|
+
'identifier': value.identifier,
|
58
|
+
};
|
59
|
+
}
|
60
|
+
exports.UserKerberosSourceConnectionToJSON = UserKerberosSourceConnectionToJSON;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* Kerberos Source Serializer
|
14
|
+
* @export
|
15
|
+
* @interface UserKerberosSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface UserKerberosSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof UserKerberosSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof UserKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
identifier: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the UserKerberosSourceConnectionRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfUserKerberosSourceConnectionRequest(value: object): boolean;
|
35
|
+
export declare function UserKerberosSourceConnectionRequestFromJSON(json: any): UserKerberosSourceConnectionRequest;
|
36
|
+
export declare function UserKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserKerberosSourceConnectionRequest;
|
37
|
+
export declare function UserKerberosSourceConnectionRequestToJSON(value?: UserKerberosSourceConnectionRequest | null): any;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.UserKerberosSourceConnectionRequestToJSON = exports.UserKerberosSourceConnectionRequestFromJSONTyped = exports.UserKerberosSourceConnectionRequestFromJSON = exports.instanceOfUserKerberosSourceConnectionRequest = void 0;
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the UserKerberosSourceConnectionRequest interface.
|
19
|
+
*/
|
20
|
+
function instanceOfUserKerberosSourceConnectionRequest(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
isInstance = isInstance && "user" in value;
|
23
|
+
isInstance = isInstance && "identifier" in value;
|
24
|
+
return isInstance;
|
25
|
+
}
|
26
|
+
exports.instanceOfUserKerberosSourceConnectionRequest = instanceOfUserKerberosSourceConnectionRequest;
|
27
|
+
function UserKerberosSourceConnectionRequestFromJSON(json) {
|
28
|
+
return UserKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
exports.UserKerberosSourceConnectionRequestFromJSON = UserKerberosSourceConnectionRequestFromJSON;
|
31
|
+
function UserKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
32
|
+
if ((json === undefined) || (json === null)) {
|
33
|
+
return json;
|
34
|
+
}
|
35
|
+
return {
|
36
|
+
'user': json['user'],
|
37
|
+
'identifier': json['identifier'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.UserKerberosSourceConnectionRequestFromJSONTyped = UserKerberosSourceConnectionRequestFromJSONTyped;
|
41
|
+
function UserKerberosSourceConnectionRequestToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'user': value.user,
|
50
|
+
'identifier': value.identifier,
|
51
|
+
};
|
52
|
+
}
|
53
|
+
exports.UserKerberosSourceConnectionRequestToJSON = UserKerberosSourceConnectionRequestToJSON;
|