@goauthentik/api 2024.6.3-1722940666 → 2024.6.3-1723050887
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +13 -0
- package/dist/apis/PropertymappingsApi.d.ts +171 -1
- package/dist/apis/PropertymappingsApi.js +542 -0
- package/dist/apis/RbacApi.d.ts +8 -0
- package/dist/apis/RbacApi.js +8 -0
- package/dist/apis/SourcesApi.d.ts +162 -1
- package/dist/apis/SourcesApi.js +493 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +171 -1
- package/dist/esm/apis/PropertymappingsApi.js +543 -1
- package/dist/esm/apis/RbacApi.d.ts +8 -0
- package/dist/esm/apis/RbacApi.js +8 -0
- package/dist/esm/apis/SourcesApi.d.ts +162 -1
- package/dist/esm/apis/SourcesApi.js +493 -1
- package/dist/esm/models/Device.d.ts +18 -0
- package/dist/esm/models/Device.js +6 -0
- package/dist/esm/models/GroupMatchingModeEnum.d.ts +25 -0
- package/dist/esm/models/GroupMatchingModeEnum.js +32 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupOAuthSourceConnection.js +50 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupSAMLSourceConnection.js +50 -0
- package/dist/esm/models/ModelEnum.d.ts +4 -0
- package/dist/esm/models/ModelEnum.js +4 -0
- package/dist/esm/models/OAuthSource.d.ts +7 -0
- package/dist/esm/models/OAuthSource.js +3 -0
- package/dist/esm/models/OAuthSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/OAuthSourcePropertyMapping.js +59 -0
- package/dist/esm/models/OAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/OAuthSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/OAuthSourceRequest.d.ts +7 -0
- package/dist/esm/models/OAuthSourceRequest.js +3 -0
- package/dist/esm/models/PaginatedGroupOAuthSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupOAuthSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedGroupSAMLSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupSAMLSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedOAuthSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedOAuthSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedSAMLSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedSAMLSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedOAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedOAuthSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.js +3 -0
- package/dist/esm/models/PatchedSAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedSAMLSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js +3 -0
- package/dist/esm/models/SAMLSource.d.ts +7 -0
- package/dist/esm/models/SAMLSource.js +3 -0
- package/dist/esm/models/SAMLSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/SAMLSourcePropertyMapping.js +59 -0
- package/dist/esm/models/SAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/SAMLSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts +7 -0
- package/dist/esm/models/SAMLSourceRequest.js +3 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/models/Device.d.ts +18 -0
- package/dist/models/Device.js +6 -0
- package/dist/models/GroupMatchingModeEnum.d.ts +25 -0
- package/dist/models/GroupMatchingModeEnum.js +38 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +56 -0
- package/dist/models/GroupOAuthSourceConnection.js +57 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +56 -0
- package/dist/models/GroupSAMLSourceConnection.js +57 -0
- package/dist/models/ModelEnum.d.ts +4 -0
- package/dist/models/ModelEnum.js +4 -0
- package/dist/models/OAuthSource.d.ts +7 -0
- package/dist/models/OAuthSource.js +3 -0
- package/dist/models/OAuthSourcePropertyMapping.d.ts +73 -0
- package/dist/models/OAuthSourcePropertyMapping.js +66 -0
- package/dist/models/OAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/OAuthSourcePropertyMappingRequest.js +56 -0
- package/dist/models/OAuthSourceRequest.d.ts +7 -0
- package/dist/models/OAuthSourceRequest.js +3 -0
- package/dist/models/PaginatedGroupOAuthSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupOAuthSourceConnectionList.js +55 -0
- package/dist/models/PaginatedGroupSAMLSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupSAMLSourceConnectionList.js +55 -0
- package/dist/models/PaginatedOAuthSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedOAuthSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedSAMLSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedSAMLSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedOAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedOAuthSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedOAuthSourceRequest.d.ts +7 -0
- package/dist/models/PatchedOAuthSourceRequest.js +3 -0
- package/dist/models/PatchedSAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedSAMLSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedSAMLSourceRequest.d.ts +7 -0
- package/dist/models/PatchedSAMLSourceRequest.js +3 -0
- package/dist/models/SAMLSource.d.ts +7 -0
- package/dist/models/SAMLSource.js +3 -0
- package/dist/models/SAMLSourcePropertyMapping.d.ts +73 -0
- package/dist/models/SAMLSourcePropertyMapping.js +66 -0
- package/dist/models/SAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/SAMLSourcePropertyMappingRequest.js +56 -0
- package/dist/models/SAMLSourceRequest.d.ts +7 -0
- package/dist/models/SAMLSourceRequest.js +3 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +700 -0
- package/src/apis/RbacApi.ts +8 -0
- package/src/apis/SourcesApi.ts +613 -0
- package/src/models/Device.ts +24 -0
- package/src/models/GroupMatchingModeEnum.ts +40 -0
- package/src/models/GroupOAuthSourceConnection.ts +104 -0
- package/src/models/GroupSAMLSourceConnection.ts +104 -0
- package/src/models/ModelEnum.ts +4 -0
- package/src/models/OAuthSource.ts +14 -0
- package/src/models/OAuthSourcePropertyMapping.ts +123 -0
- package/src/models/OAuthSourcePropertyMappingRequest.ts +83 -0
- package/src/models/OAuthSourceRequest.ts +14 -0
- package/src/models/PaginatedGroupOAuthSourceConnectionList.ts +88 -0
- package/src/models/PaginatedGroupSAMLSourceConnectionList.ts +88 -0
- package/src/models/PaginatedOAuthSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedSAMLSourcePropertyMappingList.ts +88 -0
- package/src/models/PatchedOAuthSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedOAuthSourceRequest.ts +14 -0
- package/src/models/PatchedSAMLSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedSAMLSourceRequest.ts +14 -0
- package/src/models/SAMLSource.ts +14 -0
- package/src/models/SAMLSourcePropertyMapping.ts +123 -0
- package/src/models/SAMLSourcePropertyMappingRequest.ts +83 -0
- package/src/models/SAMLSourceRequest.ts +14 -0
- package/src/models/index.ts +13 -0
@@ -0,0 +1,39 @@
|
|
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 { GroupSAMLSourceConnection } from './GroupSAMLSourceConnection';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedGroupSAMLSourceConnectionList
|
18
|
+
*/
|
19
|
+
export interface PaginatedGroupSAMLSourceConnectionList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedGroupSAMLSourceConnectionList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<GroupSAMLSourceConnection>}
|
29
|
+
* @memberof PaginatedGroupSAMLSourceConnectionList
|
30
|
+
*/
|
31
|
+
results: Array<GroupSAMLSourceConnection>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedGroupSAMLSourceConnectionList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedGroupSAMLSourceConnectionList(value: object): boolean;
|
37
|
+
export declare function PaginatedGroupSAMLSourceConnectionListFromJSON(json: any): PaginatedGroupSAMLSourceConnectionList;
|
38
|
+
export declare function PaginatedGroupSAMLSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupSAMLSourceConnectionList;
|
39
|
+
export declare function PaginatedGroupSAMLSourceConnectionListToJSON(value?: PaginatedGroupSAMLSourceConnectionList | null): any;
|
@@ -0,0 +1,48 @@
|
|
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 { GroupSAMLSourceConnectionFromJSON, GroupSAMLSourceConnectionToJSON, } from './GroupSAMLSourceConnection';
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedGroupSAMLSourceConnectionList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedGroupSAMLSourceConnectionList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedGroupSAMLSourceConnectionListFromJSON(json) {
|
26
|
+
return PaginatedGroupSAMLSourceConnectionListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedGroupSAMLSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(GroupSAMLSourceConnectionFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedGroupSAMLSourceConnectionListToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
46
|
+
'results': (value.results.map(GroupSAMLSourceConnectionToJSON)),
|
47
|
+
};
|
48
|
+
}
|
@@ -0,0 +1,39 @@
|
|
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 { OAuthSourcePropertyMapping } from './OAuthSourcePropertyMapping';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedOAuthSourcePropertyMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedOAuthSourcePropertyMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedOAuthSourcePropertyMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<OAuthSourcePropertyMapping>}
|
29
|
+
* @memberof PaginatedOAuthSourcePropertyMappingList
|
30
|
+
*/
|
31
|
+
results: Array<OAuthSourcePropertyMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedOAuthSourcePropertyMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedOAuthSourcePropertyMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedOAuthSourcePropertyMappingListFromJSON(json: any): PaginatedOAuthSourcePropertyMappingList;
|
38
|
+
export declare function PaginatedOAuthSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedOAuthSourcePropertyMappingList;
|
39
|
+
export declare function PaginatedOAuthSourcePropertyMappingListToJSON(value?: PaginatedOAuthSourcePropertyMappingList | null): any;
|
@@ -0,0 +1,48 @@
|
|
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 { OAuthSourcePropertyMappingFromJSON, OAuthSourcePropertyMappingToJSON, } from './OAuthSourcePropertyMapping';
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedOAuthSourcePropertyMappingList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedOAuthSourcePropertyMappingList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedOAuthSourcePropertyMappingListFromJSON(json) {
|
26
|
+
return PaginatedOAuthSourcePropertyMappingListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedOAuthSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(OAuthSourcePropertyMappingFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedOAuthSourcePropertyMappingListToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
46
|
+
'results': (value.results.map(OAuthSourcePropertyMappingToJSON)),
|
47
|
+
};
|
48
|
+
}
|
@@ -0,0 +1,39 @@
|
|
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 { Pagination } from './Pagination';
|
13
|
+
import type { SAMLSourcePropertyMapping } from './SAMLSourcePropertyMapping';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedSAMLSourcePropertyMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedSAMLSourcePropertyMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedSAMLSourcePropertyMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<SAMLSourcePropertyMapping>}
|
29
|
+
* @memberof PaginatedSAMLSourcePropertyMappingList
|
30
|
+
*/
|
31
|
+
results: Array<SAMLSourcePropertyMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedSAMLSourcePropertyMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedSAMLSourcePropertyMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedSAMLSourcePropertyMappingListFromJSON(json: any): PaginatedSAMLSourcePropertyMappingList;
|
38
|
+
export declare function PaginatedSAMLSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSAMLSourcePropertyMappingList;
|
39
|
+
export declare function PaginatedSAMLSourcePropertyMappingListToJSON(value?: PaginatedSAMLSourcePropertyMappingList | null): any;
|
@@ -0,0 +1,48 @@
|
|
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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
15
|
+
import { SAMLSourcePropertyMappingFromJSON, SAMLSourcePropertyMappingToJSON, } from './SAMLSourcePropertyMapping';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedSAMLSourcePropertyMappingList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedSAMLSourcePropertyMappingList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedSAMLSourcePropertyMappingListFromJSON(json) {
|
26
|
+
return PaginatedSAMLSourcePropertyMappingListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedSAMLSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(SAMLSourcePropertyMappingFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedSAMLSourcePropertyMappingListToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
46
|
+
'results': (value.results.map(SAMLSourcePropertyMappingToJSON)),
|
47
|
+
};
|
48
|
+
}
|
@@ -0,0 +1,43 @@
|
|
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
|
+
* OAuthSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedOAuthSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedOAuthSourcePropertyMappingRequest {
|
18
|
+
/**
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedOAuthSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedOAuthSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedOAuthSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedOAuthSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedOAuthSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function PatchedOAuthSourcePropertyMappingRequestFromJSON(json: any): PatchedOAuthSourcePropertyMappingRequest;
|
42
|
+
export declare function PatchedOAuthSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOAuthSourcePropertyMappingRequest;
|
43
|
+
export declare function PatchedOAuthSourcePropertyMappingRequestToJSON(value?: PatchedOAuthSourcePropertyMappingRequest | 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 { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedOAuthSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedOAuthSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedOAuthSourcePropertyMappingRequestFromJSON(json) {
|
23
|
+
return PatchedOAuthSourcePropertyMappingRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedOAuthSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedOAuthSourcePropertyMappingRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'managed': value.managed,
|
44
|
+
'name': value.name,
|
45
|
+
'expression': value.expression,
|
46
|
+
};
|
47
|
+
}
|
@@ -9,6 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
12
13
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
13
14
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
14
15
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
@@ -78,6 +79,12 @@ export interface PatchedOAuthSourceRequest {
|
|
78
79
|
* @memberof PatchedOAuthSourceRequest
|
79
80
|
*/
|
80
81
|
userPathTemplate?: string;
|
82
|
+
/**
|
83
|
+
*
|
84
|
+
* @type {GroupMatchingModeEnum}
|
85
|
+
* @memberof PatchedOAuthSourceRequest
|
86
|
+
*/
|
87
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
81
88
|
/**
|
82
89
|
*
|
83
90
|
* @type {ProviderTypeEnum}
|
@@ -12,6 +12,7 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
|
+
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
15
16
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
16
17
|
import { ProviderTypeEnumFromJSON, ProviderTypeEnumToJSON, } from './ProviderTypeEnum';
|
17
18
|
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
@@ -40,6 +41,7 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator
|
|
40
41
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
41
42
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
42
43
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
44
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
43
45
|
'providerType': !exists(json, 'provider_type') ? undefined : ProviderTypeEnumFromJSON(json['provider_type']),
|
44
46
|
'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
|
45
47
|
'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
|
@@ -71,6 +73,7 @@ export function PatchedOAuthSourceRequestToJSON(value) {
|
|
71
73
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
72
74
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
73
75
|
'user_path_template': value.userPathTemplate,
|
76
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
74
77
|
'provider_type': ProviderTypeEnumToJSON(value.providerType),
|
75
78
|
'request_token_url': value.requestTokenUrl,
|
76
79
|
'authorization_url': value.authorizationUrl,
|
@@ -0,0 +1,43 @@
|
|
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
|
+
* SAMLSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedSAMLSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedSAMLSourcePropertyMappingRequest {
|
18
|
+
/**
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedSAMLSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedSAMLSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedSAMLSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedSAMLSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedSAMLSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function PatchedSAMLSourcePropertyMappingRequestFromJSON(json: any): PatchedSAMLSourcePropertyMappingRequest;
|
42
|
+
export declare function PatchedSAMLSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSAMLSourcePropertyMappingRequest;
|
43
|
+
export declare function PatchedSAMLSourcePropertyMappingRequestToJSON(value?: PatchedSAMLSourcePropertyMappingRequest | 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 { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedSAMLSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedSAMLSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedSAMLSourcePropertyMappingRequestFromJSON(json) {
|
23
|
+
return PatchedSAMLSourcePropertyMappingRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedSAMLSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedSAMLSourcePropertyMappingRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'managed': value.managed,
|
44
|
+
'name': value.name,
|
45
|
+
'expression': value.expression,
|
46
|
+
};
|
47
|
+
}
|
@@ -11,6 +11,7 @@
|
|
11
11
|
*/
|
12
12
|
import type { BindingTypeEnum } from './BindingTypeEnum';
|
13
13
|
import type { DigestAlgorithmEnum } from './DigestAlgorithmEnum';
|
14
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
14
15
|
import type { NameIdPolicyEnum } from './NameIdPolicyEnum';
|
15
16
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
16
17
|
import type { SignatureAlgorithmEnum } from './SignatureAlgorithmEnum';
|
@@ -81,6 +82,12 @@ export interface PatchedSAMLSourceRequest {
|
|
81
82
|
* @memberof PatchedSAMLSourceRequest
|
82
83
|
*/
|
83
84
|
userPathTemplate?: string;
|
85
|
+
/**
|
86
|
+
*
|
87
|
+
* @type {GroupMatchingModeEnum}
|
88
|
+
* @memberof PatchedSAMLSourceRequest
|
89
|
+
*/
|
90
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
84
91
|
/**
|
85
92
|
* Flow used before authentication.
|
86
93
|
* @type {string}
|
@@ -14,6 +14,7 @@
|
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
import { BindingTypeEnumFromJSON, BindingTypeEnumToJSON, } from './BindingTypeEnum';
|
16
16
|
import { DigestAlgorithmEnumFromJSON, DigestAlgorithmEnumToJSON, } from './DigestAlgorithmEnum';
|
17
|
+
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
17
18
|
import { NameIdPolicyEnumFromJSON, NameIdPolicyEnumToJSON, } from './NameIdPolicyEnum';
|
18
19
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
19
20
|
import { SignatureAlgorithmEnumFromJSON, SignatureAlgorithmEnumToJSON, } from './SignatureAlgorithmEnum';
|
@@ -43,6 +44,7 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
43
44
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
44
45
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
45
46
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
47
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
46
48
|
'preAuthenticationFlow': !exists(json, 'pre_authentication_flow') ? undefined : json['pre_authentication_flow'],
|
47
49
|
'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
|
48
50
|
'ssoUrl': !exists(json, 'sso_url') ? undefined : json['sso_url'],
|
@@ -75,6 +77,7 @@ export function PatchedSAMLSourceRequestToJSON(value) {
|
|
75
77
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
76
78
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
77
79
|
'user_path_template': value.userPathTemplate,
|
80
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
78
81
|
'pre_authentication_flow': value.preAuthenticationFlow,
|
79
82
|
'issuer': value.issuer,
|
80
83
|
'sso_url': value.ssoUrl,
|
@@ -11,6 +11,7 @@
|
|
11
11
|
*/
|
12
12
|
import type { BindingTypeEnum } from './BindingTypeEnum';
|
13
13
|
import type { DigestAlgorithmEnum } from './DigestAlgorithmEnum';
|
14
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
14
15
|
import type { NameIdPolicyEnum } from './NameIdPolicyEnum';
|
15
16
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
16
17
|
import type { SignatureAlgorithmEnum } from './SignatureAlgorithmEnum';
|
@@ -123,6 +124,12 @@ export interface SAMLSource {
|
|
123
124
|
* @memberof SAMLSource
|
124
125
|
*/
|
125
126
|
readonly icon: string;
|
127
|
+
/**
|
128
|
+
*
|
129
|
+
* @type {GroupMatchingModeEnum}
|
130
|
+
* @memberof SAMLSource
|
131
|
+
*/
|
132
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
126
133
|
/**
|
127
134
|
* Flow used before authentication.
|
128
135
|
* @type {string}
|
@@ -14,6 +14,7 @@
|
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
import { BindingTypeEnumFromJSON, BindingTypeEnumToJSON, } from './BindingTypeEnum';
|
16
16
|
import { DigestAlgorithmEnumFromJSON, DigestAlgorithmEnumToJSON, } from './DigestAlgorithmEnum';
|
17
|
+
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
17
18
|
import { NameIdPolicyEnumFromJSON, NameIdPolicyEnumToJSON, } from './NameIdPolicyEnum';
|
18
19
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
19
20
|
import { SignatureAlgorithmEnumFromJSON, SignatureAlgorithmEnumToJSON, } from './SignatureAlgorithmEnum';
|
@@ -61,6 +62,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
62
|
'managed': json['managed'],
|
62
63
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
63
64
|
'icon': json['icon'],
|
65
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
64
66
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
65
67
|
'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
|
66
68
|
'ssoUrl': json['sso_url'],
|
@@ -93,6 +95,7 @@ export function SAMLSourceToJSON(value) {
|
|
93
95
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
94
96
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
95
97
|
'user_path_template': value.userPathTemplate,
|
98
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
96
99
|
'pre_authentication_flow': value.preAuthenticationFlow,
|
97
100
|
'issuer': value.issuer,
|
98
101
|
'sso_url': value.ssoUrl,
|
@@ -0,0 +1,73 @@
|
|
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
|
+
* SAMLSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface SAMLSourcePropertyMapping
|
16
|
+
*/
|
17
|
+
export interface SAMLSourcePropertyMapping {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof SAMLSourcePropertyMapping
|
22
|
+
*/
|
23
|
+
readonly pk: string;
|
24
|
+
/**
|
25
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
26
|
+
* @type {string}
|
27
|
+
* @memberof SAMLSourcePropertyMapping
|
28
|
+
*/
|
29
|
+
managed?: string | null;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof SAMLSourcePropertyMapping
|
34
|
+
*/
|
35
|
+
name: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof SAMLSourcePropertyMapping
|
40
|
+
*/
|
41
|
+
expression: string;
|
42
|
+
/**
|
43
|
+
* Get object's component so that we know how to edit the object
|
44
|
+
* @type {string}
|
45
|
+
* @memberof SAMLSourcePropertyMapping
|
46
|
+
*/
|
47
|
+
readonly component: string;
|
48
|
+
/**
|
49
|
+
* Return object's verbose_name
|
50
|
+
* @type {string}
|
51
|
+
* @memberof SAMLSourcePropertyMapping
|
52
|
+
*/
|
53
|
+
readonly verboseName: string;
|
54
|
+
/**
|
55
|
+
* Return object's plural verbose_name
|
56
|
+
* @type {string}
|
57
|
+
* @memberof SAMLSourcePropertyMapping
|
58
|
+
*/
|
59
|
+
readonly verboseNamePlural: string;
|
60
|
+
/**
|
61
|
+
* Return internal model name
|
62
|
+
* @type {string}
|
63
|
+
* @memberof SAMLSourcePropertyMapping
|
64
|
+
*/
|
65
|
+
readonly metaModelName: string;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* Check if a given object implements the SAMLSourcePropertyMapping interface.
|
69
|
+
*/
|
70
|
+
export declare function instanceOfSAMLSourcePropertyMapping(value: object): boolean;
|
71
|
+
export declare function SAMLSourcePropertyMappingFromJSON(json: any): SAMLSourcePropertyMapping;
|
72
|
+
export declare function SAMLSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SAMLSourcePropertyMapping;
|
73
|
+
export declare function SAMLSourcePropertyMappingToJSON(value?: SAMLSourcePropertyMapping | null): any;
|