@goauthentik/api 2024.6.3-1723032607 → 2024.6.3-1723053526
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/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 +13 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js +5 -0
- package/dist/esm/models/SAMLSource.d.ts +13 -0
- package/dist/esm/models/SAMLSource.js +5 -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 +13 -0
- package/dist/esm/models/SAMLSourceRequest.js +5 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -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 +13 -0
- package/dist/models/PatchedSAMLSourceRequest.js +5 -0
- package/dist/models/SAMLSource.d.ts +13 -0
- package/dist/models/SAMLSource.js +5 -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 +13 -0
- package/dist/models/SAMLSourceRequest.js +5 -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/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 +22 -0
- package/src/models/SAMLSource.ts +22 -0
- package/src/models/SAMLSourcePropertyMapping.ts +123 -0
- package/src/models/SAMLSourcePropertyMappingRequest.ts +83 -0
- package/src/models/SAMLSourceRequest.ts +22 -0
- package/src/models/index.ts +13 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.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 { SourceFromJSON, } from './Source';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the GroupOAuthSourceConnection interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfGroupOAuthSourceConnection(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "pk" in value;
|
21
|
+
isInstance = isInstance && "group" in value;
|
22
|
+
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "identifier" in value;
|
24
|
+
isInstance = isInstance && "created" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
export function GroupOAuthSourceConnectionFromJSON(json) {
|
28
|
+
return GroupOAuthSourceConnectionFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
export function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'pk': json['pk'],
|
36
|
+
'group': json['group'],
|
37
|
+
'source': SourceFromJSON(json['source']),
|
38
|
+
'identifier': json['identifier'],
|
39
|
+
'created': (new Date(json['created'])),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export function GroupOAuthSourceConnectionToJSON(value) {
|
43
|
+
if (value === undefined) {
|
44
|
+
return undefined;
|
45
|
+
}
|
46
|
+
if (value === null) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
return {};
|
50
|
+
}
|
@@ -0,0 +1,56 @@
|
|
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 { Source } from './Source';
|
13
|
+
/**
|
14
|
+
* OAuth Group-Source connection Serializer
|
15
|
+
* @export
|
16
|
+
* @interface GroupSAMLSourceConnection
|
17
|
+
*/
|
18
|
+
export interface GroupSAMLSourceConnection {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {number}
|
22
|
+
* @memberof GroupSAMLSourceConnection
|
23
|
+
*/
|
24
|
+
readonly pk: number;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof GroupSAMLSourceConnection
|
29
|
+
*/
|
30
|
+
readonly group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {Source}
|
34
|
+
* @memberof GroupSAMLSourceConnection
|
35
|
+
*/
|
36
|
+
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof GroupSAMLSourceConnection
|
41
|
+
*/
|
42
|
+
readonly identifier: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {Date}
|
46
|
+
* @memberof GroupSAMLSourceConnection
|
47
|
+
*/
|
48
|
+
readonly created: Date;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the GroupSAMLSourceConnection interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfGroupSAMLSourceConnection(value: object): boolean;
|
54
|
+
export declare function GroupSAMLSourceConnectionFromJSON(json: any): GroupSAMLSourceConnection;
|
55
|
+
export declare function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnection;
|
56
|
+
export declare function GroupSAMLSourceConnectionToJSON(value?: GroupSAMLSourceConnection | null): any;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.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 { SourceFromJSON, } from './Source';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the GroupSAMLSourceConnection interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfGroupSAMLSourceConnection(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "pk" in value;
|
21
|
+
isInstance = isInstance && "group" in value;
|
22
|
+
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "identifier" in value;
|
24
|
+
isInstance = isInstance && "created" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
export function GroupSAMLSourceConnectionFromJSON(json) {
|
28
|
+
return GroupSAMLSourceConnectionFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
export function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'pk': json['pk'],
|
36
|
+
'group': json['group'],
|
37
|
+
'source': SourceFromJSON(json['source']),
|
38
|
+
'identifier': json['identifier'],
|
39
|
+
'created': (new Date(json['created'])),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export function GroupSAMLSourceConnectionToJSON(value) {
|
43
|
+
if (value === undefined) {
|
44
|
+
return undefined;
|
45
|
+
}
|
46
|
+
if (value === null) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
return {};
|
50
|
+
}
|
@@ -43,11 +43,15 @@ export declare const ModelEnum: {
|
|
43
43
|
readonly SourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
|
44
44
|
readonly SourcesLdapLdapsourcepropertymapping: "authentik_sources_ldap.ldapsourcepropertymapping";
|
45
45
|
readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
|
46
|
+
readonly SourcesOauthOauthsourcepropertymapping: "authentik_sources_oauth.oauthsourcepropertymapping";
|
46
47
|
readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
|
48
|
+
readonly SourcesOauthGroupoauthsourceconnection: "authentik_sources_oauth.groupoauthsourceconnection";
|
47
49
|
readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
|
48
50
|
readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
|
49
51
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
52
|
+
readonly SourcesSamlSamlsourcepropertymapping: "authentik_sources_saml.samlsourcepropertymapping";
|
50
53
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
54
|
+
readonly SourcesSamlGroupsamlsourceconnection: "authentik_sources_saml.groupsamlsourceconnection";
|
51
55
|
readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
|
52
56
|
readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
53
57
|
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
@@ -45,11 +45,15 @@ export const ModelEnum = {
|
|
45
45
|
SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
|
46
46
|
SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
|
47
47
|
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
48
|
+
SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
|
48
49
|
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
50
|
+
SourcesOauthGroupoauthsourceconnection: 'authentik_sources_oauth.groupoauthsourceconnection',
|
49
51
|
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
50
52
|
SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
|
51
53
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
54
|
+
SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
|
52
55
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
56
|
+
SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
|
53
57
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
54
58
|
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
55
59
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
@@ -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 { SourceType } from './SourceType';
|
@@ -121,6 +122,12 @@ export interface OAuthSource {
|
|
121
122
|
* @memberof OAuthSource
|
122
123
|
*/
|
123
124
|
readonly icon: string | null;
|
125
|
+
/**
|
126
|
+
*
|
127
|
+
* @type {GroupMatchingModeEnum}
|
128
|
+
* @memberof OAuthSource
|
129
|
+
*/
|
130
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
124
131
|
/**
|
125
132
|
*
|
126
133
|
* @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 { SourceTypeFromJSON, } from './SourceType';
|
@@ -61,6 +62,7 @@ export function OAuthSourceFromJSONTyped(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
|
'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
|
65
67
|
'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
|
66
68
|
'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
|
@@ -93,6 +95,7 @@ export function OAuthSourceToJSON(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
|
'provider_type': ProviderTypeEnumToJSON(value.providerType),
|
97
100
|
'request_token_url': value.requestTokenUrl,
|
98
101
|
'authorization_url': value.authorizationUrl,
|
@@ -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
|
+
* OAuthSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface OAuthSourcePropertyMapping
|
16
|
+
*/
|
17
|
+
export interface OAuthSourcePropertyMapping {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof OAuthSourcePropertyMapping
|
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 OAuthSourcePropertyMapping
|
28
|
+
*/
|
29
|
+
managed?: string | null;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof OAuthSourcePropertyMapping
|
34
|
+
*/
|
35
|
+
name: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof OAuthSourcePropertyMapping
|
40
|
+
*/
|
41
|
+
expression: string;
|
42
|
+
/**
|
43
|
+
* Get object's component so that we know how to edit the object
|
44
|
+
* @type {string}
|
45
|
+
* @memberof OAuthSourcePropertyMapping
|
46
|
+
*/
|
47
|
+
readonly component: string;
|
48
|
+
/**
|
49
|
+
* Return object's verbose_name
|
50
|
+
* @type {string}
|
51
|
+
* @memberof OAuthSourcePropertyMapping
|
52
|
+
*/
|
53
|
+
readonly verboseName: string;
|
54
|
+
/**
|
55
|
+
* Return object's plural verbose_name
|
56
|
+
* @type {string}
|
57
|
+
* @memberof OAuthSourcePropertyMapping
|
58
|
+
*/
|
59
|
+
readonly verboseNamePlural: string;
|
60
|
+
/**
|
61
|
+
* Return internal model name
|
62
|
+
* @type {string}
|
63
|
+
* @memberof OAuthSourcePropertyMapping
|
64
|
+
*/
|
65
|
+
readonly metaModelName: string;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* Check if a given object implements the OAuthSourcePropertyMapping interface.
|
69
|
+
*/
|
70
|
+
export declare function instanceOfOAuthSourcePropertyMapping(value: object): boolean;
|
71
|
+
export declare function OAuthSourcePropertyMappingFromJSON(json: any): OAuthSourcePropertyMapping;
|
72
|
+
export declare function OAuthSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthSourcePropertyMapping;
|
73
|
+
export declare function OAuthSourcePropertyMappingToJSON(value?: OAuthSourcePropertyMapping | null): any;
|
@@ -0,0 +1,59 @@
|
|
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 OAuthSourcePropertyMapping interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfOAuthSourcePropertyMapping(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "pk" in value;
|
21
|
+
isInstance = isInstance && "name" in value;
|
22
|
+
isInstance = isInstance && "expression" in value;
|
23
|
+
isInstance = isInstance && "component" in value;
|
24
|
+
isInstance = isInstance && "verboseName" in value;
|
25
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
26
|
+
isInstance = isInstance && "metaModelName" in value;
|
27
|
+
return isInstance;
|
28
|
+
}
|
29
|
+
export function OAuthSourcePropertyMappingFromJSON(json) {
|
30
|
+
return OAuthSourcePropertyMappingFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
export function OAuthSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'pk': json['pk'],
|
38
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
39
|
+
'name': json['name'],
|
40
|
+
'expression': json['expression'],
|
41
|
+
'component': json['component'],
|
42
|
+
'verboseName': json['verbose_name'],
|
43
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
44
|
+
'metaModelName': json['meta_model_name'],
|
45
|
+
};
|
46
|
+
}
|
47
|
+
export function OAuthSourcePropertyMappingToJSON(value) {
|
48
|
+
if (value === undefined) {
|
49
|
+
return undefined;
|
50
|
+
}
|
51
|
+
if (value === null) {
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
return {
|
55
|
+
'managed': value.managed,
|
56
|
+
'name': value.name,
|
57
|
+
'expression': value.expression,
|
58
|
+
};
|
59
|
+
}
|
@@ -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 OAuthSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface OAuthSourcePropertyMappingRequest {
|
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 OAuthSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof OAuthSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof OAuthSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the OAuthSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfOAuthSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function OAuthSourcePropertyMappingRequestFromJSON(json: any): OAuthSourcePropertyMappingRequest;
|
42
|
+
export declare function OAuthSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthSourcePropertyMappingRequest;
|
43
|
+
export declare function OAuthSourcePropertyMappingRequestToJSON(value?: OAuthSourcePropertyMappingRequest | null): any;
|
@@ -0,0 +1,49 @@
|
|
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 OAuthSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfOAuthSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "name" in value;
|
21
|
+
isInstance = isInstance && "expression" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function OAuthSourcePropertyMappingRequestFromJSON(json) {
|
25
|
+
return OAuthSourcePropertyMappingRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function OAuthSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
33
|
+
'name': json['name'],
|
34
|
+
'expression': json['expression'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function OAuthSourcePropertyMappingRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'managed': value.managed,
|
46
|
+
'name': value.name,
|
47
|
+
'expression': value.expression,
|
48
|
+
};
|
49
|
+
}
|
@@ -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 OAuthSourceRequest {
|
|
78
79
|
* @memberof OAuthSourceRequest
|
79
80
|
*/
|
80
81
|
userPathTemplate?: string;
|
82
|
+
/**
|
83
|
+
*
|
84
|
+
* @type {GroupMatchingModeEnum}
|
85
|
+
* @memberof OAuthSourceRequest
|
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';
|
@@ -45,6 +46,7 @@ export function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
46
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
46
47
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
47
48
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
49
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
48
50
|
'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
|
49
51
|
'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
|
50
52
|
'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
|
@@ -76,6 +78,7 @@ export function OAuthSourceRequestToJSON(value) {
|
|
76
78
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
77
79
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
78
80
|
'user_path_template': value.userPathTemplate,
|
81
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
79
82
|
'provider_type': ProviderTypeEnumToJSON(value.providerType),
|
80
83
|
'request_token_url': value.requestTokenUrl,
|
81
84
|
'authorization_url': value.authorizationUrl,
|
@@ -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 { GroupOAuthSourceConnection } from './GroupOAuthSourceConnection';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedGroupOAuthSourceConnectionList
|
18
|
+
*/
|
19
|
+
export interface PaginatedGroupOAuthSourceConnectionList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedGroupOAuthSourceConnectionList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<GroupOAuthSourceConnection>}
|
29
|
+
* @memberof PaginatedGroupOAuthSourceConnectionList
|
30
|
+
*/
|
31
|
+
results: Array<GroupOAuthSourceConnection>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedGroupOAuthSourceConnectionList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedGroupOAuthSourceConnectionList(value: object): boolean;
|
37
|
+
export declare function PaginatedGroupOAuthSourceConnectionListFromJSON(json: any): PaginatedGroupOAuthSourceConnectionList;
|
38
|
+
export declare function PaginatedGroupOAuthSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupOAuthSourceConnectionList;
|
39
|
+
export declare function PaginatedGroupOAuthSourceConnectionListToJSON(value?: PaginatedGroupOAuthSourceConnectionList | 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 { GroupOAuthSourceConnectionFromJSON, GroupOAuthSourceConnectionToJSON, } from './GroupOAuthSourceConnection';
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedGroupOAuthSourceConnectionList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedGroupOAuthSourceConnectionList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedGroupOAuthSourceConnectionListFromJSON(json) {
|
26
|
+
return PaginatedGroupOAuthSourceConnectionListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedGroupOAuthSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(GroupOAuthSourceConnectionFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedGroupOAuthSourceConnectionListToJSON(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(GroupOAuthSourceConnectionToJSON)),
|
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 { 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;
|