@goauthentik/api 2025.4.1-1747332783 → 2025.4.1-1747687715
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 +7 -0
- package/dist/apis/CoreApi.d.ts +1 -0
- package/dist/apis/CoreApi.js +3 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/StagesApi.d.ts +117 -1
- package/dist/apis/StagesApi.js +306 -1
- package/dist/esm/apis/CoreApi.d.ts +1 -0
- package/dist/esm/apis/CoreApi.js +3 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/StagesApi.d.ts +117 -1
- package/dist/esm/apis/StagesApi.js +306 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/Brand.d.ts +6 -0
- package/dist/esm/models/Brand.js +2 -0
- package/dist/esm/models/BrandRequest.d.ts +6 -0
- package/dist/esm/models/BrandRequest.js +2 -0
- package/dist/esm/models/CertAttributeEnum.d.ts +27 -0
- package/dist/esm/models/CertAttributeEnum.js +45 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/MutualTLSStage.d.ts +96 -0
- package/dist/esm/models/MutualTLSStage.js +78 -0
- package/dist/esm/models/MutualTLSStageModeEnum.d.ts +26 -0
- package/dist/esm/models/MutualTLSStageModeEnum.js +44 -0
- package/dist/esm/models/MutualTLSStageRequest.d.ts +66 -0
- package/dist/esm/models/MutualTLSStageRequest.js +63 -0
- package/dist/esm/models/PaginatedMutualTLSStageList.d.ts +40 -0
- package/dist/esm/models/PaginatedMutualTLSStageList.js +49 -0
- package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
- package/dist/esm/models/PatchedBrandRequest.js +2 -0
- package/dist/esm/models/PatchedMutualTLSStageRequest.d.ts +66 -0
- package/dist/esm/models/PatchedMutualTLSStageRequest.js +55 -0
- package/dist/esm/models/UserAttributeEnum.d.ts +26 -0
- package/dist/esm/models/UserAttributeEnum.js +44 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/Brand.d.ts +6 -0
- package/dist/models/Brand.js +2 -0
- package/dist/models/BrandRequest.d.ts +6 -0
- package/dist/models/BrandRequest.js +2 -0
- package/dist/models/CertAttributeEnum.d.ts +27 -0
- package/dist/models/CertAttributeEnum.js +53 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/MutualTLSStage.d.ts +96 -0
- package/dist/models/MutualTLSStage.js +85 -0
- package/dist/models/MutualTLSStageModeEnum.d.ts +26 -0
- package/dist/models/MutualTLSStageModeEnum.js +52 -0
- package/dist/models/MutualTLSStageRequest.d.ts +66 -0
- package/dist/models/MutualTLSStageRequest.js +70 -0
- package/dist/models/PaginatedMutualTLSStageList.d.ts +40 -0
- package/dist/models/PaginatedMutualTLSStageList.js +56 -0
- package/dist/models/PatchedBrandRequest.d.ts +6 -0
- package/dist/models/PatchedBrandRequest.js +2 -0
- package/dist/models/PatchedMutualTLSStageRequest.d.ts +66 -0
- package/dist/models/PatchedMutualTLSStageRequest.js +62 -0
- package/dist/models/UserAttributeEnum.d.ts +26 -0
- package/dist/models/UserAttributeEnum.js +52 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +5 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/StagesApi.ts +414 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/Brand.ts +8 -0
- package/src/models/BrandRequest.ts +8 -0
- package/src/models/CertAttributeEnum.ts +55 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/MutualTLSStage.ts +180 -0
- package/src/models/MutualTLSStageModeEnum.ts +54 -0
- package/src/models/MutualTLSStageRequest.ts +140 -0
- package/src/models/PaginatedMutualTLSStageList.ts +90 -0
- package/src/models/PatchedBrandRequest.ts +8 -0
- package/src/models/PatchedMutualTLSStageRequest.ts +136 -0
- package/src/models/UserAttributeEnum.ts +54 -0
- package/src/models/index.ts +7 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const UserAttributeEnum = {
|
|
19
|
+
Username: 'username',
|
|
20
|
+
Email: 'email',
|
|
21
|
+
UnknownDefaultOpenApi: '11184809'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfUserAttributeEnum(value) {
|
|
24
|
+
for (const key in UserAttributeEnum) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(UserAttributeEnum, key)) {
|
|
26
|
+
if (UserAttributeEnum[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function UserAttributeEnumFromJSON(json) {
|
|
34
|
+
return UserAttributeEnumFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function UserAttributeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function UserAttributeEnumToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function UserAttributeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -68,6 +68,7 @@ export * from './CaptchaChallenge';
|
|
|
68
68
|
export * from './CaptchaChallengeResponseRequest';
|
|
69
69
|
export * from './CaptchaStage';
|
|
70
70
|
export * from './CaptchaStageRequest';
|
|
71
|
+
export * from './CertAttributeEnum';
|
|
71
72
|
export * from './CertificateData';
|
|
72
73
|
export * from './CertificateGenerationRequest';
|
|
73
74
|
export * from './CertificateKeyPair';
|
|
@@ -247,6 +248,9 @@ export * from './MicrosoftEntraProviderUser';
|
|
|
247
248
|
export * from './MicrosoftEntraProviderUserRequest';
|
|
248
249
|
export * from './ModelEnum';
|
|
249
250
|
export * from './ModelRequest';
|
|
251
|
+
export * from './MutualTLSStage';
|
|
252
|
+
export * from './MutualTLSStageModeEnum';
|
|
253
|
+
export * from './MutualTLSStageRequest';
|
|
250
254
|
export * from './NameIdPolicyEnum';
|
|
251
255
|
export * from './NetworkBindingEnum';
|
|
252
256
|
export * from './NotConfiguredActionEnum';
|
|
@@ -341,6 +345,7 @@ export * from './PaginatedMicrosoftEntraProviderGroupList';
|
|
|
341
345
|
export * from './PaginatedMicrosoftEntraProviderList';
|
|
342
346
|
export * from './PaginatedMicrosoftEntraProviderMappingList';
|
|
343
347
|
export * from './PaginatedMicrosoftEntraProviderUserList';
|
|
348
|
+
export * from './PaginatedMutualTLSStageList';
|
|
344
349
|
export * from './PaginatedNotificationList';
|
|
345
350
|
export * from './PaginatedNotificationRuleList';
|
|
346
351
|
export * from './PaginatedNotificationTransportList';
|
|
@@ -480,6 +485,7 @@ export * from './PatchedLDAPSourceRequest';
|
|
|
480
485
|
export * from './PatchedLicenseRequest';
|
|
481
486
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
|
482
487
|
export * from './PatchedMicrosoftEntraProviderRequest';
|
|
488
|
+
export * from './PatchedMutualTLSStageRequest';
|
|
483
489
|
export * from './PatchedNotificationRequest';
|
|
484
490
|
export * from './PatchedNotificationRuleRequest';
|
|
485
491
|
export * from './PatchedNotificationTransportRequest';
|
|
@@ -690,6 +696,7 @@ export * from './UsedByActionEnum';
|
|
|
690
696
|
export * from './User';
|
|
691
697
|
export * from './UserAccountRequest';
|
|
692
698
|
export * from './UserAssignedObjectPermission';
|
|
699
|
+
export * from './UserAttributeEnum';
|
|
693
700
|
export * from './UserConsent';
|
|
694
701
|
export * from './UserCreationModeEnum';
|
|
695
702
|
export * from './UserDeleteStage';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -70,6 +70,7 @@ export * from './CaptchaChallenge';
|
|
|
70
70
|
export * from './CaptchaChallengeResponseRequest';
|
|
71
71
|
export * from './CaptchaStage';
|
|
72
72
|
export * from './CaptchaStageRequest';
|
|
73
|
+
export * from './CertAttributeEnum';
|
|
73
74
|
export * from './CertificateData';
|
|
74
75
|
export * from './CertificateGenerationRequest';
|
|
75
76
|
export * from './CertificateKeyPair';
|
|
@@ -249,6 +250,9 @@ export * from './MicrosoftEntraProviderUser';
|
|
|
249
250
|
export * from './MicrosoftEntraProviderUserRequest';
|
|
250
251
|
export * from './ModelEnum';
|
|
251
252
|
export * from './ModelRequest';
|
|
253
|
+
export * from './MutualTLSStage';
|
|
254
|
+
export * from './MutualTLSStageModeEnum';
|
|
255
|
+
export * from './MutualTLSStageRequest';
|
|
252
256
|
export * from './NameIdPolicyEnum';
|
|
253
257
|
export * from './NetworkBindingEnum';
|
|
254
258
|
export * from './NotConfiguredActionEnum';
|
|
@@ -343,6 +347,7 @@ export * from './PaginatedMicrosoftEntraProviderGroupList';
|
|
|
343
347
|
export * from './PaginatedMicrosoftEntraProviderList';
|
|
344
348
|
export * from './PaginatedMicrosoftEntraProviderMappingList';
|
|
345
349
|
export * from './PaginatedMicrosoftEntraProviderUserList';
|
|
350
|
+
export * from './PaginatedMutualTLSStageList';
|
|
346
351
|
export * from './PaginatedNotificationList';
|
|
347
352
|
export * from './PaginatedNotificationRuleList';
|
|
348
353
|
export * from './PaginatedNotificationTransportList';
|
|
@@ -482,6 +487,7 @@ export * from './PatchedLDAPSourceRequest';
|
|
|
482
487
|
export * from './PatchedLicenseRequest';
|
|
483
488
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
|
484
489
|
export * from './PatchedMicrosoftEntraProviderRequest';
|
|
490
|
+
export * from './PatchedMutualTLSStageRequest';
|
|
485
491
|
export * from './PatchedNotificationRequest';
|
|
486
492
|
export * from './PatchedNotificationRuleRequest';
|
|
487
493
|
export * from './PatchedNotificationTransportRequest';
|
|
@@ -692,6 +698,7 @@ export * from './UsedByActionEnum';
|
|
|
692
698
|
export * from './User';
|
|
693
699
|
export * from './UserAccountRequest';
|
|
694
700
|
export * from './UserAssignedObjectPermission';
|
|
701
|
+
export * from './UserAttributeEnum';
|
|
695
702
|
export * from './UserConsent';
|
|
696
703
|
export * from './UserCreationModeEnum';
|
|
697
704
|
export * from './UserDeleteStage';
|
package/dist/models/AppEnum.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export declare const AppEnum: {
|
|
|
75
75
|
readonly AuthentikEnterpriseProvidersMicrosoftEntra: "authentik.enterprise.providers.microsoft_entra";
|
|
76
76
|
readonly AuthentikEnterpriseProvidersSsf: "authentik.enterprise.providers.ssf";
|
|
77
77
|
readonly AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: "authentik.enterprise.stages.authenticator_endpoint_gdtc";
|
|
78
|
+
readonly AuthentikEnterpriseStagesMtls: "authentik.enterprise.stages.mtls";
|
|
78
79
|
readonly AuthentikEnterpriseStagesSource: "authentik.enterprise.stages.source";
|
|
79
80
|
readonly AuthentikEvents: "authentik.events";
|
|
80
81
|
readonly UnknownDefaultOpenApi: "11184809";
|
package/dist/models/AppEnum.js
CHANGED
|
@@ -85,6 +85,7 @@ exports.AppEnum = {
|
|
|
85
85
|
AuthentikEnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
|
|
86
86
|
AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
|
|
87
87
|
AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
|
|
88
|
+
AuthentikEnterpriseStagesMtls: 'authentik.enterprise.stages.mtls',
|
|
88
89
|
AuthentikEnterpriseStagesSource: 'authentik.enterprise.stages.source',
|
|
89
90
|
AuthentikEvents: 'authentik.events',
|
|
90
91
|
UnknownDefaultOpenApi: '11184809'
|
package/dist/models/Brand.d.ts
CHANGED
|
@@ -111,6 +111,12 @@ export interface Brand {
|
|
|
111
111
|
* @memberof Brand
|
|
112
112
|
*/
|
|
113
113
|
webCertificate?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* Certificates used for client authentication.
|
|
116
|
+
* @type {Array<string>}
|
|
117
|
+
* @memberof Brand
|
|
118
|
+
*/
|
|
119
|
+
clientCertificates?: Array<string>;
|
|
114
120
|
/**
|
|
115
121
|
*
|
|
116
122
|
* @type {any}
|
package/dist/models/Brand.js
CHANGED
|
@@ -52,6 +52,7 @@ function BrandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'flowDeviceCode': json['flow_device_code'] == null ? undefined : json['flow_device_code'],
|
|
53
53
|
'defaultApplication': json['default_application'] == null ? undefined : json['default_application'],
|
|
54
54
|
'webCertificate': json['web_certificate'] == null ? undefined : json['web_certificate'],
|
|
55
|
+
'clientCertificates': json['client_certificates'] == null ? undefined : json['client_certificates'],
|
|
55
56
|
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
56
57
|
};
|
|
57
58
|
}
|
|
@@ -78,6 +79,7 @@ function BrandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
78
79
|
'flow_device_code': value['flowDeviceCode'],
|
|
79
80
|
'default_application': value['defaultApplication'],
|
|
80
81
|
'web_certificate': value['webCertificate'],
|
|
82
|
+
'client_certificates': value['clientCertificates'],
|
|
81
83
|
'attributes': value['attributes'],
|
|
82
84
|
};
|
|
83
85
|
}
|
|
@@ -105,6 +105,12 @@ export interface BrandRequest {
|
|
|
105
105
|
* @memberof BrandRequest
|
|
106
106
|
*/
|
|
107
107
|
webCertificate?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Certificates used for client authentication.
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof BrandRequest
|
|
112
|
+
*/
|
|
113
|
+
clientCertificates?: Array<string>;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @type {any}
|
|
@@ -49,6 +49,7 @@ function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'flowDeviceCode': json['flow_device_code'] == null ? undefined : json['flow_device_code'],
|
|
50
50
|
'defaultApplication': json['default_application'] == null ? undefined : json['default_application'],
|
|
51
51
|
'webCertificate': json['web_certificate'] == null ? undefined : json['web_certificate'],
|
|
52
|
+
'clientCertificates': json['client_certificates'] == null ? undefined : json['client_certificates'],
|
|
52
53
|
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
53
54
|
};
|
|
54
55
|
}
|
|
@@ -75,6 +76,7 @@ function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
76
|
'flow_device_code': value['flowDeviceCode'],
|
|
76
77
|
'default_application': value['defaultApplication'],
|
|
77
78
|
'web_certificate': value['webCertificate'],
|
|
79
|
+
'client_certificates': value['clientCertificates'],
|
|
78
80
|
'attributes': value['attributes'],
|
|
79
81
|
};
|
|
80
82
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CertAttributeEnum: {
|
|
17
|
+
readonly Subject: "subject";
|
|
18
|
+
readonly CommonName: "common_name";
|
|
19
|
+
readonly Email: "email";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
|
+
};
|
|
22
|
+
export type CertAttributeEnum = typeof CertAttributeEnum[keyof typeof CertAttributeEnum];
|
|
23
|
+
export declare function instanceOfCertAttributeEnum(value: any): boolean;
|
|
24
|
+
export declare function CertAttributeEnumFromJSON(json: any): CertAttributeEnum;
|
|
25
|
+
export declare function CertAttributeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertAttributeEnum;
|
|
26
|
+
export declare function CertAttributeEnumToJSON(value?: CertAttributeEnum | null): any;
|
|
27
|
+
export declare function CertAttributeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CertAttributeEnum;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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.CertAttributeEnum = void 0;
|
|
17
|
+
exports.instanceOfCertAttributeEnum = instanceOfCertAttributeEnum;
|
|
18
|
+
exports.CertAttributeEnumFromJSON = CertAttributeEnumFromJSON;
|
|
19
|
+
exports.CertAttributeEnumFromJSONTyped = CertAttributeEnumFromJSONTyped;
|
|
20
|
+
exports.CertAttributeEnumToJSON = CertAttributeEnumToJSON;
|
|
21
|
+
exports.CertAttributeEnumToJSONTyped = CertAttributeEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.CertAttributeEnum = {
|
|
27
|
+
Subject: 'subject',
|
|
28
|
+
CommonName: 'common_name',
|
|
29
|
+
Email: 'email',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfCertAttributeEnum(value) {
|
|
33
|
+
for (const key in exports.CertAttributeEnum) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.CertAttributeEnum, key)) {
|
|
35
|
+
if (exports.CertAttributeEnum[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function CertAttributeEnumFromJSON(json) {
|
|
43
|
+
return CertAttributeEnumFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function CertAttributeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function CertAttributeEnumToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function CertAttributeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -111,6 +111,7 @@ export declare const ModelEnum: {
|
|
|
111
111
|
readonly AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: "authentik_providers_microsoft_entra.microsoftentraprovidermapping";
|
|
112
112
|
readonly AuthentikProvidersSsfSsfprovider: "authentik_providers_ssf.ssfprovider";
|
|
113
113
|
readonly AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
|
|
114
|
+
readonly AuthentikStagesMtlsMutualtlsstage: "authentik_stages_mtls.mutualtlsstage";
|
|
114
115
|
readonly AuthentikStagesSourceSourcestage: "authentik_stages_source.sourcestage";
|
|
115
116
|
readonly AuthentikEventsEvent: "authentik_events.event";
|
|
116
117
|
readonly AuthentikEventsNotificationtransport: "authentik_events.notificationtransport";
|
package/dist/models/ModelEnum.js
CHANGED
|
@@ -121,6 +121,7 @@ exports.ModelEnum = {
|
|
|
121
121
|
AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: 'authentik_providers_microsoft_entra.microsoftentraprovidermapping',
|
|
122
122
|
AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
|
|
123
123
|
AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
124
|
+
AuthentikStagesMtlsMutualtlsstage: 'authentik_stages_mtls.mutualtlsstage',
|
|
124
125
|
AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
|
|
125
126
|
AuthentikEventsEvent: 'authentik_events.event',
|
|
126
127
|
AuthentikEventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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 { MutualTLSStageModeEnum } from './MutualTLSStageModeEnum';
|
|
13
|
+
import type { CertAttributeEnum } from './CertAttributeEnum';
|
|
14
|
+
import type { FlowSet } from './FlowSet';
|
|
15
|
+
import type { UserAttributeEnum } from './UserAttributeEnum';
|
|
16
|
+
/**
|
|
17
|
+
* MutualTLSStage Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MutualTLSStage
|
|
20
|
+
*/
|
|
21
|
+
export interface MutualTLSStage {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MutualTLSStage
|
|
26
|
+
*/
|
|
27
|
+
readonly pk: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof MutualTLSStage
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Get object type so that we know how to edit the object
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof MutualTLSStage
|
|
38
|
+
*/
|
|
39
|
+
readonly component: string;
|
|
40
|
+
/**
|
|
41
|
+
* Return object's verbose_name
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof MutualTLSStage
|
|
44
|
+
*/
|
|
45
|
+
readonly verboseName: string;
|
|
46
|
+
/**
|
|
47
|
+
* Return object's plural verbose_name
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof MutualTLSStage
|
|
50
|
+
*/
|
|
51
|
+
readonly verboseNamePlural: string;
|
|
52
|
+
/**
|
|
53
|
+
* Return internal model name
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MutualTLSStage
|
|
56
|
+
*/
|
|
57
|
+
readonly metaModelName: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<FlowSet>}
|
|
61
|
+
* @memberof MutualTLSStage
|
|
62
|
+
*/
|
|
63
|
+
flowSet?: Array<FlowSet>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {MutualTLSStageModeEnum}
|
|
67
|
+
* @memberof MutualTLSStage
|
|
68
|
+
*/
|
|
69
|
+
mode: MutualTLSStageModeEnum;
|
|
70
|
+
/**
|
|
71
|
+
* Configure certificate authorities to validate the certificate against. This option has a higher priority than the `client_certificate` option on `Brand`.
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof MutualTLSStage
|
|
74
|
+
*/
|
|
75
|
+
certificateAuthorities?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {CertAttributeEnum}
|
|
79
|
+
* @memberof MutualTLSStage
|
|
80
|
+
*/
|
|
81
|
+
certAttribute: CertAttributeEnum;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {UserAttributeEnum}
|
|
85
|
+
* @memberof MutualTLSStage
|
|
86
|
+
*/
|
|
87
|
+
userAttribute: UserAttributeEnum;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the MutualTLSStage interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfMutualTLSStage(value: object): value is MutualTLSStage;
|
|
93
|
+
export declare function MutualTLSStageFromJSON(json: any): MutualTLSStage;
|
|
94
|
+
export declare function MutualTLSStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): MutualTLSStage;
|
|
95
|
+
export declare function MutualTLSStageToJSON(json: any): MutualTLSStage;
|
|
96
|
+
export declare function MutualTLSStageToJSONTyped(value?: Omit<MutualTLSStage, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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.instanceOfMutualTLSStage = instanceOfMutualTLSStage;
|
|
17
|
+
exports.MutualTLSStageFromJSON = MutualTLSStageFromJSON;
|
|
18
|
+
exports.MutualTLSStageFromJSONTyped = MutualTLSStageFromJSONTyped;
|
|
19
|
+
exports.MutualTLSStageToJSON = MutualTLSStageToJSON;
|
|
20
|
+
exports.MutualTLSStageToJSONTyped = MutualTLSStageToJSONTyped;
|
|
21
|
+
const MutualTLSStageModeEnum_1 = require("./MutualTLSStageModeEnum");
|
|
22
|
+
const CertAttributeEnum_1 = require("./CertAttributeEnum");
|
|
23
|
+
const FlowSet_1 = require("./FlowSet");
|
|
24
|
+
const UserAttributeEnum_1 = require("./UserAttributeEnum");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the MutualTLSStage interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfMutualTLSStage(value) {
|
|
29
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('component' in value) || value['component'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('verboseName' in value) || value['verboseName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('metaModelName' in value) || value['metaModelName'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('certAttribute' in value) || value['certAttribute'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('userAttribute' in value) || value['userAttribute'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function MutualTLSStageFromJSON(json) {
|
|
50
|
+
return MutualTLSStageFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function MutualTLSStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'pk': json['pk'],
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'component': json['component'],
|
|
60
|
+
'verboseName': json['verbose_name'],
|
|
61
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
62
|
+
'metaModelName': json['meta_model_name'],
|
|
63
|
+
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSet_1.FlowSetFromJSON)),
|
|
64
|
+
'mode': (0, MutualTLSStageModeEnum_1.MutualTLSStageModeEnumFromJSON)(json['mode']),
|
|
65
|
+
'certificateAuthorities': json['certificate_authorities'] == null ? undefined : json['certificate_authorities'],
|
|
66
|
+
'certAttribute': (0, CertAttributeEnum_1.CertAttributeEnumFromJSON)(json['cert_attribute']),
|
|
67
|
+
'userAttribute': (0, UserAttributeEnum_1.UserAttributeEnumFromJSON)(json['user_attribute']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function MutualTLSStageToJSON(json) {
|
|
71
|
+
return MutualTLSStageToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function MutualTLSStageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'name': value['name'],
|
|
79
|
+
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSet_1.FlowSetToJSON)),
|
|
80
|
+
'mode': (0, MutualTLSStageModeEnum_1.MutualTLSStageModeEnumToJSON)(value['mode']),
|
|
81
|
+
'certificate_authorities': value['certificateAuthorities'],
|
|
82
|
+
'cert_attribute': (0, CertAttributeEnum_1.CertAttributeEnumToJSON)(value['certAttribute']),
|
|
83
|
+
'user_attribute': (0, UserAttributeEnum_1.UserAttributeEnumToJSON)(value['userAttribute']),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const MutualTLSStageModeEnum: {
|
|
17
|
+
readonly Optional: "optional";
|
|
18
|
+
readonly Required: "required";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type MutualTLSStageModeEnum = typeof MutualTLSStageModeEnum[keyof typeof MutualTLSStageModeEnum];
|
|
22
|
+
export declare function instanceOfMutualTLSStageModeEnum(value: any): boolean;
|
|
23
|
+
export declare function MutualTLSStageModeEnumFromJSON(json: any): MutualTLSStageModeEnum;
|
|
24
|
+
export declare function MutualTLSStageModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): MutualTLSStageModeEnum;
|
|
25
|
+
export declare function MutualTLSStageModeEnumToJSON(value?: MutualTLSStageModeEnum | null): any;
|
|
26
|
+
export declare function MutualTLSStageModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): MutualTLSStageModeEnum;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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.MutualTLSStageModeEnum = void 0;
|
|
17
|
+
exports.instanceOfMutualTLSStageModeEnum = instanceOfMutualTLSStageModeEnum;
|
|
18
|
+
exports.MutualTLSStageModeEnumFromJSON = MutualTLSStageModeEnumFromJSON;
|
|
19
|
+
exports.MutualTLSStageModeEnumFromJSONTyped = MutualTLSStageModeEnumFromJSONTyped;
|
|
20
|
+
exports.MutualTLSStageModeEnumToJSON = MutualTLSStageModeEnumToJSON;
|
|
21
|
+
exports.MutualTLSStageModeEnumToJSONTyped = MutualTLSStageModeEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.MutualTLSStageModeEnum = {
|
|
27
|
+
Optional: 'optional',
|
|
28
|
+
Required: 'required',
|
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfMutualTLSStageModeEnum(value) {
|
|
32
|
+
for (const key in exports.MutualTLSStageModeEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.MutualTLSStageModeEnum, key)) {
|
|
34
|
+
if (exports.MutualTLSStageModeEnum[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function MutualTLSStageModeEnumFromJSON(json) {
|
|
42
|
+
return MutualTLSStageModeEnumFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function MutualTLSStageModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function MutualTLSStageModeEnumToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function MutualTLSStageModeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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 { MutualTLSStageModeEnum } from './MutualTLSStageModeEnum';
|
|
13
|
+
import type { CertAttributeEnum } from './CertAttributeEnum';
|
|
14
|
+
import type { UserAttributeEnum } from './UserAttributeEnum';
|
|
15
|
+
import type { FlowSetRequest } from './FlowSetRequest';
|
|
16
|
+
/**
|
|
17
|
+
* MutualTLSStage Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MutualTLSStageRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface MutualTLSStageRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MutualTLSStageRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<FlowSetRequest>}
|
|
31
|
+
* @memberof MutualTLSStageRequest
|
|
32
|
+
*/
|
|
33
|
+
flowSet?: Array<FlowSetRequest>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {MutualTLSStageModeEnum}
|
|
37
|
+
* @memberof MutualTLSStageRequest
|
|
38
|
+
*/
|
|
39
|
+
mode: MutualTLSStageModeEnum;
|
|
40
|
+
/**
|
|
41
|
+
* Configure certificate authorities to validate the certificate against. This option has a higher priority than the `client_certificate` option on `Brand`.
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof MutualTLSStageRequest
|
|
44
|
+
*/
|
|
45
|
+
certificateAuthorities?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {CertAttributeEnum}
|
|
49
|
+
* @memberof MutualTLSStageRequest
|
|
50
|
+
*/
|
|
51
|
+
certAttribute: CertAttributeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {UserAttributeEnum}
|
|
55
|
+
* @memberof MutualTLSStageRequest
|
|
56
|
+
*/
|
|
57
|
+
userAttribute: UserAttributeEnum;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the MutualTLSStageRequest interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfMutualTLSStageRequest(value: object): value is MutualTLSStageRequest;
|
|
63
|
+
export declare function MutualTLSStageRequestFromJSON(json: any): MutualTLSStageRequest;
|
|
64
|
+
export declare function MutualTLSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MutualTLSStageRequest;
|
|
65
|
+
export declare function MutualTLSStageRequestToJSON(json: any): MutualTLSStageRequest;
|
|
66
|
+
export declare function MutualTLSStageRequestToJSONTyped(value?: MutualTLSStageRequest | null, ignoreDiscriminator?: boolean): any;
|