@goauthentik/api 2024.8.3-1727731656 → 2024.8.3-1728912934
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +1 -0
- package/README.md +1 -1
- package/dist/apis/ProvidersApi.d.ts +2 -0
- package/dist/apis/ProvidersApi.js +9 -0
- package/dist/apis/SourcesApi.d.ts +1 -1
- package/dist/apis/SourcesApi.js +1 -1
- package/dist/esm/apis/ProvidersApi.d.ts +2 -0
- package/dist/esm/apis/ProvidersApi.js +9 -0
- package/dist/esm/apis/SourcesApi.d.ts +1 -1
- package/dist/esm/apis/SourcesApi.js +1 -1
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/LDAPOutpostConfig.d.ts +6 -0
- package/dist/esm/models/LDAPOutpostConfig.js +2 -0
- package/dist/esm/models/LDAPProvider.d.ts +6 -0
- package/dist/esm/models/LDAPProvider.js +3 -0
- package/dist/esm/models/LDAPProviderRequest.d.ts +6 -0
- package/dist/esm/models/LDAPProviderRequest.js +3 -0
- package/dist/esm/models/NameIdPolicyEnum.d.ts +1 -1
- package/dist/esm/models/NameIdPolicyEnum.js +1 -1
- package/dist/esm/models/OAuth2Provider.d.ts +6 -0
- package/dist/esm/models/OAuth2Provider.js +3 -0
- package/dist/esm/models/OAuth2ProviderRequest.d.ts +6 -0
- package/dist/esm/models/OAuth2ProviderRequest.js +3 -0
- package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedLDAPProviderRequest.js +2 -0
- package/dist/esm/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedOAuth2ProviderRequest.js +2 -0
- package/dist/esm/models/PatchedProxyProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedProxyProviderRequest.js +2 -0
- package/dist/esm/models/PatchedRACProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedRACProviderRequest.js +2 -0
- package/dist/esm/models/PatchedRadiusProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedRadiusProviderRequest.js +2 -0
- package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedSAMLProviderRequest.js +2 -0
- package/dist/esm/models/Provider.d.ts +6 -0
- package/dist/esm/models/Provider.js +3 -0
- package/dist/esm/models/ProviderRequest.d.ts +6 -0
- package/dist/esm/models/ProviderRequest.js +3 -0
- package/dist/esm/models/ProxyProvider.d.ts +6 -0
- package/dist/esm/models/ProxyProvider.js +3 -0
- package/dist/esm/models/ProxyProviderRequest.d.ts +6 -0
- package/dist/esm/models/ProxyProviderRequest.js +3 -0
- package/dist/esm/models/RACProvider.d.ts +6 -0
- package/dist/esm/models/RACProvider.js +3 -0
- package/dist/esm/models/RACProviderRequest.d.ts +6 -0
- package/dist/esm/models/RACProviderRequest.js +3 -0
- package/dist/esm/models/RadiusProvider.d.ts +6 -0
- package/dist/esm/models/RadiusProvider.js +3 -0
- package/dist/esm/models/RadiusProviderRequest.d.ts +6 -0
- package/dist/esm/models/RadiusProviderRequest.js +3 -0
- package/dist/esm/models/SAMLProvider.d.ts +6 -0
- package/dist/esm/models/SAMLProvider.js +3 -0
- package/dist/esm/models/SAMLProviderRequest.d.ts +6 -0
- package/dist/esm/models/SAMLProviderRequest.js +3 -0
- package/dist/esm/models/SessionEndChallenge.d.ts +83 -0
- package/dist/esm/models/SessionEndChallenge.js +63 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/LDAPOutpostConfig.d.ts +6 -0
- package/dist/models/LDAPOutpostConfig.js +2 -0
- package/dist/models/LDAPProvider.d.ts +6 -0
- package/dist/models/LDAPProvider.js +3 -0
- package/dist/models/LDAPProviderRequest.d.ts +6 -0
- package/dist/models/LDAPProviderRequest.js +3 -0
- package/dist/models/NameIdPolicyEnum.d.ts +1 -1
- package/dist/models/NameIdPolicyEnum.js +1 -1
- package/dist/models/OAuth2Provider.d.ts +6 -0
- package/dist/models/OAuth2Provider.js +3 -0
- package/dist/models/OAuth2ProviderRequest.d.ts +6 -0
- package/dist/models/OAuth2ProviderRequest.js +3 -0
- package/dist/models/PatchedLDAPProviderRequest.d.ts +6 -0
- package/dist/models/PatchedLDAPProviderRequest.js +2 -0
- package/dist/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
- package/dist/models/PatchedOAuth2ProviderRequest.js +2 -0
- package/dist/models/PatchedProxyProviderRequest.d.ts +6 -0
- package/dist/models/PatchedProxyProviderRequest.js +2 -0
- package/dist/models/PatchedRACProviderRequest.d.ts +6 -0
- package/dist/models/PatchedRACProviderRequest.js +2 -0
- package/dist/models/PatchedRadiusProviderRequest.d.ts +6 -0
- package/dist/models/PatchedRadiusProviderRequest.js +2 -0
- package/dist/models/PatchedSAMLProviderRequest.d.ts +6 -0
- package/dist/models/PatchedSAMLProviderRequest.js +2 -0
- package/dist/models/Provider.d.ts +6 -0
- package/dist/models/Provider.js +3 -0
- package/dist/models/ProviderRequest.d.ts +6 -0
- package/dist/models/ProviderRequest.js +3 -0
- package/dist/models/ProxyProvider.d.ts +6 -0
- package/dist/models/ProxyProvider.js +3 -0
- package/dist/models/ProxyProviderRequest.d.ts +6 -0
- package/dist/models/ProxyProviderRequest.js +3 -0
- package/dist/models/RACProvider.d.ts +6 -0
- package/dist/models/RACProvider.js +3 -0
- package/dist/models/RACProviderRequest.d.ts +6 -0
- package/dist/models/RACProviderRequest.js +3 -0
- package/dist/models/RadiusProvider.d.ts +6 -0
- package/dist/models/RadiusProvider.js +3 -0
- package/dist/models/RadiusProviderRequest.d.ts +6 -0
- package/dist/models/RadiusProviderRequest.js +3 -0
- package/dist/models/SAMLProvider.d.ts +6 -0
- package/dist/models/SAMLProvider.js +3 -0
- package/dist/models/SAMLProviderRequest.d.ts +6 -0
- package/dist/models/SAMLProviderRequest.js +3 -0
- package/dist/models/SessionEndChallenge.d.ts +83 -0
- package/dist/models/SessionEndChallenge.js +70 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +14 -0
- package/src/apis/SourcesApi.ts +1 -1
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/LDAPOutpostConfig.ts +8 -0
- package/src/models/LDAPProvider.ts +9 -0
- package/src/models/LDAPProviderRequest.ts +9 -0
- package/src/models/NameIdPolicyEnum.ts +1 -1
- package/src/models/OAuth2Provider.ts +9 -0
- package/src/models/OAuth2ProviderRequest.ts +9 -0
- package/src/models/PatchedLDAPProviderRequest.ts +8 -0
- package/src/models/PatchedOAuth2ProviderRequest.ts +8 -0
- package/src/models/PatchedProxyProviderRequest.ts +8 -0
- package/src/models/PatchedRACProviderRequest.ts +8 -0
- package/src/models/PatchedRadiusProviderRequest.ts +8 -0
- package/src/models/PatchedSAMLProviderRequest.ts +8 -0
- package/src/models/Provider.ts +9 -0
- package/src/models/ProviderRequest.ts +9 -0
- package/src/models/ProxyProvider.ts +9 -0
- package/src/models/ProxyProviderRequest.ts +9 -0
- package/src/models/RACProvider.ts +9 -0
- package/src/models/RACProviderRequest.ts +9 -0
- package/src/models/RadiusProvider.ts +9 -0
- package/src/models/RadiusProviderRequest.ts +9 -0
- package/src/models/SAMLProvider.ts +9 -0
- package/src/models/SAMLProviderRequest.ts +9 -0
- package/src/models/SessionEndChallenge.ts +145 -0
- package/src/models/index.ts +1 -0
@@ -20,6 +20,7 @@ export function instanceOfProvider(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "name" in value;
|
22
22
|
isInstance = isInstance && "authorizationFlow" in value;
|
23
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
23
24
|
isInstance = isInstance && "component" in value;
|
24
25
|
isInstance = isInstance && "assignedApplicationSlug" in value;
|
25
26
|
isInstance = isInstance && "assignedApplicationName" in value;
|
@@ -42,6 +43,7 @@ export function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
43
|
'name': json['name'],
|
43
44
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
44
45
|
'authorizationFlow': json['authorization_flow'],
|
46
|
+
'invalidationFlow': json['invalidation_flow'],
|
45
47
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
46
48
|
'component': json['component'],
|
47
49
|
'assignedApplicationSlug': json['assigned_application_slug'],
|
@@ -64,6 +66,7 @@ export function ProviderToJSON(value) {
|
|
64
66
|
'name': value.name,
|
65
67
|
'authentication_flow': value.authenticationFlow,
|
66
68
|
'authorization_flow': value.authorizationFlow,
|
69
|
+
'invalidation_flow': value.invalidationFlow,
|
67
70
|
'property_mappings': value.propertyMappings,
|
68
71
|
};
|
69
72
|
}
|
@@ -33,6 +33,12 @@ export interface ProviderRequest {
|
|
33
33
|
* @memberof ProviderRequest
|
34
34
|
*/
|
35
35
|
authorizationFlow: string;
|
36
|
+
/**
|
37
|
+
* Flow used ending the session from a provider.
|
38
|
+
* @type {string}
|
39
|
+
* @memberof ProviderRequest
|
40
|
+
*/
|
41
|
+
invalidationFlow: string;
|
36
42
|
/**
|
37
43
|
*
|
38
44
|
* @type {Array<string>}
|
@@ -19,6 +19,7 @@ export function instanceOfProviderRequest(value) {
|
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "name" in value;
|
21
21
|
isInstance = isInstance && "authorizationFlow" in value;
|
22
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
22
23
|
return isInstance;
|
23
24
|
}
|
24
25
|
export function ProviderRequestFromJSON(json) {
|
@@ -32,6 +33,7 @@ export function ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
33
|
'name': json['name'],
|
33
34
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
34
35
|
'authorizationFlow': json['authorization_flow'],
|
36
|
+
'invalidationFlow': json['invalidation_flow'],
|
35
37
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
36
38
|
};
|
37
39
|
}
|
@@ -46,6 +48,7 @@ export function ProviderRequestToJSON(value) {
|
|
46
48
|
'name': value.name,
|
47
49
|
'authentication_flow': value.authenticationFlow,
|
48
50
|
'authorization_flow': value.authorizationFlow,
|
51
|
+
'invalidation_flow': value.invalidationFlow,
|
49
52
|
'property_mappings': value.propertyMappings,
|
50
53
|
};
|
51
54
|
}
|
@@ -40,6 +40,12 @@ export interface ProxyProvider {
|
|
40
40
|
* @memberof ProxyProvider
|
41
41
|
*/
|
42
42
|
authorizationFlow: string;
|
43
|
+
/**
|
44
|
+
* Flow used ending the session from a provider.
|
45
|
+
* @type {string}
|
46
|
+
* @memberof ProxyProvider
|
47
|
+
*/
|
48
|
+
invalidationFlow: string;
|
43
49
|
/**
|
44
50
|
*
|
45
51
|
* @type {Array<string>}
|
@@ -21,6 +21,7 @@ export function instanceOfProxyProvider(value) {
|
|
21
21
|
isInstance = isInstance && "pk" in value;
|
22
22
|
isInstance = isInstance && "name" in value;
|
23
23
|
isInstance = isInstance && "authorizationFlow" in value;
|
24
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
24
25
|
isInstance = isInstance && "component" in value;
|
25
26
|
isInstance = isInstance && "assignedApplicationSlug" in value;
|
26
27
|
isInstance = isInstance && "assignedApplicationName" in value;
|
@@ -47,6 +48,7 @@ export function ProxyProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
48
|
'name': json['name'],
|
48
49
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
49
50
|
'authorizationFlow': json['authorization_flow'],
|
51
|
+
'invalidationFlow': json['invalidation_flow'],
|
50
52
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
51
53
|
'component': json['component'],
|
52
54
|
'assignedApplicationSlug': json['assigned_application_slug'],
|
@@ -86,6 +88,7 @@ export function ProxyProviderToJSON(value) {
|
|
86
88
|
'name': value.name,
|
87
89
|
'authentication_flow': value.authenticationFlow,
|
88
90
|
'authorization_flow': value.authorizationFlow,
|
91
|
+
'invalidation_flow': value.invalidationFlow,
|
89
92
|
'property_mappings': value.propertyMappings,
|
90
93
|
'internal_host': value.internalHost,
|
91
94
|
'external_host': value.externalHost,
|
@@ -34,6 +34,12 @@ export interface ProxyProviderRequest {
|
|
34
34
|
* @memberof ProxyProviderRequest
|
35
35
|
*/
|
36
36
|
authorizationFlow: string;
|
37
|
+
/**
|
38
|
+
* Flow used ending the session from a provider.
|
39
|
+
* @type {string}
|
40
|
+
* @memberof ProxyProviderRequest
|
41
|
+
*/
|
42
|
+
invalidationFlow: string;
|
37
43
|
/**
|
38
44
|
*
|
39
45
|
* @type {Array<string>}
|
@@ -20,6 +20,7 @@ export function instanceOfProxyProviderRequest(value) {
|
|
20
20
|
let isInstance = true;
|
21
21
|
isInstance = isInstance && "name" in value;
|
22
22
|
isInstance = isInstance && "authorizationFlow" in value;
|
23
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
23
24
|
isInstance = isInstance && "externalHost" in value;
|
24
25
|
return isInstance;
|
25
26
|
}
|
@@ -34,6 +35,7 @@ export function ProxyProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
35
|
'name': json['name'],
|
35
36
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
36
37
|
'authorizationFlow': json['authorization_flow'],
|
38
|
+
'invalidationFlow': json['invalidation_flow'],
|
37
39
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
38
40
|
'internalHost': !exists(json, 'internal_host') ? undefined : json['internal_host'],
|
39
41
|
'externalHost': json['external_host'],
|
@@ -62,6 +64,7 @@ export function ProxyProviderRequestToJSON(value) {
|
|
62
64
|
'name': value.name,
|
63
65
|
'authentication_flow': value.authenticationFlow,
|
64
66
|
'authorization_flow': value.authorizationFlow,
|
67
|
+
'invalidation_flow': value.invalidationFlow,
|
65
68
|
'property_mappings': value.propertyMappings,
|
66
69
|
'internal_host': value.internalHost,
|
67
70
|
'external_host': value.externalHost,
|
@@ -39,6 +39,12 @@ export interface RACProvider {
|
|
39
39
|
* @memberof RACProvider
|
40
40
|
*/
|
41
41
|
authorizationFlow: string;
|
42
|
+
/**
|
43
|
+
* Flow used ending the session from a provider.
|
44
|
+
* @type {string}
|
45
|
+
* @memberof RACProvider
|
46
|
+
*/
|
47
|
+
invalidationFlow: string;
|
42
48
|
/**
|
43
49
|
*
|
44
50
|
* @type {Array<string>}
|
@@ -20,6 +20,7 @@ export function instanceOfRACProvider(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "name" in value;
|
22
22
|
isInstance = isInstance && "authorizationFlow" in value;
|
23
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
23
24
|
isInstance = isInstance && "component" in value;
|
24
25
|
isInstance = isInstance && "assignedApplicationSlug" in value;
|
25
26
|
isInstance = isInstance && "assignedApplicationName" in value;
|
@@ -43,6 +44,7 @@ export function RACProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
44
|
'name': json['name'],
|
44
45
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
45
46
|
'authorizationFlow': json['authorization_flow'],
|
47
|
+
'invalidationFlow': json['invalidation_flow'],
|
46
48
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
47
49
|
'component': json['component'],
|
48
50
|
'assignedApplicationSlug': json['assigned_application_slug'],
|
@@ -69,6 +71,7 @@ export function RACProviderToJSON(value) {
|
|
69
71
|
'name': value.name,
|
70
72
|
'authentication_flow': value.authenticationFlow,
|
71
73
|
'authorization_flow': value.authorizationFlow,
|
74
|
+
'invalidation_flow': value.invalidationFlow,
|
72
75
|
'property_mappings': value.propertyMappings,
|
73
76
|
'settings': value.settings,
|
74
77
|
'connection_expiry': value.connectionExpiry,
|
@@ -33,6 +33,12 @@ export interface RACProviderRequest {
|
|
33
33
|
* @memberof RACProviderRequest
|
34
34
|
*/
|
35
35
|
authorizationFlow: string;
|
36
|
+
/**
|
37
|
+
* Flow used ending the session from a provider.
|
38
|
+
* @type {string}
|
39
|
+
* @memberof RACProviderRequest
|
40
|
+
*/
|
41
|
+
invalidationFlow: string;
|
36
42
|
/**
|
37
43
|
*
|
38
44
|
* @type {Array<string>}
|
@@ -19,6 +19,7 @@ export function instanceOfRACProviderRequest(value) {
|
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "name" in value;
|
21
21
|
isInstance = isInstance && "authorizationFlow" in value;
|
22
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
22
23
|
return isInstance;
|
23
24
|
}
|
24
25
|
export function RACProviderRequestFromJSON(json) {
|
@@ -32,6 +33,7 @@ export function RACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
33
|
'name': json['name'],
|
33
34
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
34
35
|
'authorizationFlow': json['authorization_flow'],
|
36
|
+
'invalidationFlow': json['invalidation_flow'],
|
35
37
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
36
38
|
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
37
39
|
'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
@@ -49,6 +51,7 @@ export function RACProviderRequestToJSON(value) {
|
|
49
51
|
'name': value.name,
|
50
52
|
'authentication_flow': value.authenticationFlow,
|
51
53
|
'authorization_flow': value.authorizationFlow,
|
54
|
+
'invalidation_flow': value.invalidationFlow,
|
52
55
|
'property_mappings': value.propertyMappings,
|
53
56
|
'settings': value.settings,
|
54
57
|
'connection_expiry': value.connectionExpiry,
|
@@ -39,6 +39,12 @@ export interface RadiusProvider {
|
|
39
39
|
* @memberof RadiusProvider
|
40
40
|
*/
|
41
41
|
authorizationFlow: string;
|
42
|
+
/**
|
43
|
+
* Flow used ending the session from a provider.
|
44
|
+
* @type {string}
|
45
|
+
* @memberof RadiusProvider
|
46
|
+
*/
|
47
|
+
invalidationFlow: string;
|
42
48
|
/**
|
43
49
|
*
|
44
50
|
* @type {Array<string>}
|
@@ -20,6 +20,7 @@ export function instanceOfRadiusProvider(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "name" in value;
|
22
22
|
isInstance = isInstance && "authorizationFlow" in value;
|
23
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
23
24
|
isInstance = isInstance && "component" in value;
|
24
25
|
isInstance = isInstance && "assignedApplicationSlug" in value;
|
25
26
|
isInstance = isInstance && "assignedApplicationName" in value;
|
@@ -43,6 +44,7 @@ export function RadiusProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
44
|
'name': json['name'],
|
44
45
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
45
46
|
'authorizationFlow': json['authorization_flow'],
|
47
|
+
'invalidationFlow': json['invalidation_flow'],
|
46
48
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
47
49
|
'component': json['component'],
|
48
50
|
'assignedApplicationSlug': json['assigned_application_slug'],
|
@@ -69,6 +71,7 @@ export function RadiusProviderToJSON(value) {
|
|
69
71
|
'name': value.name,
|
70
72
|
'authentication_flow': value.authenticationFlow,
|
71
73
|
'authorization_flow': value.authorizationFlow,
|
74
|
+
'invalidation_flow': value.invalidationFlow,
|
72
75
|
'property_mappings': value.propertyMappings,
|
73
76
|
'client_networks': value.clientNetworks,
|
74
77
|
'shared_secret': value.sharedSecret,
|
@@ -33,6 +33,12 @@ export interface RadiusProviderRequest {
|
|
33
33
|
* @memberof RadiusProviderRequest
|
34
34
|
*/
|
35
35
|
authorizationFlow: string;
|
36
|
+
/**
|
37
|
+
* Flow used ending the session from a provider.
|
38
|
+
* @type {string}
|
39
|
+
* @memberof RadiusProviderRequest
|
40
|
+
*/
|
41
|
+
invalidationFlow: string;
|
36
42
|
/**
|
37
43
|
*
|
38
44
|
* @type {Array<string>}
|
@@ -19,6 +19,7 @@ export function instanceOfRadiusProviderRequest(value) {
|
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "name" in value;
|
21
21
|
isInstance = isInstance && "authorizationFlow" in value;
|
22
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
22
23
|
return isInstance;
|
23
24
|
}
|
24
25
|
export function RadiusProviderRequestFromJSON(json) {
|
@@ -32,6 +33,7 @@ export function RadiusProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
33
|
'name': json['name'],
|
33
34
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
34
35
|
'authorizationFlow': json['authorization_flow'],
|
36
|
+
'invalidationFlow': json['invalidation_flow'],
|
35
37
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
36
38
|
'clientNetworks': !exists(json, 'client_networks') ? undefined : json['client_networks'],
|
37
39
|
'sharedSecret': !exists(json, 'shared_secret') ? undefined : json['shared_secret'],
|
@@ -49,6 +51,7 @@ export function RadiusProviderRequestToJSON(value) {
|
|
49
51
|
'name': value.name,
|
50
52
|
'authentication_flow': value.authenticationFlow,
|
51
53
|
'authorization_flow': value.authorizationFlow,
|
54
|
+
'invalidation_flow': value.invalidationFlow,
|
52
55
|
'property_mappings': value.propertyMappings,
|
53
56
|
'client_networks': value.clientNetworks,
|
54
57
|
'shared_secret': value.sharedSecret,
|
@@ -42,6 +42,12 @@ export interface SAMLProvider {
|
|
42
42
|
* @memberof SAMLProvider
|
43
43
|
*/
|
44
44
|
authorizationFlow: string;
|
45
|
+
/**
|
46
|
+
* Flow used ending the session from a provider.
|
47
|
+
* @type {string}
|
48
|
+
* @memberof SAMLProvider
|
49
|
+
*/
|
50
|
+
invalidationFlow: string;
|
45
51
|
/**
|
46
52
|
*
|
47
53
|
* @type {Array<string>}
|
@@ -23,6 +23,7 @@ export function instanceOfSAMLProvider(value) {
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
24
24
|
isInstance = isInstance && "name" in value;
|
25
25
|
isInstance = isInstance && "authorizationFlow" in value;
|
26
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
26
27
|
isInstance = isInstance && "component" in value;
|
27
28
|
isInstance = isInstance && "assignedApplicationSlug" in value;
|
28
29
|
isInstance = isInstance && "assignedApplicationName" in value;
|
@@ -52,6 +53,7 @@ export function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
53
|
'name': json['name'],
|
53
54
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
54
55
|
'authorizationFlow': json['authorization_flow'],
|
56
|
+
'invalidationFlow': json['invalidation_flow'],
|
55
57
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
56
58
|
'component': json['component'],
|
57
59
|
'assignedApplicationSlug': json['assigned_application_slug'],
|
@@ -96,6 +98,7 @@ export function SAMLProviderToJSON(value) {
|
|
96
98
|
'name': value.name,
|
97
99
|
'authentication_flow': value.authenticationFlow,
|
98
100
|
'authorization_flow': value.authorizationFlow,
|
101
|
+
'invalidation_flow': value.invalidationFlow,
|
99
102
|
'property_mappings': value.propertyMappings,
|
100
103
|
'acs_url': value.acsUrl,
|
101
104
|
'audience': value.audience,
|
@@ -36,6 +36,12 @@ export interface SAMLProviderRequest {
|
|
36
36
|
* @memberof SAMLProviderRequest
|
37
37
|
*/
|
38
38
|
authorizationFlow: string;
|
39
|
+
/**
|
40
|
+
* Flow used ending the session from a provider.
|
41
|
+
* @type {string}
|
42
|
+
* @memberof SAMLProviderRequest
|
43
|
+
*/
|
44
|
+
invalidationFlow: string;
|
39
45
|
/**
|
40
46
|
*
|
41
47
|
* @type {Array<string>}
|
@@ -22,6 +22,7 @@ export function instanceOfSAMLProviderRequest(value) {
|
|
22
22
|
let isInstance = true;
|
23
23
|
isInstance = isInstance && "name" in value;
|
24
24
|
isInstance = isInstance && "authorizationFlow" in value;
|
25
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
25
26
|
isInstance = isInstance && "acsUrl" in value;
|
26
27
|
return isInstance;
|
27
28
|
}
|
@@ -36,6 +37,7 @@ export function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
37
|
'name': json['name'],
|
37
38
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
38
39
|
'authorizationFlow': json['authorization_flow'],
|
40
|
+
'invalidationFlow': json['invalidation_flow'],
|
39
41
|
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
40
42
|
'acsUrl': json['acs_url'],
|
41
43
|
'audience': !exists(json, 'audience') ? undefined : json['audience'],
|
@@ -66,6 +68,7 @@ export function SAMLProviderRequestToJSON(value) {
|
|
66
68
|
'name': value.name,
|
67
69
|
'authentication_flow': value.authenticationFlow,
|
68
70
|
'authorization_flow': value.authorizationFlow,
|
71
|
+
'invalidation_flow': value.invalidationFlow,
|
69
72
|
'property_mappings': value.propertyMappings,
|
70
73
|
'acs_url': value.acsUrl,
|
71
74
|
'audience': value.audience,
|
@@ -0,0 +1,83 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
13
|
+
import type { ErrorDetail } from './ErrorDetail';
|
14
|
+
/**
|
15
|
+
* Challenge for ending a session
|
16
|
+
* @export
|
17
|
+
* @interface SessionEndChallenge
|
18
|
+
*/
|
19
|
+
export interface SessionEndChallenge {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {ContextualFlowInfo}
|
23
|
+
* @memberof SessionEndChallenge
|
24
|
+
*/
|
25
|
+
flowInfo?: ContextualFlowInfo;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {string}
|
29
|
+
* @memberof SessionEndChallenge
|
30
|
+
*/
|
31
|
+
component?: string;
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* @type {{ [key: string]: Array<ErrorDetail>; }}
|
35
|
+
* @memberof SessionEndChallenge
|
36
|
+
*/
|
37
|
+
responseErrors?: {
|
38
|
+
[key: string]: Array<ErrorDetail>;
|
39
|
+
};
|
40
|
+
/**
|
41
|
+
*
|
42
|
+
* @type {string}
|
43
|
+
* @memberof SessionEndChallenge
|
44
|
+
*/
|
45
|
+
pendingUser: string;
|
46
|
+
/**
|
47
|
+
*
|
48
|
+
* @type {string}
|
49
|
+
* @memberof SessionEndChallenge
|
50
|
+
*/
|
51
|
+
pendingUserAvatar: string;
|
52
|
+
/**
|
53
|
+
*
|
54
|
+
* @type {string}
|
55
|
+
* @memberof SessionEndChallenge
|
56
|
+
*/
|
57
|
+
applicationName?: string;
|
58
|
+
/**
|
59
|
+
*
|
60
|
+
* @type {string}
|
61
|
+
* @memberof SessionEndChallenge
|
62
|
+
*/
|
63
|
+
applicationLaunchUrl?: string;
|
64
|
+
/**
|
65
|
+
*
|
66
|
+
* @type {string}
|
67
|
+
* @memberof SessionEndChallenge
|
68
|
+
*/
|
69
|
+
invalidationFlowUrl?: string;
|
70
|
+
/**
|
71
|
+
*
|
72
|
+
* @type {string}
|
73
|
+
* @memberof SessionEndChallenge
|
74
|
+
*/
|
75
|
+
brandName: string;
|
76
|
+
}
|
77
|
+
/**
|
78
|
+
* Check if a given object implements the SessionEndChallenge interface.
|
79
|
+
*/
|
80
|
+
export declare function instanceOfSessionEndChallenge(value: object): boolean;
|
81
|
+
export declare function SessionEndChallengeFromJSON(json: any): SessionEndChallenge;
|
82
|
+
export declare function SessionEndChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionEndChallenge;
|
83
|
+
export declare function SessionEndChallengeToJSON(value?: SessionEndChallenge | null): any;
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
8
|
+
* Contact: hello@goauthentik.io
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
import { exists } from '../runtime';
|
15
|
+
import { ContextualFlowInfoFromJSON, ContextualFlowInfoToJSON, } from './ContextualFlowInfo';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the SessionEndChallenge interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfSessionEndChallenge(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pendingUser" in value;
|
22
|
+
isInstance = isInstance && "pendingUserAvatar" in value;
|
23
|
+
isInstance = isInstance && "brandName" in value;
|
24
|
+
return isInstance;
|
25
|
+
}
|
26
|
+
export function SessionEndChallengeFromJSON(json) {
|
27
|
+
return SessionEndChallengeFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
export function SessionEndChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
30
|
+
if ((json === undefined) || (json === null)) {
|
31
|
+
return json;
|
32
|
+
}
|
33
|
+
return {
|
34
|
+
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
35
|
+
'component': !exists(json, 'component') ? undefined : json['component'],
|
36
|
+
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
37
|
+
'pendingUser': json['pending_user'],
|
38
|
+
'pendingUserAvatar': json['pending_user_avatar'],
|
39
|
+
'applicationName': !exists(json, 'application_name') ? undefined : json['application_name'],
|
40
|
+
'applicationLaunchUrl': !exists(json, 'application_launch_url') ? undefined : json['application_launch_url'],
|
41
|
+
'invalidationFlowUrl': !exists(json, 'invalidation_flow_url') ? undefined : json['invalidation_flow_url'],
|
42
|
+
'brandName': json['brand_name'],
|
43
|
+
};
|
44
|
+
}
|
45
|
+
export function SessionEndChallengeToJSON(value) {
|
46
|
+
if (value === undefined) {
|
47
|
+
return undefined;
|
48
|
+
}
|
49
|
+
if (value === null) {
|
50
|
+
return null;
|
51
|
+
}
|
52
|
+
return {
|
53
|
+
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
54
|
+
'component': value.component,
|
55
|
+
'response_errors': value.responseErrors,
|
56
|
+
'pending_user': value.pendingUser,
|
57
|
+
'pending_user_avatar': value.pendingUserAvatar,
|
58
|
+
'application_name': value.applicationName,
|
59
|
+
'application_launch_url': value.applicationLaunchUrl,
|
60
|
+
'invalidation_flow_url': value.invalidationFlowUrl,
|
61
|
+
'brand_name': value.brandName,
|
62
|
+
};
|
63
|
+
}
|
@@ -552,6 +552,7 @@ export * from './SelectableStage';
|
|
552
552
|
export * from './ServiceConnection';
|
553
553
|
export * from './ServiceConnectionRequest';
|
554
554
|
export * from './ServiceConnectionState';
|
555
|
+
export * from './SessionEndChallenge';
|
555
556
|
export * from './SessionUser';
|
556
557
|
export * from './Settings';
|
557
558
|
export * from './SettingsRequest';
|
package/dist/esm/models/index.js
CHANGED
@@ -554,6 +554,7 @@ export * from './SelectableStage';
|
|
554
554
|
export * from './ServiceConnection';
|
555
555
|
export * from './ServiceConnectionRequest';
|
556
556
|
export * from './ServiceConnectionState';
|
557
|
+
export * from './SessionEndChallenge';
|
557
558
|
export * from './SessionUser';
|
558
559
|
export * from './Settings';
|
559
560
|
export * from './SettingsRequest';
|
@@ -30,6 +30,7 @@ import { PasswordChallenge } from './PasswordChallenge';
|
|
30
30
|
import { PlexAuthenticationChallenge } from './PlexAuthenticationChallenge';
|
31
31
|
import { PromptChallenge } from './PromptChallenge';
|
32
32
|
import { RedirectChallenge } from './RedirectChallenge';
|
33
|
+
import { SessionEndChallenge } from './SessionEndChallenge';
|
33
34
|
import { ShellChallenge } from './ShellChallenge';
|
34
35
|
import { UserLoginChallenge } from './UserLoginChallenge';
|
35
36
|
/**
|
@@ -78,6 +79,8 @@ export type ChallengeTypes = {
|
|
78
79
|
} & PasswordChallenge | {
|
79
80
|
component: 'ak-stage-prompt';
|
80
81
|
} & PromptChallenge | {
|
82
|
+
component: 'ak-stage-session-end';
|
83
|
+
} & SessionEndChallenge | {
|
81
84
|
component: 'ak-stage-user-login';
|
82
85
|
} & UserLoginChallenge | {
|
83
86
|
component: 'xak-flow-redirect';
|
@@ -35,6 +35,7 @@ const PasswordChallenge_1 = require("./PasswordChallenge");
|
|
35
35
|
const PlexAuthenticationChallenge_1 = require("./PlexAuthenticationChallenge");
|
36
36
|
const PromptChallenge_1 = require("./PromptChallenge");
|
37
37
|
const RedirectChallenge_1 = require("./RedirectChallenge");
|
38
|
+
const SessionEndChallenge_1 = require("./SessionEndChallenge");
|
38
39
|
const ShellChallenge_1 = require("./ShellChallenge");
|
39
40
|
const UserLoginChallenge_1 = require("./UserLoginChallenge");
|
40
41
|
function ChallengeTypesFromJSON(json) {
|
@@ -86,6 +87,8 @@ function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
|
|
86
87
|
return Object.assign(Object.assign({}, (0, PasswordChallenge_1.PasswordChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-password' });
|
87
88
|
case 'ak-stage-prompt':
|
88
89
|
return Object.assign(Object.assign({}, (0, PromptChallenge_1.PromptChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-prompt' });
|
90
|
+
case 'ak-stage-session-end':
|
91
|
+
return Object.assign(Object.assign({}, (0, SessionEndChallenge_1.SessionEndChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-session-end' });
|
89
92
|
case 'ak-stage-user-login':
|
90
93
|
return Object.assign(Object.assign({}, (0, UserLoginChallenge_1.UserLoginChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-user-login' });
|
91
94
|
case 'xak-flow-redirect':
|
@@ -145,6 +148,8 @@ function ChallengeTypesToJSON(value) {
|
|
145
148
|
return (0, PasswordChallenge_1.PasswordChallengeToJSON)(value);
|
146
149
|
case 'ak-stage-prompt':
|
147
150
|
return (0, PromptChallenge_1.PromptChallengeToJSON)(value);
|
151
|
+
case 'ak-stage-session-end':
|
152
|
+
return (0, SessionEndChallenge_1.SessionEndChallengeToJSON)(value);
|
148
153
|
case 'ak-stage-user-login':
|
149
154
|
return (0, UserLoginChallenge_1.UserLoginChallengeToJSON)(value);
|
150
155
|
case 'xak-flow-redirect':
|
@@ -40,6 +40,12 @@ export interface LDAPOutpostConfig {
|
|
40
40
|
* @memberof LDAPOutpostConfig
|
41
41
|
*/
|
42
42
|
bindFlowSlug: string;
|
43
|
+
/**
|
44
|
+
* Get slug for unbind flow, defaulting to brand's default flow.
|
45
|
+
* @type {string}
|
46
|
+
* @memberof LDAPOutpostConfig
|
47
|
+
*/
|
48
|
+
readonly unbindFlowSlug: string | null;
|
43
49
|
/**
|
44
50
|
* Prioritise backchannel slug over direct application slug
|
45
51
|
* @type {string}
|
@@ -24,6 +24,7 @@ function instanceOfLDAPOutpostConfig(value) {
|
|
24
24
|
isInstance = isInstance && "pk" in value;
|
25
25
|
isInstance = isInstance && "name" in value;
|
26
26
|
isInstance = isInstance && "bindFlowSlug" in value;
|
27
|
+
isInstance = isInstance && "unbindFlowSlug" in value;
|
27
28
|
isInstance = isInstance && "applicationSlug" in value;
|
28
29
|
return isInstance;
|
29
30
|
}
|
@@ -41,6 +42,7 @@ function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
42
|
'name': json['name'],
|
42
43
|
'baseDn': !(0, runtime_1.exists)(json, 'base_dn') ? undefined : json['base_dn'],
|
43
44
|
'bindFlowSlug': json['bind_flow_slug'],
|
45
|
+
'unbindFlowSlug': json['unbind_flow_slug'],
|
44
46
|
'applicationSlug': json['application_slug'],
|
45
47
|
'certificate': !(0, runtime_1.exists)(json, 'certificate') ? undefined : json['certificate'],
|
46
48
|
'tlsServerName': !(0, runtime_1.exists)(json, 'tls_server_name') ? undefined : json['tls_server_name'],
|
@@ -40,6 +40,12 @@ export interface LDAPProvider {
|
|
40
40
|
* @memberof LDAPProvider
|
41
41
|
*/
|
42
42
|
authorizationFlow: string;
|
43
|
+
/**
|
44
|
+
* Flow used ending the session from a provider.
|
45
|
+
* @type {string}
|
46
|
+
* @memberof LDAPProvider
|
47
|
+
*/
|
48
|
+
invalidationFlow: string;
|
43
49
|
/**
|
44
50
|
*
|
45
51
|
* @type {Array<string>}
|
@@ -24,6 +24,7 @@ function instanceOfLDAPProvider(value) {
|
|
24
24
|
isInstance = isInstance && "pk" in value;
|
25
25
|
isInstance = isInstance && "name" in value;
|
26
26
|
isInstance = isInstance && "authorizationFlow" in value;
|
27
|
+
isInstance = isInstance && "invalidationFlow" in value;
|
27
28
|
isInstance = isInstance && "component" in value;
|
28
29
|
isInstance = isInstance && "assignedApplicationSlug" in value;
|
29
30
|
isInstance = isInstance && "assignedApplicationName" in value;
|
@@ -49,6 +50,7 @@ function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
50
|
'name': json['name'],
|
50
51
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
51
52
|
'authorizationFlow': json['authorization_flow'],
|
53
|
+
'invalidationFlow': json['invalidation_flow'],
|
52
54
|
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
53
55
|
'component': json['component'],
|
54
56
|
'assignedApplicationSlug': json['assigned_application_slug'],
|
@@ -81,6 +83,7 @@ function LDAPProviderToJSON(value) {
|
|
81
83
|
'name': value.name,
|
82
84
|
'authentication_flow': value.authenticationFlow,
|
83
85
|
'authorization_flow': value.authorizationFlow,
|
86
|
+
'invalidation_flow': value.invalidationFlow,
|
84
87
|
'property_mappings': value.propertyMappings,
|
85
88
|
'base_dn': value.baseDn,
|
86
89
|
'certificate': value.certificate,
|