@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,50 @@
|
|
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.FrameChallengeResponseRequestToJSON = exports.FrameChallengeResponseRequestFromJSONTyped = exports.FrameChallengeResponseRequestFromJSON = exports.instanceOfFrameChallengeResponseRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the FrameChallengeResponseRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfFrameChallengeResponseRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfFrameChallengeResponseRequest = instanceOfFrameChallengeResponseRequest;
|
26
|
+
function FrameChallengeResponseRequestFromJSON(json) {
|
27
|
+
return FrameChallengeResponseRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.FrameChallengeResponseRequestFromJSON = FrameChallengeResponseRequestFromJSON;
|
30
|
+
function FrameChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
36
|
+
};
|
37
|
+
}
|
38
|
+
exports.FrameChallengeResponseRequestFromJSONTyped = FrameChallengeResponseRequestFromJSONTyped;
|
39
|
+
function FrameChallengeResponseRequestToJSON(value) {
|
40
|
+
if (value === undefined) {
|
41
|
+
return undefined;
|
42
|
+
}
|
43
|
+
if (value === null) {
|
44
|
+
return null;
|
45
|
+
}
|
46
|
+
return {
|
47
|
+
'component': value.component,
|
48
|
+
};
|
49
|
+
}
|
50
|
+
exports.FrameChallengeResponseRequestToJSON = FrameChallengeResponseRequestToJSON;
|
@@ -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,57 @@
|
|
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.GroupKerberosSourceConnectionToJSON = exports.GroupKerberosSourceConnectionFromJSONTyped = exports.GroupKerberosSourceConnectionFromJSON = exports.instanceOfGroupKerberosSourceConnection = void 0;
|
17
|
+
const Source_1 = require("./Source");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the GroupKerberosSourceConnection interface.
|
20
|
+
*/
|
21
|
+
function instanceOfGroupKerberosSourceConnection(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "pk" in value;
|
24
|
+
isInstance = isInstance && "group" in value;
|
25
|
+
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "identifier" in value;
|
27
|
+
isInstance = isInstance && "created" in value;
|
28
|
+
return isInstance;
|
29
|
+
}
|
30
|
+
exports.instanceOfGroupKerberosSourceConnection = instanceOfGroupKerberosSourceConnection;
|
31
|
+
function GroupKerberosSourceConnectionFromJSON(json) {
|
32
|
+
return GroupKerberosSourceConnectionFromJSONTyped(json, false);
|
33
|
+
}
|
34
|
+
exports.GroupKerberosSourceConnectionFromJSON = GroupKerberosSourceConnectionFromJSON;
|
35
|
+
function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
36
|
+
if ((json === undefined) || (json === null)) {
|
37
|
+
return json;
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
'pk': json['pk'],
|
41
|
+
'group': json['group'],
|
42
|
+
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'identifier': json['identifier'],
|
44
|
+
'created': (new Date(json['created'])),
|
45
|
+
};
|
46
|
+
}
|
47
|
+
exports.GroupKerberosSourceConnectionFromJSONTyped = GroupKerberosSourceConnectionFromJSONTyped;
|
48
|
+
function GroupKerberosSourceConnectionToJSON(value) {
|
49
|
+
if (value === undefined) {
|
50
|
+
return undefined;
|
51
|
+
}
|
52
|
+
if (value === null) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
return {};
|
56
|
+
}
|
57
|
+
exports.GroupKerberosSourceConnectionToJSON = GroupKerberosSourceConnectionToJSON;
|
@@ -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,110 @@
|
|
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.KerberosSourceToJSON = exports.KerberosSourceFromJSONTyped = exports.KerberosSourceFromJSON = exports.instanceOfKerberosSource = 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 KerberosSource interface.
|
23
|
+
*/
|
24
|
+
function instanceOfKerberosSource(value) {
|
25
|
+
let isInstance = true;
|
26
|
+
isInstance = isInstance && "pk" in value;
|
27
|
+
isInstance = isInstance && "name" in value;
|
28
|
+
isInstance = isInstance && "slug" in value;
|
29
|
+
isInstance = isInstance && "component" in value;
|
30
|
+
isInstance = isInstance && "verboseName" in value;
|
31
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
32
|
+
isInstance = isInstance && "metaModelName" in value;
|
33
|
+
isInstance = isInstance && "managed" in value;
|
34
|
+
isInstance = isInstance && "icon" in value;
|
35
|
+
isInstance = isInstance && "realm" in value;
|
36
|
+
isInstance = isInstance && "connectivity" in value;
|
37
|
+
return isInstance;
|
38
|
+
}
|
39
|
+
exports.instanceOfKerberosSource = instanceOfKerberosSource;
|
40
|
+
function KerberosSourceFromJSON(json) {
|
41
|
+
return KerberosSourceFromJSONTyped(json, false);
|
42
|
+
}
|
43
|
+
exports.KerberosSourceFromJSON = KerberosSourceFromJSON;
|
44
|
+
function KerberosSourceFromJSONTyped(json, ignoreDiscriminator) {
|
45
|
+
if ((json === undefined) || (json === null)) {
|
46
|
+
return json;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'pk': json['pk'],
|
50
|
+
'name': json['name'],
|
51
|
+
'slug': json['slug'],
|
52
|
+
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
53
|
+
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
54
|
+
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
55
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
56
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
57
|
+
'component': json['component'],
|
58
|
+
'verboseName': json['verbose_name'],
|
59
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
60
|
+
'metaModelName': json['meta_model_name'],
|
61
|
+
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
62
|
+
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
63
|
+
'managed': json['managed'],
|
64
|
+
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
65
|
+
'icon': json['icon'],
|
66
|
+
'groupMatchingMode': !(0, runtime_1.exists)(json, 'group_matching_mode') ? undefined : (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumFromJSON)(json['group_matching_mode']),
|
67
|
+
'realm': json['realm'],
|
68
|
+
'krb5Conf': !(0, runtime_1.exists)(json, 'krb5_conf') ? undefined : json['krb5_conf'],
|
69
|
+
'syncUsers': !(0, runtime_1.exists)(json, 'sync_users') ? undefined : json['sync_users'],
|
70
|
+
'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
71
|
+
'syncPrincipal': !(0, runtime_1.exists)(json, 'sync_principal') ? undefined : json['sync_principal'],
|
72
|
+
'syncCcache': !(0, runtime_1.exists)(json, 'sync_ccache') ? undefined : json['sync_ccache'],
|
73
|
+
'connectivity': json['connectivity'],
|
74
|
+
'spnegoServerName': !(0, runtime_1.exists)(json, 'spnego_server_name') ? undefined : json['spnego_server_name'],
|
75
|
+
'spnegoCcache': !(0, runtime_1.exists)(json, 'spnego_ccache') ? undefined : json['spnego_ccache'],
|
76
|
+
'passwordLoginUpdateInternalPassword': !(0, runtime_1.exists)(json, 'password_login_update_internal_password') ? undefined : json['password_login_update_internal_password'],
|
77
|
+
};
|
78
|
+
}
|
79
|
+
exports.KerberosSourceFromJSONTyped = KerberosSourceFromJSONTyped;
|
80
|
+
function KerberosSourceToJSON(value) {
|
81
|
+
if (value === undefined) {
|
82
|
+
return undefined;
|
83
|
+
}
|
84
|
+
if (value === null) {
|
85
|
+
return null;
|
86
|
+
}
|
87
|
+
return {
|
88
|
+
'name': value.name,
|
89
|
+
'slug': value.slug,
|
90
|
+
'enabled': value.enabled,
|
91
|
+
'authentication_flow': value.authenticationFlow,
|
92
|
+
'enrollment_flow': value.enrollmentFlow,
|
93
|
+
'user_property_mappings': value.userPropertyMappings,
|
94
|
+
'group_property_mappings': value.groupPropertyMappings,
|
95
|
+
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
96
|
+
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
97
|
+
'user_path_template': value.userPathTemplate,
|
98
|
+
'group_matching_mode': (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumToJSON)(value.groupMatchingMode),
|
99
|
+
'realm': value.realm,
|
100
|
+
'krb5_conf': value.krb5Conf,
|
101
|
+
'sync_users': value.syncUsers,
|
102
|
+
'sync_users_password': value.syncUsersPassword,
|
103
|
+
'sync_principal': value.syncPrincipal,
|
104
|
+
'sync_ccache': value.syncCcache,
|
105
|
+
'spnego_server_name': value.spnegoServerName,
|
106
|
+
'spnego_ccache': value.spnegoCcache,
|
107
|
+
'password_login_update_internal_password': value.passwordLoginUpdateInternalPassword,
|
108
|
+
};
|
109
|
+
}
|
110
|
+
exports.KerberosSourceToJSON = KerberosSourceToJSON;
|
@@ -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,66 @@
|
|
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.KerberosSourcePropertyMappingToJSON = exports.KerberosSourcePropertyMappingFromJSONTyped = exports.KerberosSourcePropertyMappingFromJSON = exports.instanceOfKerberosSourcePropertyMapping = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the KerberosSourcePropertyMapping interface.
|
20
|
+
*/
|
21
|
+
function instanceOfKerberosSourcePropertyMapping(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "pk" in value;
|
24
|
+
isInstance = isInstance && "name" in value;
|
25
|
+
isInstance = isInstance && "expression" 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
|
+
return isInstance;
|
31
|
+
}
|
32
|
+
exports.instanceOfKerberosSourcePropertyMapping = instanceOfKerberosSourcePropertyMapping;
|
33
|
+
function KerberosSourcePropertyMappingFromJSON(json) {
|
34
|
+
return KerberosSourcePropertyMappingFromJSONTyped(json, false);
|
35
|
+
}
|
36
|
+
exports.KerberosSourcePropertyMappingFromJSON = KerberosSourcePropertyMappingFromJSON;
|
37
|
+
function KerberosSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
38
|
+
if ((json === undefined) || (json === null)) {
|
39
|
+
return json;
|
40
|
+
}
|
41
|
+
return {
|
42
|
+
'pk': json['pk'],
|
43
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
44
|
+
'name': json['name'],
|
45
|
+
'expression': json['expression'],
|
46
|
+
'component': json['component'],
|
47
|
+
'verboseName': json['verbose_name'],
|
48
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
49
|
+
'metaModelName': json['meta_model_name'],
|
50
|
+
};
|
51
|
+
}
|
52
|
+
exports.KerberosSourcePropertyMappingFromJSONTyped = KerberosSourcePropertyMappingFromJSONTyped;
|
53
|
+
function KerberosSourcePropertyMappingToJSON(value) {
|
54
|
+
if (value === undefined) {
|
55
|
+
return undefined;
|
56
|
+
}
|
57
|
+
if (value === null) {
|
58
|
+
return null;
|
59
|
+
}
|
60
|
+
return {
|
61
|
+
'managed': value.managed,
|
62
|
+
'name': value.name,
|
63
|
+
'expression': value.expression,
|
64
|
+
};
|
65
|
+
}
|
66
|
+
exports.KerberosSourcePropertyMappingToJSON = KerberosSourcePropertyMappingToJSON;
|
@@ -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;
|