@goauthentik/api 2024.8.3-1729630021 → 2024.8.3-1729699127

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  3. package/dist/apis/PropertymappingsApi.js +271 -0
  4. package/dist/apis/RbacApi.d.ts +8 -0
  5. package/dist/apis/RbacApi.js +8 -0
  6. package/dist/apis/SourcesApi.d.ts +257 -1
  7. package/dist/apis/SourcesApi.js +841 -28
  8. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  9. package/dist/esm/apis/PropertymappingsApi.js +272 -1
  10. package/dist/esm/apis/RbacApi.d.ts +8 -0
  11. package/dist/esm/apis/RbacApi.js +8 -0
  12. package/dist/esm/apis/SourcesApi.d.ts +257 -1
  13. package/dist/esm/apis/SourcesApi.js +842 -29
  14. package/dist/esm/models/AppEnum.d.ts +1 -0
  15. package/dist/esm/models/AppEnum.js +1 -0
  16. package/dist/esm/models/BackendsEnum.d.ts +1 -0
  17. package/dist/esm/models/BackendsEnum.js +1 -0
  18. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
  19. package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
  20. package/dist/esm/models/KerberosSource.d.ts +198 -0
  21. package/dist/esm/models/KerberosSource.js +103 -0
  22. package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
  23. package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
  24. package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  25. package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
  26. package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
  27. package/dist/esm/models/KerberosSourceRequest.js +93 -0
  28. package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
  29. package/dist/esm/models/KerberosSyncStatus.js +44 -0
  30. package/dist/esm/models/ModelEnum.d.ts +4 -0
  31. package/dist/esm/models/ModelEnum.js +4 -0
  32. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  33. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
  34. package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
  35. package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
  36. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  37. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
  38. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  39. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
  40. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  41. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
  42. package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
  43. package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
  44. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  45. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
  46. package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
  47. package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
  48. package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  49. package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
  50. package/dist/esm/models/index.d.ts +15 -0
  51. package/dist/esm/models/index.js +15 -0
  52. package/dist/models/AppEnum.d.ts +1 -0
  53. package/dist/models/AppEnum.js +1 -0
  54. package/dist/models/BackendsEnum.d.ts +1 -0
  55. package/dist/models/BackendsEnum.js +1 -0
  56. package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
  57. package/dist/models/GroupKerberosSourceConnection.js +57 -0
  58. package/dist/models/KerberosSource.d.ts +198 -0
  59. package/dist/models/KerberosSource.js +110 -0
  60. package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
  61. package/dist/models/KerberosSourcePropertyMapping.js +66 -0
  62. package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  63. package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
  64. package/dist/models/KerberosSourceRequest.d.ts +166 -0
  65. package/dist/models/KerberosSourceRequest.js +100 -0
  66. package/dist/models/KerberosSyncStatus.d.ts +38 -0
  67. package/dist/models/KerberosSyncStatus.js +51 -0
  68. package/dist/models/ModelEnum.d.ts +4 -0
  69. package/dist/models/ModelEnum.js +4 -0
  70. package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  71. package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
  72. package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
  73. package/dist/models/PaginatedKerberosSourceList.js +55 -0
  74. package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  75. package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
  76. package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  77. package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
  78. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  79. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
  80. package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
  81. package/dist/models/PatchedKerberosSourceRequest.js +97 -0
  82. package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  83. package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
  84. package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
  85. package/dist/models/UserKerberosSourceConnection.js +60 -0
  86. package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  87. package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
  88. package/dist/models/index.d.ts +15 -0
  89. package/dist/models/index.js +15 -0
  90. package/package.json +1 -1
  91. package/src/apis/PropertymappingsApi.ts +350 -0
  92. package/src/apis/RbacApi.ts +8 -0
  93. package/src/apis/SourcesApi.ts +1200 -153
  94. package/src/models/AppEnum.ts +1 -0
  95. package/src/models/BackendsEnum.ts +1 -0
  96. package/src/models/GroupKerberosSourceConnection.ts +104 -0
  97. package/src/models/KerberosSource.ts +303 -0
  98. package/src/models/KerberosSourcePropertyMapping.ts +123 -0
  99. package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
  100. package/src/models/KerberosSourceRequest.ts +263 -0
  101. package/src/models/KerberosSyncStatus.ts +80 -0
  102. package/src/models/ModelEnum.ts +4 -0
  103. package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
  104. package/src/models/PaginatedKerberosSourceList.ts +88 -0
  105. package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
  106. package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
  107. package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
  108. package/src/models/PatchedKerberosSourceRequest.ts +260 -0
  109. package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
  110. package/src/models/UserKerberosSourceConnection.ts +106 -0
  111. package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
  112. package/src/models/index.ts +15 -0
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
15
+ import { UserKerberosSourceConnectionFromJSON, UserKerberosSourceConnectionToJSON, } from './UserKerberosSourceConnection';
16
+ /**
17
+ * Check if a given object implements the PaginatedUserKerberosSourceConnectionList interface.
18
+ */
19
+ export function instanceOfPaginatedUserKerberosSourceConnectionList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedUserKerberosSourceConnectionListFromJSON(json) {
26
+ return PaginatedUserKerberosSourceConnectionListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedUserKerberosSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(UserKerberosSourceConnectionFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedUserKerberosSourceConnectionListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(UserKerberosSourceConnectionToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,43 @@
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 PropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedKerberosSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedKerberosSourcePropertyMappingRequest {
18
+ /**
19
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
20
+ * @type {string}
21
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedKerberosSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedKerberosSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedKerberosSourcePropertyMappingRequestFromJSON(json: any): PatchedKerberosSourcePropertyMappingRequest;
42
+ export declare function PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedKerberosSourcePropertyMappingRequest;
43
+ export declare function PatchedKerberosSourcePropertyMappingRequestToJSON(value?: PatchedKerberosSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the PatchedKerberosSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfPatchedKerberosSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedKerberosSourcePropertyMappingRequestFromJSON(json) {
23
+ return PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
31
+ 'name': !exists(json, 'name') ? undefined : json['name'],
32
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
33
+ };
34
+ }
35
+ export function PatchedKerberosSourcePropertyMappingRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'managed': value.managed,
44
+ 'name': value.name,
45
+ 'expression': value.expression,
46
+ };
47
+ }
@@ -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,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
16
+ import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
17
+ import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
18
+ /**
19
+ * Check if a given object implements the PatchedKerberosSourceRequest interface.
20
+ */
21
+ export function instanceOfPatchedKerberosSourceRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ export function PatchedKerberosSourceRequestFromJSON(json) {
26
+ return PatchedKerberosSourceRequestFromJSONTyped(json, false);
27
+ }
28
+ export function PatchedKerberosSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'name': !exists(json, 'name') ? undefined : json['name'],
34
+ 'slug': !exists(json, 'slug') ? undefined : json['slug'],
35
+ 'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
36
+ 'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
37
+ 'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
38
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
39
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
40
+ 'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
41
+ 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
42
+ 'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
43
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
44
+ 'realm': !exists(json, 'realm') ? undefined : json['realm'],
45
+ 'krb5Conf': !exists(json, 'krb5_conf') ? undefined : json['krb5_conf'],
46
+ 'syncUsers': !exists(json, 'sync_users') ? undefined : json['sync_users'],
47
+ 'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
48
+ 'syncPrincipal': !exists(json, 'sync_principal') ? undefined : json['sync_principal'],
49
+ 'syncPassword': !exists(json, 'sync_password') ? undefined : json['sync_password'],
50
+ 'syncKeytab': !exists(json, 'sync_keytab') ? undefined : json['sync_keytab'],
51
+ 'syncCcache': !exists(json, 'sync_ccache') ? undefined : json['sync_ccache'],
52
+ 'spnegoServerName': !exists(json, 'spnego_server_name') ? undefined : json['spnego_server_name'],
53
+ 'spnegoKeytab': !exists(json, 'spnego_keytab') ? undefined : json['spnego_keytab'],
54
+ 'spnegoCcache': !exists(json, 'spnego_ccache') ? undefined : json['spnego_ccache'],
55
+ 'passwordLoginUpdateInternalPassword': !exists(json, 'password_login_update_internal_password') ? undefined : json['password_login_update_internal_password'],
56
+ };
57
+ }
58
+ export function PatchedKerberosSourceRequestToJSON(value) {
59
+ if (value === undefined) {
60
+ return undefined;
61
+ }
62
+ if (value === null) {
63
+ return null;
64
+ }
65
+ return {
66
+ 'name': value.name,
67
+ 'slug': value.slug,
68
+ 'enabled': value.enabled,
69
+ 'authentication_flow': value.authenticationFlow,
70
+ 'enrollment_flow': value.enrollmentFlow,
71
+ 'user_property_mappings': value.userPropertyMappings,
72
+ 'group_property_mappings': value.groupPropertyMappings,
73
+ 'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
74
+ 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
75
+ 'user_path_template': value.userPathTemplate,
76
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
77
+ 'realm': value.realm,
78
+ 'krb5_conf': value.krb5Conf,
79
+ 'sync_users': value.syncUsers,
80
+ 'sync_users_password': value.syncUsersPassword,
81
+ 'sync_principal': value.syncPrincipal,
82
+ 'sync_password': value.syncPassword,
83
+ 'sync_keytab': value.syncKeytab,
84
+ 'sync_ccache': value.syncCcache,
85
+ 'spnego_server_name': value.spnegoServerName,
86
+ 'spnego_keytab': value.spnegoKeytab,
87
+ 'spnego_ccache': value.spnegoCcache,
88
+ 'password_login_update_internal_password': value.passwordLoginUpdateInternalPassword,
89
+ };
90
+ }
@@ -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,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the PatchedUserKerberosSourceConnectionRequest interface.
17
+ */
18
+ export function instanceOfPatchedUserKerberosSourceConnectionRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedUserKerberosSourceConnectionRequestFromJSON(json) {
23
+ return PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'user': !exists(json, 'user') ? undefined : json['user'],
31
+ 'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
32
+ };
33
+ }
34
+ export function PatchedUserKerberosSourceConnectionRequestToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'user': value.user,
43
+ 'identifier': value.identifier,
44
+ };
45
+ }
@@ -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,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SourceFromJSON, } from './Source';
15
+ /**
16
+ * Check if a given object implements the UserKerberosSourceConnection interface.
17
+ */
18
+ export function instanceOfUserKerberosSourceConnection(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "pk" in value;
21
+ isInstance = isInstance && "user" in value;
22
+ isInstance = isInstance && "source" in value;
23
+ isInstance = isInstance && "created" in value;
24
+ isInstance = isInstance && "identifier" in value;
25
+ return isInstance;
26
+ }
27
+ export function UserKerberosSourceConnectionFromJSON(json) {
28
+ return UserKerberosSourceConnectionFromJSONTyped(json, false);
29
+ }
30
+ export function UserKerberosSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'pk': json['pk'],
36
+ 'user': json['user'],
37
+ 'source': SourceFromJSON(json['source']),
38
+ 'created': (new Date(json['created'])),
39
+ 'identifier': json['identifier'],
40
+ };
41
+ }
42
+ export function UserKerberosSourceConnectionToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'user': value.user,
51
+ 'identifier': value.identifier,
52
+ };
53
+ }
@@ -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,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the UserKerberosSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfUserKerberosSourceConnectionRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "user" in value;
20
+ isInstance = isInstance && "identifier" in value;
21
+ return isInstance;
22
+ }
23
+ export function UserKerberosSourceConnectionRequestFromJSON(json) {
24
+ return UserKerberosSourceConnectionRequestFromJSONTyped(json, false);
25
+ }
26
+ export function UserKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'user': json['user'],
32
+ 'identifier': json['identifier'],
33
+ };
34
+ }
35
+ export function UserKerberosSourceConnectionRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'user': value.user,
44
+ 'identifier': value.identifier,
45
+ };
46
+ }