@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
@@ -36,6 +36,7 @@ export declare const AppEnum: {
36
36
  readonly ProvidersScim: "authentik.providers.scim";
37
37
  readonly Rbac: "authentik.rbac";
38
38
  readonly Recovery: "authentik.recovery";
39
+ readonly SourcesKerberos: "authentik.sources.kerberos";
39
40
  readonly SourcesLdap: "authentik.sources.ldap";
40
41
  readonly SourcesOauth: "authentik.sources.oauth";
41
42
  readonly SourcesPlex: "authentik.sources.plex";
@@ -38,6 +38,7 @@ export const AppEnum = {
38
38
  ProvidersScim: 'authentik.providers.scim',
39
39
  Rbac: 'authentik.rbac',
40
40
  Recovery: 'authentik.recovery',
41
+ SourcesKerberos: 'authentik.sources.kerberos',
41
42
  SourcesLdap: 'authentik.sources.ldap',
42
43
  SourcesOauth: 'authentik.sources.oauth',
43
44
  SourcesPlex: 'authentik.sources.plex',
@@ -17,6 +17,7 @@ export declare const BackendsEnum: {
17
17
  readonly CoreAuthInbuiltBackend: "authentik.core.auth.InbuiltBackend";
18
18
  readonly CoreAuthTokenBackend: "authentik.core.auth.TokenBackend";
19
19
  readonly SourcesLdapAuthLdapBackend: "authentik.sources.ldap.auth.LDAPBackend";
20
+ readonly SourcesKerberosAuthKerberosBackend: "authentik.sources.kerberos.auth.KerberosBackend";
20
21
  readonly UnknownDefaultOpenApi: "11184809";
21
22
  };
22
23
  export type BackendsEnum = typeof BackendsEnum[keyof typeof BackendsEnum];
@@ -19,6 +19,7 @@ export const BackendsEnum = {
19
19
  CoreAuthInbuiltBackend: 'authentik.core.auth.InbuiltBackend',
20
20
  CoreAuthTokenBackend: 'authentik.core.auth.TokenBackend',
21
21
  SourcesLdapAuthLdapBackend: 'authentik.sources.ldap.auth.LDAPBackend',
22
+ SourcesKerberosAuthKerberosBackend: 'authentik.sources.kerberos.auth.KerberosBackend',
22
23
  UnknownDefaultOpenApi: '11184809'
23
24
  };
24
25
  export function BackendsEnumFromJSON(json) {
@@ -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
+ * OAuth Group-Source connection Serializer
15
+ * @export
16
+ * @interface GroupKerberosSourceConnection
17
+ */
18
+ export interface GroupKerberosSourceConnection {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof GroupKerberosSourceConnection
23
+ */
24
+ readonly pk: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GroupKerberosSourceConnection
29
+ */
30
+ readonly group: string;
31
+ /**
32
+ *
33
+ * @type {Source}
34
+ * @memberof GroupKerberosSourceConnection
35
+ */
36
+ readonly source: Source;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GroupKerberosSourceConnection
41
+ */
42
+ readonly identifier: string;
43
+ /**
44
+ *
45
+ * @type {Date}
46
+ * @memberof GroupKerberosSourceConnection
47
+ */
48
+ readonly created: Date;
49
+ }
50
+ /**
51
+ * Check if a given object implements the GroupKerberosSourceConnection interface.
52
+ */
53
+ export declare function instanceOfGroupKerberosSourceConnection(value: object): boolean;
54
+ export declare function GroupKerberosSourceConnectionFromJSON(json: any): GroupKerberosSourceConnection;
55
+ export declare function GroupKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnection;
56
+ export declare function GroupKerberosSourceConnectionToJSON(value?: GroupKerberosSourceConnection | null): any;
@@ -0,0 +1,50 @@
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 GroupKerberosSourceConnection interface.
17
+ */
18
+ export function instanceOfGroupKerberosSourceConnection(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "pk" in value;
21
+ isInstance = isInstance && "group" in value;
22
+ isInstance = isInstance && "source" in value;
23
+ isInstance = isInstance && "identifier" in value;
24
+ isInstance = isInstance && "created" in value;
25
+ return isInstance;
26
+ }
27
+ export function GroupKerberosSourceConnectionFromJSON(json) {
28
+ return GroupKerberosSourceConnectionFromJSONTyped(json, false);
29
+ }
30
+ export function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'pk': json['pk'],
36
+ 'group': json['group'],
37
+ 'source': SourceFromJSON(json['source']),
38
+ 'identifier': json['identifier'],
39
+ 'created': (new Date(json['created'])),
40
+ };
41
+ }
42
+ export function GroupKerberosSourceConnectionToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {};
50
+ }
@@ -0,0 +1,198 @@
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 KerberosSource
19
+ */
20
+ export interface KerberosSource {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof KerberosSource
25
+ */
26
+ readonly pk: string;
27
+ /**
28
+ * Source's display Name.
29
+ * @type {string}
30
+ * @memberof KerberosSource
31
+ */
32
+ name: string;
33
+ /**
34
+ * Internal source name, used in URLs.
35
+ * @type {string}
36
+ * @memberof KerberosSource
37
+ */
38
+ slug: string;
39
+ /**
40
+ *
41
+ * @type {boolean}
42
+ * @memberof KerberosSource
43
+ */
44
+ enabled?: boolean;
45
+ /**
46
+ * Flow to use when authenticating existing users.
47
+ * @type {string}
48
+ * @memberof KerberosSource
49
+ */
50
+ authenticationFlow?: string | null;
51
+ /**
52
+ * Flow to use when enrolling new users.
53
+ * @type {string}
54
+ * @memberof KerberosSource
55
+ */
56
+ enrollmentFlow?: string | null;
57
+ /**
58
+ *
59
+ * @type {Array<string>}
60
+ * @memberof KerberosSource
61
+ */
62
+ userPropertyMappings?: Array<string>;
63
+ /**
64
+ *
65
+ * @type {Array<string>}
66
+ * @memberof KerberosSource
67
+ */
68
+ groupPropertyMappings?: Array<string>;
69
+ /**
70
+ * Get object component so that we know how to edit the object
71
+ * @type {string}
72
+ * @memberof KerberosSource
73
+ */
74
+ readonly component: string;
75
+ /**
76
+ * Return object's verbose_name
77
+ * @type {string}
78
+ * @memberof KerberosSource
79
+ */
80
+ readonly verboseName: string;
81
+ /**
82
+ * Return object's plural verbose_name
83
+ * @type {string}
84
+ * @memberof KerberosSource
85
+ */
86
+ readonly verboseNamePlural: string;
87
+ /**
88
+ * Return internal model name
89
+ * @type {string}
90
+ * @memberof KerberosSource
91
+ */
92
+ readonly metaModelName: string;
93
+ /**
94
+ *
95
+ * @type {PolicyEngineMode}
96
+ * @memberof KerberosSource
97
+ */
98
+ policyEngineMode?: PolicyEngineMode;
99
+ /**
100
+ *
101
+ * @type {UserMatchingModeEnum}
102
+ * @memberof KerberosSource
103
+ */
104
+ userMatchingMode?: UserMatchingModeEnum;
105
+ /**
106
+ * 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.
107
+ * @type {string}
108
+ * @memberof KerberosSource
109
+ */
110
+ readonly managed: string | null;
111
+ /**
112
+ *
113
+ * @type {string}
114
+ * @memberof KerberosSource
115
+ */
116
+ userPathTemplate?: string;
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof KerberosSource
121
+ */
122
+ readonly icon: string;
123
+ /**
124
+ *
125
+ * @type {GroupMatchingModeEnum}
126
+ * @memberof KerberosSource
127
+ */
128
+ groupMatchingMode?: GroupMatchingModeEnum;
129
+ /**
130
+ * Kerberos realm
131
+ * @type {string}
132
+ * @memberof KerberosSource
133
+ */
134
+ realm: string;
135
+ /**
136
+ * Custom krb5.conf to use. Uses the system one by default
137
+ * @type {string}
138
+ * @memberof KerberosSource
139
+ */
140
+ krb5Conf?: string;
141
+ /**
142
+ * Sync users from Kerberos into authentik
143
+ * @type {boolean}
144
+ * @memberof KerberosSource
145
+ */
146
+ syncUsers?: boolean;
147
+ /**
148
+ * When a user changes their password, sync it back to Kerberos
149
+ * @type {boolean}
150
+ * @memberof KerberosSource
151
+ */
152
+ syncUsersPassword?: boolean;
153
+ /**
154
+ * Principal to authenticate to kadmin for sync.
155
+ * @type {string}
156
+ * @memberof KerberosSource
157
+ */
158
+ syncPrincipal?: string;
159
+ /**
160
+ * Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual
161
+ * @type {string}
162
+ * @memberof KerberosSource
163
+ */
164
+ syncCcache?: string;
165
+ /**
166
+ * Get cached source connectivity
167
+ * @type {{ [key: string]: string; }}
168
+ * @memberof KerberosSource
169
+ */
170
+ readonly connectivity: {
171
+ [key: string]: string;
172
+ } | null;
173
+ /**
174
+ * Force the use of a specific server name for SPNEGO
175
+ * @type {string}
176
+ * @memberof KerberosSource
177
+ */
178
+ spnegoServerName?: string;
179
+ /**
180
+ * Credential cache to use for SPNEGO in form type:residual
181
+ * @type {string}
182
+ * @memberof KerberosSource
183
+ */
184
+ spnegoCcache?: string;
185
+ /**
186
+ * If enabled, the authentik-stored password will be updated upon login with the Kerberos password backend
187
+ * @type {boolean}
188
+ * @memberof KerberosSource
189
+ */
190
+ passwordLoginUpdateInternalPassword?: boolean;
191
+ }
192
+ /**
193
+ * Check if a given object implements the KerberosSource interface.
194
+ */
195
+ export declare function instanceOfKerberosSource(value: object): boolean;
196
+ export declare function KerberosSourceFromJSON(json: any): KerberosSource;
197
+ export declare function KerberosSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): KerberosSource;
198
+ export declare function KerberosSourceToJSON(value?: KerberosSource | null): any;
@@ -0,0 +1,103 @@
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 KerberosSource interface.
20
+ */
21
+ export function instanceOfKerberosSource(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pk" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "slug" in value;
26
+ isInstance = isInstance && "component" in value;
27
+ isInstance = isInstance && "verboseName" in value;
28
+ isInstance = isInstance && "verboseNamePlural" in value;
29
+ isInstance = isInstance && "metaModelName" in value;
30
+ isInstance = isInstance && "managed" in value;
31
+ isInstance = isInstance && "icon" in value;
32
+ isInstance = isInstance && "realm" in value;
33
+ isInstance = isInstance && "connectivity" in value;
34
+ return isInstance;
35
+ }
36
+ export function KerberosSourceFromJSON(json) {
37
+ return KerberosSourceFromJSONTyped(json, false);
38
+ }
39
+ export function KerberosSourceFromJSONTyped(json, ignoreDiscriminator) {
40
+ if ((json === undefined) || (json === null)) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'pk': json['pk'],
45
+ 'name': json['name'],
46
+ 'slug': json['slug'],
47
+ 'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
48
+ 'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
49
+ 'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
50
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
51
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
52
+ 'component': json['component'],
53
+ 'verboseName': json['verbose_name'],
54
+ 'verboseNamePlural': json['verbose_name_plural'],
55
+ 'metaModelName': json['meta_model_name'],
56
+ 'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
57
+ 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
58
+ 'managed': json['managed'],
59
+ 'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
60
+ 'icon': json['icon'],
61
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
62
+ 'realm': json['realm'],
63
+ 'krb5Conf': !exists(json, 'krb5_conf') ? undefined : json['krb5_conf'],
64
+ 'syncUsers': !exists(json, 'sync_users') ? undefined : json['sync_users'],
65
+ 'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
66
+ 'syncPrincipal': !exists(json, 'sync_principal') ? undefined : json['sync_principal'],
67
+ 'syncCcache': !exists(json, 'sync_ccache') ? undefined : json['sync_ccache'],
68
+ 'connectivity': json['connectivity'],
69
+ 'spnegoServerName': !exists(json, 'spnego_server_name') ? undefined : json['spnego_server_name'],
70
+ 'spnegoCcache': !exists(json, 'spnego_ccache') ? undefined : json['spnego_ccache'],
71
+ 'passwordLoginUpdateInternalPassword': !exists(json, 'password_login_update_internal_password') ? undefined : json['password_login_update_internal_password'],
72
+ };
73
+ }
74
+ export function KerberosSourceToJSON(value) {
75
+ if (value === undefined) {
76
+ return undefined;
77
+ }
78
+ if (value === null) {
79
+ return null;
80
+ }
81
+ return {
82
+ 'name': value.name,
83
+ 'slug': value.slug,
84
+ 'enabled': value.enabled,
85
+ 'authentication_flow': value.authenticationFlow,
86
+ 'enrollment_flow': value.enrollmentFlow,
87
+ 'user_property_mappings': value.userPropertyMappings,
88
+ 'group_property_mappings': value.groupPropertyMappings,
89
+ 'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
90
+ 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
91
+ 'user_path_template': value.userPathTemplate,
92
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
93
+ 'realm': value.realm,
94
+ 'krb5_conf': value.krb5Conf,
95
+ 'sync_users': value.syncUsers,
96
+ 'sync_users_password': value.syncUsersPassword,
97
+ 'sync_principal': value.syncPrincipal,
98
+ 'sync_ccache': value.syncCcache,
99
+ 'spnego_server_name': value.spnegoServerName,
100
+ 'spnego_ccache': value.spnegoCcache,
101
+ 'password_login_update_internal_password': value.passwordLoginUpdateInternalPassword,
102
+ };
103
+ }
@@ -0,0 +1,73 @@
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 KerberosSourcePropertyMapping
16
+ */
17
+ export interface KerberosSourcePropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof KerberosSourcePropertyMapping
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ * 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.
26
+ * @type {string}
27
+ * @memberof KerberosSourcePropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof KerberosSourcePropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof KerberosSourcePropertyMapping
40
+ */
41
+ expression: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof KerberosSourcePropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof KerberosSourcePropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof KerberosSourcePropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof KerberosSourcePropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the KerberosSourcePropertyMapping interface.
69
+ */
70
+ export declare function instanceOfKerberosSourcePropertyMapping(value: object): boolean;
71
+ export declare function KerberosSourcePropertyMappingFromJSON(json: any): KerberosSourcePropertyMapping;
72
+ export declare function KerberosSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): KerberosSourcePropertyMapping;
73
+ export declare function KerberosSourcePropertyMappingToJSON(value?: KerberosSourcePropertyMapping | null): any;
@@ -0,0 +1,59 @@
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 KerberosSourcePropertyMapping interface.
17
+ */
18
+ export function instanceOfKerberosSourcePropertyMapping(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "pk" in value;
21
+ isInstance = isInstance && "name" in value;
22
+ isInstance = isInstance && "expression" in value;
23
+ isInstance = isInstance && "component" in value;
24
+ isInstance = isInstance && "verboseName" in value;
25
+ isInstance = isInstance && "verboseNamePlural" in value;
26
+ isInstance = isInstance && "metaModelName" in value;
27
+ return isInstance;
28
+ }
29
+ export function KerberosSourcePropertyMappingFromJSON(json) {
30
+ return KerberosSourcePropertyMappingFromJSONTyped(json, false);
31
+ }
32
+ export function KerberosSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pk': json['pk'],
38
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
39
+ 'name': json['name'],
40
+ 'expression': json['expression'],
41
+ 'component': json['component'],
42
+ 'verboseName': json['verbose_name'],
43
+ 'verboseNamePlural': json['verbose_name_plural'],
44
+ 'metaModelName': json['meta_model_name'],
45
+ };
46
+ }
47
+ export function KerberosSourcePropertyMappingToJSON(value) {
48
+ if (value === undefined) {
49
+ return undefined;
50
+ }
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return {
55
+ 'managed': value.managed,
56
+ 'name': value.name,
57
+ 'expression': value.expression,
58
+ };
59
+ }
@@ -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 KerberosSourcePropertyMappingRequest
16
+ */
17
+ export interface KerberosSourcePropertyMappingRequest {
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 KerberosSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof KerberosSourcePropertyMappingRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof KerberosSourcePropertyMappingRequest
34
+ */
35
+ expression: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the KerberosSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfKerberosSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function KerberosSourcePropertyMappingRequestFromJSON(json: any): KerberosSourcePropertyMappingRequest;
42
+ export declare function KerberosSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KerberosSourcePropertyMappingRequest;
43
+ export declare function KerberosSourcePropertyMappingRequestToJSON(value?: KerberosSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,49 @@
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 KerberosSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfKerberosSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "name" in value;
21
+ isInstance = isInstance && "expression" in value;
22
+ return isInstance;
23
+ }
24
+ export function KerberosSourcePropertyMappingRequestFromJSON(json) {
25
+ return KerberosSourcePropertyMappingRequestFromJSONTyped(json, false);
26
+ }
27
+ export function KerberosSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
33
+ 'name': json['name'],
34
+ 'expression': json['expression'],
35
+ };
36
+ }
37
+ export function KerberosSourcePropertyMappingRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'managed': value.managed,
46
+ 'name': value.name,
47
+ 'expression': value.expression,
48
+ };
49
+ }