@goauthentik/api 2024.6.3-1723645891 → 2024.6.3-1724337552
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +3 -0
- package/dist/apis/ProvidersApi.d.ts +40 -1
- package/dist/apis/ProvidersApi.js +129 -0
- package/dist/esm/apis/ProvidersApi.d.ts +40 -1
- package/dist/esm/apis/ProvidersApi.js +130 -1
- package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +18 -0
- package/dist/esm/models/PatchedSAMLProviderRequest.js +6 -0
- package/dist/esm/models/SAMLProvider.d.ts +18 -0
- package/dist/esm/models/SAMLProvider.js +6 -0
- package/dist/esm/models/SAMLProviderRequest.d.ts +18 -0
- package/dist/esm/models/SAMLProviderRequest.js +6 -0
- package/dist/esm/models/SyncObjectModelEnum.d.ts +24 -0
- package/dist/esm/models/SyncObjectModelEnum.js +31 -0
- package/dist/esm/models/SyncObjectRequest.d.ts +38 -0
- package/dist/esm/models/SyncObjectRequest.js +47 -0
- package/dist/esm/models/SyncObjectResult.d.ts +32 -0
- package/dist/esm/models/SyncObjectResult.js +42 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/PatchedSAMLProviderRequest.d.ts +18 -0
- package/dist/models/PatchedSAMLProviderRequest.js +6 -0
- package/dist/models/SAMLProvider.d.ts +18 -0
- package/dist/models/SAMLProvider.js +6 -0
- package/dist/models/SAMLProviderRequest.d.ts +18 -0
- package/dist/models/SAMLProviderRequest.js +6 -0
- package/dist/models/SyncObjectModelEnum.d.ts +24 -0
- package/dist/models/SyncObjectModelEnum.js +37 -0
- package/dist/models/SyncObjectRequest.d.ts +38 -0
- package/dist/models/SyncObjectRequest.js +54 -0
- package/dist/models/SyncObjectResult.d.ts +32 -0
- package/dist/models/SyncObjectResult.js +49 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +171 -0
- package/src/models/PatchedSAMLProviderRequest.ts +24 -0
- package/src/models/SAMLProvider.ts +24 -0
- package/src/models/SAMLProviderRequest.ts +24 -0
- package/src/models/SyncObjectModelEnum.ts +39 -0
- package/src/models/SyncObjectRequest.ts +82 -0
- package/src/models/SyncObjectResult.ts +72 -0
- package/src/models/index.ts +3 -0
@@ -108,6 +108,24 @@ export interface SAMLProviderRequest {
|
|
108
108
|
* @memberof SAMLProviderRequest
|
109
109
|
*/
|
110
110
|
verificationKp?: string | null;
|
111
|
+
/**
|
112
|
+
* When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
|
113
|
+
* @type {string}
|
114
|
+
* @memberof SAMLProviderRequest
|
115
|
+
*/
|
116
|
+
encryptionKp?: string | null;
|
117
|
+
/**
|
118
|
+
*
|
119
|
+
* @type {boolean}
|
120
|
+
* @memberof SAMLProviderRequest
|
121
|
+
*/
|
122
|
+
signAssertion?: boolean;
|
123
|
+
/**
|
124
|
+
*
|
125
|
+
* @type {boolean}
|
126
|
+
* @memberof SAMLProviderRequest
|
127
|
+
*/
|
128
|
+
signResponse?: boolean;
|
111
129
|
/**
|
112
130
|
*
|
113
131
|
* @type {SpBindingEnum}
|
@@ -48,6 +48,9 @@ export function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
48
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
49
49
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
50
50
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
51
|
+
'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
|
52
|
+
'signAssertion': !exists(json, 'sign_assertion') ? undefined : json['sign_assertion'],
|
53
|
+
'signResponse': !exists(json, 'sign_response') ? undefined : json['sign_response'],
|
51
54
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
52
55
|
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
53
56
|
};
|
@@ -75,6 +78,9 @@ export function SAMLProviderRequestToJSON(value) {
|
|
75
78
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
76
79
|
'signing_kp': value.signingKp,
|
77
80
|
'verification_kp': value.verificationKp,
|
81
|
+
'encryption_kp': value.encryptionKp,
|
82
|
+
'sign_assertion': value.signAssertion,
|
83
|
+
'sign_response': value.signResponse,
|
78
84
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
79
85
|
'default_relay_state': value.defaultRelayState,
|
80
86
|
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
*
|
14
|
+
* @export
|
15
|
+
*/
|
16
|
+
export declare const SyncObjectModelEnum: {
|
17
|
+
readonly User: "authentik.core.models.User";
|
18
|
+
readonly Group: "authentik.core.models.Group";
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
20
|
+
};
|
21
|
+
export type SyncObjectModelEnum = typeof SyncObjectModelEnum[keyof typeof SyncObjectModelEnum];
|
22
|
+
export declare function SyncObjectModelEnumFromJSON(json: any): SyncObjectModelEnum;
|
23
|
+
export declare function SyncObjectModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectModelEnum;
|
24
|
+
export declare function SyncObjectModelEnumToJSON(value?: SyncObjectModelEnum | null): any;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.3
|
8
|
+
* Contact: hello@goauthentik.io
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
*/
|
18
|
+
export const SyncObjectModelEnum = {
|
19
|
+
User: 'authentik.core.models.User',
|
20
|
+
Group: 'authentik.core.models.Group',
|
21
|
+
UnknownDefaultOpenApi: '11184809'
|
22
|
+
};
|
23
|
+
export function SyncObjectModelEnumFromJSON(json) {
|
24
|
+
return SyncObjectModelEnumFromJSONTyped(json, false);
|
25
|
+
}
|
26
|
+
export function SyncObjectModelEnumFromJSONTyped(json, ignoreDiscriminator) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
export function SyncObjectModelEnumToJSON(value) {
|
30
|
+
return value;
|
31
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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 { SyncObjectModelEnum } from './SyncObjectModelEnum';
|
13
|
+
/**
|
14
|
+
* Sync object serializer
|
15
|
+
* @export
|
16
|
+
* @interface SyncObjectRequest
|
17
|
+
*/
|
18
|
+
export interface SyncObjectRequest {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {SyncObjectModelEnum}
|
22
|
+
* @memberof SyncObjectRequest
|
23
|
+
*/
|
24
|
+
syncObjectModel: SyncObjectModelEnum;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof SyncObjectRequest
|
29
|
+
*/
|
30
|
+
syncObjectId: string;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Check if a given object implements the SyncObjectRequest interface.
|
34
|
+
*/
|
35
|
+
export declare function instanceOfSyncObjectRequest(value: object): boolean;
|
36
|
+
export declare function SyncObjectRequestFromJSON(json: any): SyncObjectRequest;
|
37
|
+
export declare function SyncObjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectRequest;
|
38
|
+
export declare function SyncObjectRequestToJSON(value?: SyncObjectRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.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 { SyncObjectModelEnumFromJSON, SyncObjectModelEnumToJSON, } from './SyncObjectModelEnum';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the SyncObjectRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSyncObjectRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "syncObjectModel" in value;
|
21
|
+
isInstance = isInstance && "syncObjectId" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function SyncObjectRequestFromJSON(json) {
|
25
|
+
return SyncObjectRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function SyncObjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'syncObjectModel': SyncObjectModelEnumFromJSON(json['sync_object_model']),
|
33
|
+
'syncObjectId': json['sync_object_id'],
|
34
|
+
};
|
35
|
+
}
|
36
|
+
export function SyncObjectRequestToJSON(value) {
|
37
|
+
if (value === undefined) {
|
38
|
+
return undefined;
|
39
|
+
}
|
40
|
+
if (value === null) {
|
41
|
+
return null;
|
42
|
+
}
|
43
|
+
return {
|
44
|
+
'sync_object_model': SyncObjectModelEnumToJSON(value.syncObjectModel),
|
45
|
+
'sync_object_id': value.syncObjectId,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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 { LogEvent } from './LogEvent';
|
13
|
+
/**
|
14
|
+
* Result of a single object sync
|
15
|
+
* @export
|
16
|
+
* @interface SyncObjectResult
|
17
|
+
*/
|
18
|
+
export interface SyncObjectResult {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {Array<LogEvent>}
|
22
|
+
* @memberof SyncObjectResult
|
23
|
+
*/
|
24
|
+
readonly messages: Array<LogEvent>;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Check if a given object implements the SyncObjectResult interface.
|
28
|
+
*/
|
29
|
+
export declare function instanceOfSyncObjectResult(value: object): boolean;
|
30
|
+
export declare function SyncObjectResultFromJSON(json: any): SyncObjectResult;
|
31
|
+
export declare function SyncObjectResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectResult;
|
32
|
+
export declare function SyncObjectResultToJSON(value?: SyncObjectResult | null): any;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.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 { LogEventFromJSON, } from './LogEvent';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the SyncObjectResult interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSyncObjectResult(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "messages" in value;
|
21
|
+
return isInstance;
|
22
|
+
}
|
23
|
+
export function SyncObjectResultFromJSON(json) {
|
24
|
+
return SyncObjectResultFromJSONTyped(json, false);
|
25
|
+
}
|
26
|
+
export function SyncObjectResultFromJSONTyped(json, ignoreDiscriminator) {
|
27
|
+
if ((json === undefined) || (json === null)) {
|
28
|
+
return json;
|
29
|
+
}
|
30
|
+
return {
|
31
|
+
'messages': (json['messages'].map(LogEventFromJSON)),
|
32
|
+
};
|
33
|
+
}
|
34
|
+
export function SyncObjectResultToJSON(value) {
|
35
|
+
if (value === undefined) {
|
36
|
+
return undefined;
|
37
|
+
}
|
38
|
+
if (value === null) {
|
39
|
+
return null;
|
40
|
+
}
|
41
|
+
return {};
|
42
|
+
}
|
@@ -572,6 +572,9 @@ export * from './StaticDeviceRequest';
|
|
572
572
|
export * from './StaticDeviceToken';
|
573
573
|
export * from './StaticDeviceTokenRequest';
|
574
574
|
export * from './SubModeEnum';
|
575
|
+
export * from './SyncObjectModelEnum';
|
576
|
+
export * from './SyncObjectRequest';
|
577
|
+
export * from './SyncObjectResult';
|
575
578
|
export * from './SyncStatus';
|
576
579
|
export * from './SystemInfo';
|
577
580
|
export * from './SystemInfoRuntime';
|
package/dist/esm/models/index.js
CHANGED
@@ -574,6 +574,9 @@ export * from './StaticDeviceRequest';
|
|
574
574
|
export * from './StaticDeviceToken';
|
575
575
|
export * from './StaticDeviceTokenRequest';
|
576
576
|
export * from './SubModeEnum';
|
577
|
+
export * from './SyncObjectModelEnum';
|
578
|
+
export * from './SyncObjectRequest';
|
579
|
+
export * from './SyncObjectResult';
|
577
580
|
export * from './SyncStatus';
|
578
581
|
export * from './SystemInfo';
|
579
582
|
export * from './SystemInfoRuntime';
|
@@ -108,6 +108,24 @@ export interface PatchedSAMLProviderRequest {
|
|
108
108
|
* @memberof PatchedSAMLProviderRequest
|
109
109
|
*/
|
110
110
|
verificationKp?: string | null;
|
111
|
+
/**
|
112
|
+
* When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
|
113
|
+
* @type {string}
|
114
|
+
* @memberof PatchedSAMLProviderRequest
|
115
|
+
*/
|
116
|
+
encryptionKp?: string | null;
|
117
|
+
/**
|
118
|
+
*
|
119
|
+
* @type {boolean}
|
120
|
+
* @memberof PatchedSAMLProviderRequest
|
121
|
+
*/
|
122
|
+
signAssertion?: boolean;
|
123
|
+
/**
|
124
|
+
*
|
125
|
+
* @type {boolean}
|
126
|
+
* @memberof PatchedSAMLProviderRequest
|
127
|
+
*/
|
128
|
+
signResponse?: boolean;
|
111
129
|
/**
|
112
130
|
*
|
113
131
|
* @type {SpBindingEnum}
|
@@ -50,6 +50,9 @@ function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
50
|
'signatureAlgorithm': !(0, runtime_1.exists)(json, 'signature_algorithm') ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
|
51
51
|
'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
|
52
52
|
'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
|
53
|
+
'encryptionKp': !(0, runtime_1.exists)(json, 'encryption_kp') ? undefined : json['encryption_kp'],
|
54
|
+
'signAssertion': !(0, runtime_1.exists)(json, 'sign_assertion') ? undefined : json['sign_assertion'],
|
55
|
+
'signResponse': !(0, runtime_1.exists)(json, 'sign_response') ? undefined : json['sign_response'],
|
53
56
|
'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
|
54
57
|
'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
55
58
|
};
|
@@ -78,6 +81,9 @@ function PatchedSAMLProviderRequestToJSON(value) {
|
|
78
81
|
'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value.signatureAlgorithm),
|
79
82
|
'signing_kp': value.signingKp,
|
80
83
|
'verification_kp': value.verificationKp,
|
84
|
+
'encryption_kp': value.encryptionKp,
|
85
|
+
'sign_assertion': value.signAssertion,
|
86
|
+
'sign_response': value.signResponse,
|
81
87
|
'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
|
82
88
|
'default_relay_state': value.defaultRelayState,
|
83
89
|
};
|
@@ -162,6 +162,24 @@ export interface SAMLProvider {
|
|
162
162
|
* @memberof SAMLProvider
|
163
163
|
*/
|
164
164
|
verificationKp?: string | null;
|
165
|
+
/**
|
166
|
+
* When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
|
167
|
+
* @type {string}
|
168
|
+
* @memberof SAMLProvider
|
169
|
+
*/
|
170
|
+
encryptionKp?: string | null;
|
171
|
+
/**
|
172
|
+
*
|
173
|
+
* @type {boolean}
|
174
|
+
* @memberof SAMLProvider
|
175
|
+
*/
|
176
|
+
signAssertion?: boolean;
|
177
|
+
/**
|
178
|
+
*
|
179
|
+
* @type {boolean}
|
180
|
+
* @memberof SAMLProvider
|
181
|
+
*/
|
182
|
+
signResponse?: boolean;
|
165
183
|
/**
|
166
184
|
*
|
167
185
|
* @type {SpBindingEnum}
|
@@ -77,6 +77,9 @@ function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
77
77
|
'signatureAlgorithm': !(0, runtime_1.exists)(json, 'signature_algorithm') ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
|
78
78
|
'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
|
79
79
|
'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
|
80
|
+
'encryptionKp': !(0, runtime_1.exists)(json, 'encryption_kp') ? undefined : json['encryption_kp'],
|
81
|
+
'signAssertion': !(0, runtime_1.exists)(json, 'sign_assertion') ? undefined : json['sign_assertion'],
|
82
|
+
'signResponse': !(0, runtime_1.exists)(json, 'sign_response') ? undefined : json['sign_response'],
|
80
83
|
'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
|
81
84
|
'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
82
85
|
'urlDownloadMetadata': json['url_download_metadata'],
|
@@ -111,6 +114,9 @@ function SAMLProviderToJSON(value) {
|
|
111
114
|
'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value.signatureAlgorithm),
|
112
115
|
'signing_kp': value.signingKp,
|
113
116
|
'verification_kp': value.verificationKp,
|
117
|
+
'encryption_kp': value.encryptionKp,
|
118
|
+
'sign_assertion': value.signAssertion,
|
119
|
+
'sign_response': value.signResponse,
|
114
120
|
'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
|
115
121
|
'default_relay_state': value.defaultRelayState,
|
116
122
|
};
|
@@ -108,6 +108,24 @@ export interface SAMLProviderRequest {
|
|
108
108
|
* @memberof SAMLProviderRequest
|
109
109
|
*/
|
110
110
|
verificationKp?: string | null;
|
111
|
+
/**
|
112
|
+
* When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
|
113
|
+
* @type {string}
|
114
|
+
* @memberof SAMLProviderRequest
|
115
|
+
*/
|
116
|
+
encryptionKp?: string | null;
|
117
|
+
/**
|
118
|
+
*
|
119
|
+
* @type {boolean}
|
120
|
+
* @memberof SAMLProviderRequest
|
121
|
+
*/
|
122
|
+
signAssertion?: boolean;
|
123
|
+
/**
|
124
|
+
*
|
125
|
+
* @type {boolean}
|
126
|
+
* @memberof SAMLProviderRequest
|
127
|
+
*/
|
128
|
+
signResponse?: boolean;
|
111
129
|
/**
|
112
130
|
*
|
113
131
|
* @type {SpBindingEnum}
|
@@ -53,6 +53,9 @@ function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
53
|
'signatureAlgorithm': !(0, runtime_1.exists)(json, 'signature_algorithm') ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
|
54
54
|
'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
|
55
55
|
'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
|
56
|
+
'encryptionKp': !(0, runtime_1.exists)(json, 'encryption_kp') ? undefined : json['encryption_kp'],
|
57
|
+
'signAssertion': !(0, runtime_1.exists)(json, 'sign_assertion') ? undefined : json['sign_assertion'],
|
58
|
+
'signResponse': !(0, runtime_1.exists)(json, 'sign_response') ? undefined : json['sign_response'],
|
56
59
|
'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
|
57
60
|
'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
58
61
|
};
|
@@ -81,6 +84,9 @@ function SAMLProviderRequestToJSON(value) {
|
|
81
84
|
'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value.signatureAlgorithm),
|
82
85
|
'signing_kp': value.signingKp,
|
83
86
|
'verification_kp': value.verificationKp,
|
87
|
+
'encryption_kp': value.encryptionKp,
|
88
|
+
'sign_assertion': value.signAssertion,
|
89
|
+
'sign_response': value.signResponse,
|
84
90
|
'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
|
85
91
|
'default_relay_state': value.defaultRelayState,
|
86
92
|
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
*
|
14
|
+
* @export
|
15
|
+
*/
|
16
|
+
export declare const SyncObjectModelEnum: {
|
17
|
+
readonly User: "authentik.core.models.User";
|
18
|
+
readonly Group: "authentik.core.models.Group";
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
20
|
+
};
|
21
|
+
export type SyncObjectModelEnum = typeof SyncObjectModelEnum[keyof typeof SyncObjectModelEnum];
|
22
|
+
export declare function SyncObjectModelEnumFromJSON(json: any): SyncObjectModelEnum;
|
23
|
+
export declare function SyncObjectModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectModelEnum;
|
24
|
+
export declare function SyncObjectModelEnumToJSON(value?: SyncObjectModelEnum | null): any;
|
@@ -0,0 +1,37 @@
|
|
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.6.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.SyncObjectModelEnumToJSON = exports.SyncObjectModelEnumFromJSONTyped = exports.SyncObjectModelEnumFromJSON = exports.SyncObjectModelEnum = void 0;
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @export
|
20
|
+
*/
|
21
|
+
exports.SyncObjectModelEnum = {
|
22
|
+
User: 'authentik.core.models.User',
|
23
|
+
Group: 'authentik.core.models.Group',
|
24
|
+
UnknownDefaultOpenApi: '11184809'
|
25
|
+
};
|
26
|
+
function SyncObjectModelEnumFromJSON(json) {
|
27
|
+
return SyncObjectModelEnumFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.SyncObjectModelEnumFromJSON = SyncObjectModelEnumFromJSON;
|
30
|
+
function SyncObjectModelEnumFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
return json;
|
32
|
+
}
|
33
|
+
exports.SyncObjectModelEnumFromJSONTyped = SyncObjectModelEnumFromJSONTyped;
|
34
|
+
function SyncObjectModelEnumToJSON(value) {
|
35
|
+
return value;
|
36
|
+
}
|
37
|
+
exports.SyncObjectModelEnumToJSON = SyncObjectModelEnumToJSON;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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 { SyncObjectModelEnum } from './SyncObjectModelEnum';
|
13
|
+
/**
|
14
|
+
* Sync object serializer
|
15
|
+
* @export
|
16
|
+
* @interface SyncObjectRequest
|
17
|
+
*/
|
18
|
+
export interface SyncObjectRequest {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {SyncObjectModelEnum}
|
22
|
+
* @memberof SyncObjectRequest
|
23
|
+
*/
|
24
|
+
syncObjectModel: SyncObjectModelEnum;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof SyncObjectRequest
|
29
|
+
*/
|
30
|
+
syncObjectId: string;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Check if a given object implements the SyncObjectRequest interface.
|
34
|
+
*/
|
35
|
+
export declare function instanceOfSyncObjectRequest(value: object): boolean;
|
36
|
+
export declare function SyncObjectRequestFromJSON(json: any): SyncObjectRequest;
|
37
|
+
export declare function SyncObjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectRequest;
|
38
|
+
export declare function SyncObjectRequestToJSON(value?: SyncObjectRequest | null): any;
|
@@ -0,0 +1,54 @@
|
|
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.6.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.SyncObjectRequestToJSON = exports.SyncObjectRequestFromJSONTyped = exports.SyncObjectRequestFromJSON = exports.instanceOfSyncObjectRequest = void 0;
|
17
|
+
const SyncObjectModelEnum_1 = require("./SyncObjectModelEnum");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the SyncObjectRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfSyncObjectRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "syncObjectModel" in value;
|
24
|
+
isInstance = isInstance && "syncObjectId" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
exports.instanceOfSyncObjectRequest = instanceOfSyncObjectRequest;
|
28
|
+
function SyncObjectRequestFromJSON(json) {
|
29
|
+
return SyncObjectRequestFromJSONTyped(json, false);
|
30
|
+
}
|
31
|
+
exports.SyncObjectRequestFromJSON = SyncObjectRequestFromJSON;
|
32
|
+
function SyncObjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'syncObjectModel': (0, SyncObjectModelEnum_1.SyncObjectModelEnumFromJSON)(json['sync_object_model']),
|
38
|
+
'syncObjectId': json['sync_object_id'],
|
39
|
+
};
|
40
|
+
}
|
41
|
+
exports.SyncObjectRequestFromJSONTyped = SyncObjectRequestFromJSONTyped;
|
42
|
+
function SyncObjectRequestToJSON(value) {
|
43
|
+
if (value === undefined) {
|
44
|
+
return undefined;
|
45
|
+
}
|
46
|
+
if (value === null) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
return {
|
50
|
+
'sync_object_model': (0, SyncObjectModelEnum_1.SyncObjectModelEnumToJSON)(value.syncObjectModel),
|
51
|
+
'sync_object_id': value.syncObjectId,
|
52
|
+
};
|
53
|
+
}
|
54
|
+
exports.SyncObjectRequestToJSON = SyncObjectRequestToJSON;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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 { LogEvent } from './LogEvent';
|
13
|
+
/**
|
14
|
+
* Result of a single object sync
|
15
|
+
* @export
|
16
|
+
* @interface SyncObjectResult
|
17
|
+
*/
|
18
|
+
export interface SyncObjectResult {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {Array<LogEvent>}
|
22
|
+
* @memberof SyncObjectResult
|
23
|
+
*/
|
24
|
+
readonly messages: Array<LogEvent>;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Check if a given object implements the SyncObjectResult interface.
|
28
|
+
*/
|
29
|
+
export declare function instanceOfSyncObjectResult(value: object): boolean;
|
30
|
+
export declare function SyncObjectResultFromJSON(json: any): SyncObjectResult;
|
31
|
+
export declare function SyncObjectResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectResult;
|
32
|
+
export declare function SyncObjectResultToJSON(value?: SyncObjectResult | null): any;
|
@@ -0,0 +1,49 @@
|
|
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.6.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.SyncObjectResultToJSON = exports.SyncObjectResultFromJSONTyped = exports.SyncObjectResultFromJSON = exports.instanceOfSyncObjectResult = void 0;
|
17
|
+
const LogEvent_1 = require("./LogEvent");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the SyncObjectResult interface.
|
20
|
+
*/
|
21
|
+
function instanceOfSyncObjectResult(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "messages" in value;
|
24
|
+
return isInstance;
|
25
|
+
}
|
26
|
+
exports.instanceOfSyncObjectResult = instanceOfSyncObjectResult;
|
27
|
+
function SyncObjectResultFromJSON(json) {
|
28
|
+
return SyncObjectResultFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
exports.SyncObjectResultFromJSON = SyncObjectResultFromJSON;
|
31
|
+
function SyncObjectResultFromJSONTyped(json, ignoreDiscriminator) {
|
32
|
+
if ((json === undefined) || (json === null)) {
|
33
|
+
return json;
|
34
|
+
}
|
35
|
+
return {
|
36
|
+
'messages': (json['messages'].map(LogEvent_1.LogEventFromJSON)),
|
37
|
+
};
|
38
|
+
}
|
39
|
+
exports.SyncObjectResultFromJSONTyped = SyncObjectResultFromJSONTyped;
|
40
|
+
function SyncObjectResultToJSON(value) {
|
41
|
+
if (value === undefined) {
|
42
|
+
return undefined;
|
43
|
+
}
|
44
|
+
if (value === null) {
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
return {};
|
48
|
+
}
|
49
|
+
exports.SyncObjectResultToJSON = SyncObjectResultToJSON;
|