@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729699127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +25 -0
- package/dist/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/apis/AuthenticatorsApi.js +347 -0
- package/dist/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/apis/PropertymappingsApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +10 -0
- package/dist/apis/RbacApi.js +10 -0
- package/dist/apis/SourcesApi.d.ts +257 -1
- package/dist/apis/SourcesApi.js +841 -28
- package/dist/apis/StagesApi.d.ts +85 -1
- package/dist/apis/StagesApi.js +268 -0
- package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/esm/apis/AuthenticatorsApi.js +348 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/esm/apis/PropertymappingsApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +10 -0
- package/dist/esm/apis/RbacApi.js +10 -0
- package/dist/esm/apis/SourcesApi.d.ts +257 -1
- package/dist/esm/apis/SourcesApi.js +842 -29
- package/dist/esm/apis/StagesApi.d.ts +85 -1
- package/dist/esm/apis/StagesApi.js +269 -1
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
- package/dist/esm/models/BackendsEnum.d.ts +1 -0
- package/dist/esm/models/BackendsEnum.js +1 -0
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/Device.d.ts +2 -2
- package/dist/esm/models/EndpointDevice.d.ts +37 -0
- package/dist/esm/models/EndpointDevice.js +46 -0
- package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/EndpointDeviceRequest.js +46 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/FrameChallenge.d.ts +65 -0
- package/dist/esm/models/FrameChallenge.js +56 -0
- package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
- package/dist/esm/models/KerberosSource.d.ts +198 -0
- package/dist/esm/models/KerberosSource.js +103 -0
- package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
- package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
- package/dist/esm/models/KerberosSourceRequest.js +93 -0
- package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
- package/dist/esm/models/KerberosSyncStatus.js +44 -0
- package/dist/esm/models/ModelEnum.d.ts +5 -0
- package/dist/esm/models/ModelEnum.js +5 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
- package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
- package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
- package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
- package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
- package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +25 -0
- package/dist/esm/models/index.js +25 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
- package/dist/models/BackendsEnum.d.ts +1 -0
- package/dist/models/BackendsEnum.js +1 -0
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/Device.d.ts +2 -2
- package/dist/models/EndpointDevice.d.ts +37 -0
- package/dist/models/EndpointDevice.js +53 -0
- package/dist/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/models/EndpointDeviceRequest.js +53 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/FrameChallenge.d.ts +65 -0
- package/dist/models/FrameChallenge.js +63 -0
- package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/models/FrameChallengeResponseRequest.js +50 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
- package/dist/models/GroupKerberosSourceConnection.js +57 -0
- package/dist/models/KerberosSource.d.ts +198 -0
- package/dist/models/KerberosSource.js +110 -0
- package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
- package/dist/models/KerberosSourcePropertyMapping.js +66 -0
- package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
- package/dist/models/KerberosSourceRequest.d.ts +166 -0
- package/dist/models/KerberosSourceRequest.js +100 -0
- package/dist/models/KerberosSyncStatus.d.ts +38 -0
- package/dist/models/KerberosSyncStatus.js +51 -0
- package/dist/models/ModelEnum.d.ts +5 -0
- package/dist/models/ModelEnum.js +5 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
- package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/models/PaginatedEndpointDeviceList.js +55 -0
- package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
- package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
- package/dist/models/PaginatedKerberosSourceList.js +55 -0
- package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
- package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
- package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
- package/dist/models/PatchedKerberosSourceRequest.js +97 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
- package/dist/models/UserKerberosSourceConnection.js +60 -0
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.js +25 -0
- package/package.json +1 -1
- package/src/apis/AuthenticatorsApi.ts +444 -0
- package/src/apis/PropertymappingsApi.ts +350 -0
- package/src/apis/RbacApi.ts +10 -0
- package/src/apis/SourcesApi.ts +1200 -153
- package/src/apis/StagesApi.ts +345 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
- package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
- package/src/models/BackendsEnum.ts +1 -0
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/Device.ts +2 -2
- package/src/models/EndpointDevice.ts +74 -0
- package/src/models/EndpointDeviceRequest.ts +74 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/FrameChallenge.ts +120 -0
- package/src/models/FrameChallengeResponseRequest.ts +65 -0
- package/src/models/GroupKerberosSourceConnection.ts +104 -0
- package/src/models/KerberosSource.ts +303 -0
- package/src/models/KerberosSourcePropertyMapping.ts +123 -0
- package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
- package/src/models/KerberosSourceRequest.ts +263 -0
- package/src/models/KerberosSyncStatus.ts +80 -0
- package/src/models/ModelEnum.ts +5 -0
- package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
- package/src/models/PaginatedEndpointDeviceList.ts +88 -0
- package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
- package/src/models/PaginatedKerberosSourceList.ts +88 -0
- package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
- package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
- package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
- package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedKerberosSourceRequest.ts +260 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +106 -0
- package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +25 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* 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 { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the AuthenticatorEndpointGDTCStageRequest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfAuthenticatorEndpointGDTCStageRequest(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
22
|
+
isInstance = isInstance && "credentials" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function AuthenticatorEndpointGDTCStageRequestFromJSON(json) {
|
|
26
|
+
return AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'name': json['name'],
|
|
34
|
+
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
|
35
|
+
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
36
|
+
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
|
37
|
+
'credentials': json['credentials'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function AuthenticatorEndpointGDTCStageRequestToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value.name,
|
|
49
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
|
|
50
|
+
'configure_flow': value.configureFlow,
|
|
51
|
+
'friendly_name': value.friendlyName,
|
|
52
|
+
'credentials': value.credentials,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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) {
|
|
@@ -23,6 +23,7 @@ import { ConsentChallenge } from './ConsentChallenge';
|
|
|
23
23
|
import { DummyChallenge } from './DummyChallenge';
|
|
24
24
|
import { EmailChallenge } from './EmailChallenge';
|
|
25
25
|
import { FlowErrorChallenge } from './FlowErrorChallenge';
|
|
26
|
+
import { FrameChallenge } from './FrameChallenge';
|
|
26
27
|
import { IdentificationChallenge } from './IdentificationChallenge';
|
|
27
28
|
import { OAuthDeviceCodeChallenge } from './OAuthDeviceCodeChallenge';
|
|
28
29
|
import { OAuthDeviceCodeFinishChallenge } from './OAuthDeviceCodeFinishChallenge';
|
|
@@ -83,6 +84,8 @@ export type ChallengeTypes = {
|
|
|
83
84
|
} & SessionEndChallenge | {
|
|
84
85
|
component: 'ak-stage-user-login';
|
|
85
86
|
} & UserLoginChallenge | {
|
|
87
|
+
component: 'xak-flow-frame';
|
|
88
|
+
} & FrameChallenge | {
|
|
86
89
|
component: 'xak-flow-redirect';
|
|
87
90
|
} & RedirectChallenge | {
|
|
88
91
|
component: 'xak-flow-shell';
|
|
@@ -25,6 +25,7 @@ import { ConsentChallengeFromJSONTyped, ConsentChallengeToJSON, } from './Consen
|
|
|
25
25
|
import { DummyChallengeFromJSONTyped, DummyChallengeToJSON, } from './DummyChallenge';
|
|
26
26
|
import { EmailChallengeFromJSONTyped, EmailChallengeToJSON, } from './EmailChallenge';
|
|
27
27
|
import { FlowErrorChallengeFromJSONTyped, FlowErrorChallengeToJSON, } from './FlowErrorChallenge';
|
|
28
|
+
import { FrameChallengeFromJSONTyped, FrameChallengeToJSON, } from './FrameChallenge';
|
|
28
29
|
import { IdentificationChallengeFromJSONTyped, IdentificationChallengeToJSON, } from './IdentificationChallenge';
|
|
29
30
|
import { OAuthDeviceCodeChallengeFromJSONTyped, OAuthDeviceCodeChallengeToJSON, } from './OAuthDeviceCodeChallenge';
|
|
30
31
|
import { OAuthDeviceCodeFinishChallengeFromJSONTyped, OAuthDeviceCodeFinishChallengeToJSON, } from './OAuthDeviceCodeFinishChallenge';
|
|
@@ -87,6 +88,8 @@ export function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
87
88
|
return Object.assign(Object.assign({}, SessionEndChallengeFromJSONTyped(json, true)), { component: 'ak-stage-session-end' });
|
|
88
89
|
case 'ak-stage-user-login':
|
|
89
90
|
return Object.assign(Object.assign({}, UserLoginChallengeFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
|
|
91
|
+
case 'xak-flow-frame':
|
|
92
|
+
return Object.assign(Object.assign({}, FrameChallengeFromJSONTyped(json, true)), { component: 'xak-flow-frame' });
|
|
90
93
|
case 'xak-flow-redirect':
|
|
91
94
|
return Object.assign(Object.assign({}, RedirectChallengeFromJSONTyped(json, true)), { component: 'xak-flow-redirect' });
|
|
92
95
|
case 'xak-flow-shell':
|
|
@@ -147,6 +150,8 @@ export function ChallengeTypesToJSON(value) {
|
|
|
147
150
|
return SessionEndChallengeToJSON(value);
|
|
148
151
|
case 'ak-stage-user-login':
|
|
149
152
|
return UserLoginChallengeToJSON(value);
|
|
153
|
+
case 'xak-flow-frame':
|
|
154
|
+
return FrameChallengeToJSON(value);
|
|
150
155
|
case 'xak-flow-redirect':
|
|
151
156
|
return RedirectChallengeToJSON(value);
|
|
152
157
|
case 'xak-flow-shell':
|
|
@@ -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
|
+
* Serializer for Endpoint authenticator devices
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EndpointDevice
|
|
16
|
+
*/
|
|
17
|
+
export interface EndpointDevice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EndpointDevice
|
|
22
|
+
*/
|
|
23
|
+
pk?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The human-readable name of this device.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EndpointDevice
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EndpointDevice interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEndpointDevice(value: object): boolean;
|
|
35
|
+
export declare function EndpointDeviceFromJSON(json: any): EndpointDevice;
|
|
36
|
+
export declare function EndpointDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointDevice;
|
|
37
|
+
export declare function EndpointDeviceToJSON(value?: EndpointDevice | 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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the EndpointDevice interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfEndpointDevice(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "name" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function EndpointDeviceFromJSON(json) {
|
|
24
|
+
return EndpointDeviceFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function EndpointDeviceFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'pk': !exists(json, 'pk') ? undefined : json['pk'],
|
|
32
|
+
'name': json['name'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function EndpointDeviceToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'pk': value.pk,
|
|
44
|
+
'name': value.name,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -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
|
+
* Serializer for Endpoint authenticator devices
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EndpointDeviceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface EndpointDeviceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EndpointDeviceRequest
|
|
22
|
+
*/
|
|
23
|
+
pk?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The human-readable name of this device.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EndpointDeviceRequest
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EndpointDeviceRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEndpointDeviceRequest(value: object): boolean;
|
|
35
|
+
export declare function EndpointDeviceRequestFromJSON(json: any): EndpointDeviceRequest;
|
|
36
|
+
export declare function EndpointDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointDeviceRequest;
|
|
37
|
+
export declare function EndpointDeviceRequestToJSON(value?: EndpointDeviceRequest | 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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the EndpointDeviceRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfEndpointDeviceRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "name" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function EndpointDeviceRequestFromJSON(json) {
|
|
24
|
+
return EndpointDeviceRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function EndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'pk': !exists(json, 'pk') ? undefined : json['pk'],
|
|
32
|
+
'name': json['name'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function EndpointDeviceRequestToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'pk': value.pk,
|
|
44
|
+
'name': value.name,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -21,6 +21,7 @@ import { CaptchaChallengeResponseRequest } from './CaptchaChallengeResponseReque
|
|
|
21
21
|
import { ConsentChallengeResponseRequest } from './ConsentChallengeResponseRequest';
|
|
22
22
|
import { DummyChallengeResponseRequest } from './DummyChallengeResponseRequest';
|
|
23
23
|
import { EmailChallengeResponseRequest } from './EmailChallengeResponseRequest';
|
|
24
|
+
import { FrameChallengeResponseRequest } from './FrameChallengeResponseRequest';
|
|
24
25
|
import { IdentificationChallengeResponseRequest } from './IdentificationChallengeResponseRequest';
|
|
25
26
|
import { OAuthDeviceCodeChallengeResponseRequest } from './OAuthDeviceCodeChallengeResponseRequest';
|
|
26
27
|
import { OAuthDeviceCodeFinishChallengeResponseRequest } from './OAuthDeviceCodeFinishChallengeResponseRequest';
|
|
@@ -71,7 +72,9 @@ export type FlowChallengeResponseRequest = {
|
|
|
71
72
|
component: 'ak-stage-prompt';
|
|
72
73
|
} & PromptChallengeResponseRequest | {
|
|
73
74
|
component: 'ak-stage-user-login';
|
|
74
|
-
} & UserLoginChallengeResponseRequest
|
|
75
|
+
} & UserLoginChallengeResponseRequest | {
|
|
76
|
+
component: 'xak-flow-frame';
|
|
77
|
+
} & FrameChallengeResponseRequest;
|
|
75
78
|
export declare function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest;
|
|
76
79
|
export declare function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowChallengeResponseRequest;
|
|
77
80
|
export declare function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponseRequest | null): any;
|
|
@@ -23,6 +23,7 @@ import { CaptchaChallengeResponseRequestFromJSONTyped, CaptchaChallengeResponseR
|
|
|
23
23
|
import { ConsentChallengeResponseRequestFromJSONTyped, ConsentChallengeResponseRequestToJSON, } from './ConsentChallengeResponseRequest';
|
|
24
24
|
import { DummyChallengeResponseRequestFromJSONTyped, DummyChallengeResponseRequestToJSON, } from './DummyChallengeResponseRequest';
|
|
25
25
|
import { EmailChallengeResponseRequestFromJSONTyped, EmailChallengeResponseRequestToJSON, } from './EmailChallengeResponseRequest';
|
|
26
|
+
import { FrameChallengeResponseRequestFromJSONTyped, FrameChallengeResponseRequestToJSON, } from './FrameChallengeResponseRequest';
|
|
26
27
|
import { IdentificationChallengeResponseRequestFromJSONTyped, IdentificationChallengeResponseRequestToJSON, } from './IdentificationChallengeResponseRequest';
|
|
27
28
|
import { OAuthDeviceCodeChallengeResponseRequestFromJSONTyped, OAuthDeviceCodeChallengeResponseRequestToJSON, } from './OAuthDeviceCodeChallengeResponseRequest';
|
|
28
29
|
import { OAuthDeviceCodeFinishChallengeResponseRequestFromJSONTyped, OAuthDeviceCodeFinishChallengeResponseRequestToJSON, } from './OAuthDeviceCodeFinishChallengeResponseRequest';
|
|
@@ -76,6 +77,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
76
77
|
return Object.assign(Object.assign({}, PromptChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-prompt' });
|
|
77
78
|
case 'ak-stage-user-login':
|
|
78
79
|
return Object.assign(Object.assign({}, UserLoginChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
|
|
80
|
+
case 'xak-flow-frame':
|
|
81
|
+
return Object.assign(Object.assign({}, FrameChallengeResponseRequestFromJSONTyped(json, true)), { component: 'xak-flow-frame' });
|
|
79
82
|
default:
|
|
80
83
|
throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
|
|
81
84
|
}
|
|
@@ -126,6 +129,8 @@ export function FlowChallengeResponseRequestToJSON(value) {
|
|
|
126
129
|
return PromptChallengeResponseRequestToJSON(value);
|
|
127
130
|
case 'ak-stage-user-login':
|
|
128
131
|
return UserLoginChallengeResponseRequestToJSON(value);
|
|
132
|
+
case 'xak-flow-frame':
|
|
133
|
+
return FrameChallengeResponseRequestToJSON(value);
|
|
129
134
|
default:
|
|
130
135
|
throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
|
|
131
136
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { ContextualFlowInfo } from './ContextualFlowInfo';
|
|
13
|
+
import type { ErrorDetail } from './ErrorDetail';
|
|
14
|
+
/**
|
|
15
|
+
* Challenge type to render a frame
|
|
16
|
+
* @export
|
|
17
|
+
* @interface FrameChallenge
|
|
18
|
+
*/
|
|
19
|
+
export interface FrameChallenge {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContextualFlowInfo}
|
|
23
|
+
* @memberof FrameChallenge
|
|
24
|
+
*/
|
|
25
|
+
flowInfo?: ContextualFlowInfo;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof FrameChallenge
|
|
30
|
+
*/
|
|
31
|
+
component?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: Array<ErrorDetail>; }}
|
|
35
|
+
* @memberof FrameChallenge
|
|
36
|
+
*/
|
|
37
|
+
responseErrors?: {
|
|
38
|
+
[key: string]: Array<ErrorDetail>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof FrameChallenge
|
|
44
|
+
*/
|
|
45
|
+
url: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof FrameChallenge
|
|
50
|
+
*/
|
|
51
|
+
loadingOverlay?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FrameChallenge
|
|
56
|
+
*/
|
|
57
|
+
loadingText: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the FrameChallenge interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfFrameChallenge(value: object): boolean;
|
|
63
|
+
export declare function FrameChallengeFromJSON(json: any): FrameChallenge;
|
|
64
|
+
export declare function FrameChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallenge;
|
|
65
|
+
export declare function FrameChallengeToJSON(value?: FrameChallenge | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { ContextualFlowInfoFromJSON, ContextualFlowInfoToJSON, } from './ContextualFlowInfo';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the FrameChallenge interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfFrameChallenge(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "url" in value;
|
|
22
|
+
isInstance = isInstance && "loadingText" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function FrameChallengeFromJSON(json) {
|
|
26
|
+
return FrameChallengeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function FrameChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
|
34
|
+
'component': !exists(json, 'component') ? undefined : json['component'],
|
|
35
|
+
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
|
36
|
+
'url': json['url'],
|
|
37
|
+
'loadingOverlay': !exists(json, 'loading_overlay') ? undefined : json['loading_overlay'],
|
|
38
|
+
'loadingText': json['loading_text'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function FrameChallengeToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
|
50
|
+
'component': value.component,
|
|
51
|
+
'response_errors': value.responseErrors,
|
|
52
|
+
'url': value.url,
|
|
53
|
+
'loading_overlay': value.loadingOverlay,
|
|
54
|
+
'loading_text': value.loadingText,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Base class for all challenge responses
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FrameChallengeResponseRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface FrameChallengeResponseRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FrameChallengeResponseRequest
|
|
22
|
+
*/
|
|
23
|
+
component?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the FrameChallengeResponseRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfFrameChallengeResponseRequest(value: object): boolean;
|
|
29
|
+
export declare function FrameChallengeResponseRequestFromJSON(json: any): FrameChallengeResponseRequest;
|
|
30
|
+
export declare function FrameChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallengeResponseRequest;
|
|
31
|
+
export declare function FrameChallengeResponseRequestToJSON(value?: FrameChallengeResponseRequest | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 FrameChallengeResponseRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFrameChallengeResponseRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function FrameChallengeResponseRequestFromJSON(json) {
|
|
23
|
+
return FrameChallengeResponseRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function FrameChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'component': !exists(json, 'component') ? undefined : json['component'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function FrameChallengeResponseRequestToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'component': value.component,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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
|
+
}
|