@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.
Files changed (138) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +1 -1
  3. package/dist/apis/ProvidersApi.d.ts +2 -0
  4. package/dist/apis/ProvidersApi.js +9 -0
  5. package/dist/apis/SourcesApi.d.ts +1 -1
  6. package/dist/apis/SourcesApi.js +1 -1
  7. package/dist/esm/apis/ProvidersApi.d.ts +2 -0
  8. package/dist/esm/apis/ProvidersApi.js +9 -0
  9. package/dist/esm/apis/SourcesApi.d.ts +1 -1
  10. package/dist/esm/apis/SourcesApi.js +1 -1
  11. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  12. package/dist/esm/models/ChallengeTypes.js +5 -0
  13. package/dist/esm/models/LDAPOutpostConfig.d.ts +6 -0
  14. package/dist/esm/models/LDAPOutpostConfig.js +2 -0
  15. package/dist/esm/models/LDAPProvider.d.ts +6 -0
  16. package/dist/esm/models/LDAPProvider.js +3 -0
  17. package/dist/esm/models/LDAPProviderRequest.d.ts +6 -0
  18. package/dist/esm/models/LDAPProviderRequest.js +3 -0
  19. package/dist/esm/models/NameIdPolicyEnum.d.ts +1 -1
  20. package/dist/esm/models/NameIdPolicyEnum.js +1 -1
  21. package/dist/esm/models/OAuth2Provider.d.ts +6 -0
  22. package/dist/esm/models/OAuth2Provider.js +3 -0
  23. package/dist/esm/models/OAuth2ProviderRequest.d.ts +6 -0
  24. package/dist/esm/models/OAuth2ProviderRequest.js +3 -0
  25. package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +6 -0
  26. package/dist/esm/models/PatchedLDAPProviderRequest.js +2 -0
  27. package/dist/esm/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
  28. package/dist/esm/models/PatchedOAuth2ProviderRequest.js +2 -0
  29. package/dist/esm/models/PatchedProxyProviderRequest.d.ts +6 -0
  30. package/dist/esm/models/PatchedProxyProviderRequest.js +2 -0
  31. package/dist/esm/models/PatchedRACProviderRequest.d.ts +6 -0
  32. package/dist/esm/models/PatchedRACProviderRequest.js +2 -0
  33. package/dist/esm/models/PatchedRadiusProviderRequest.d.ts +6 -0
  34. package/dist/esm/models/PatchedRadiusProviderRequest.js +2 -0
  35. package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +6 -0
  36. package/dist/esm/models/PatchedSAMLProviderRequest.js +2 -0
  37. package/dist/esm/models/Provider.d.ts +6 -0
  38. package/dist/esm/models/Provider.js +3 -0
  39. package/dist/esm/models/ProviderRequest.d.ts +6 -0
  40. package/dist/esm/models/ProviderRequest.js +3 -0
  41. package/dist/esm/models/ProxyProvider.d.ts +6 -0
  42. package/dist/esm/models/ProxyProvider.js +3 -0
  43. package/dist/esm/models/ProxyProviderRequest.d.ts +6 -0
  44. package/dist/esm/models/ProxyProviderRequest.js +3 -0
  45. package/dist/esm/models/RACProvider.d.ts +6 -0
  46. package/dist/esm/models/RACProvider.js +3 -0
  47. package/dist/esm/models/RACProviderRequest.d.ts +6 -0
  48. package/dist/esm/models/RACProviderRequest.js +3 -0
  49. package/dist/esm/models/RadiusProvider.d.ts +6 -0
  50. package/dist/esm/models/RadiusProvider.js +3 -0
  51. package/dist/esm/models/RadiusProviderRequest.d.ts +6 -0
  52. package/dist/esm/models/RadiusProviderRequest.js +3 -0
  53. package/dist/esm/models/SAMLProvider.d.ts +6 -0
  54. package/dist/esm/models/SAMLProvider.js +3 -0
  55. package/dist/esm/models/SAMLProviderRequest.d.ts +6 -0
  56. package/dist/esm/models/SAMLProviderRequest.js +3 -0
  57. package/dist/esm/models/SessionEndChallenge.d.ts +83 -0
  58. package/dist/esm/models/SessionEndChallenge.js +63 -0
  59. package/dist/esm/models/index.d.ts +1 -0
  60. package/dist/esm/models/index.js +1 -0
  61. package/dist/models/ChallengeTypes.d.ts +3 -0
  62. package/dist/models/ChallengeTypes.js +5 -0
  63. package/dist/models/LDAPOutpostConfig.d.ts +6 -0
  64. package/dist/models/LDAPOutpostConfig.js +2 -0
  65. package/dist/models/LDAPProvider.d.ts +6 -0
  66. package/dist/models/LDAPProvider.js +3 -0
  67. package/dist/models/LDAPProviderRequest.d.ts +6 -0
  68. package/dist/models/LDAPProviderRequest.js +3 -0
  69. package/dist/models/NameIdPolicyEnum.d.ts +1 -1
  70. package/dist/models/NameIdPolicyEnum.js +1 -1
  71. package/dist/models/OAuth2Provider.d.ts +6 -0
  72. package/dist/models/OAuth2Provider.js +3 -0
  73. package/dist/models/OAuth2ProviderRequest.d.ts +6 -0
  74. package/dist/models/OAuth2ProviderRequest.js +3 -0
  75. package/dist/models/PatchedLDAPProviderRequest.d.ts +6 -0
  76. package/dist/models/PatchedLDAPProviderRequest.js +2 -0
  77. package/dist/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
  78. package/dist/models/PatchedOAuth2ProviderRequest.js +2 -0
  79. package/dist/models/PatchedProxyProviderRequest.d.ts +6 -0
  80. package/dist/models/PatchedProxyProviderRequest.js +2 -0
  81. package/dist/models/PatchedRACProviderRequest.d.ts +6 -0
  82. package/dist/models/PatchedRACProviderRequest.js +2 -0
  83. package/dist/models/PatchedRadiusProviderRequest.d.ts +6 -0
  84. package/dist/models/PatchedRadiusProviderRequest.js +2 -0
  85. package/dist/models/PatchedSAMLProviderRequest.d.ts +6 -0
  86. package/dist/models/PatchedSAMLProviderRequest.js +2 -0
  87. package/dist/models/Provider.d.ts +6 -0
  88. package/dist/models/Provider.js +3 -0
  89. package/dist/models/ProviderRequest.d.ts +6 -0
  90. package/dist/models/ProviderRequest.js +3 -0
  91. package/dist/models/ProxyProvider.d.ts +6 -0
  92. package/dist/models/ProxyProvider.js +3 -0
  93. package/dist/models/ProxyProviderRequest.d.ts +6 -0
  94. package/dist/models/ProxyProviderRequest.js +3 -0
  95. package/dist/models/RACProvider.d.ts +6 -0
  96. package/dist/models/RACProvider.js +3 -0
  97. package/dist/models/RACProviderRequest.d.ts +6 -0
  98. package/dist/models/RACProviderRequest.js +3 -0
  99. package/dist/models/RadiusProvider.d.ts +6 -0
  100. package/dist/models/RadiusProvider.js +3 -0
  101. package/dist/models/RadiusProviderRequest.d.ts +6 -0
  102. package/dist/models/RadiusProviderRequest.js +3 -0
  103. package/dist/models/SAMLProvider.d.ts +6 -0
  104. package/dist/models/SAMLProvider.js +3 -0
  105. package/dist/models/SAMLProviderRequest.d.ts +6 -0
  106. package/dist/models/SAMLProviderRequest.js +3 -0
  107. package/dist/models/SessionEndChallenge.d.ts +83 -0
  108. package/dist/models/SessionEndChallenge.js +70 -0
  109. package/dist/models/index.d.ts +1 -0
  110. package/dist/models/index.js +1 -0
  111. package/package.json +1 -1
  112. package/src/apis/ProvidersApi.ts +14 -0
  113. package/src/apis/SourcesApi.ts +1 -1
  114. package/src/models/ChallengeTypes.ts +12 -1
  115. package/src/models/LDAPOutpostConfig.ts +8 -0
  116. package/src/models/LDAPProvider.ts +9 -0
  117. package/src/models/LDAPProviderRequest.ts +9 -0
  118. package/src/models/NameIdPolicyEnum.ts +1 -1
  119. package/src/models/OAuth2Provider.ts +9 -0
  120. package/src/models/OAuth2ProviderRequest.ts +9 -0
  121. package/src/models/PatchedLDAPProviderRequest.ts +8 -0
  122. package/src/models/PatchedOAuth2ProviderRequest.ts +8 -0
  123. package/src/models/PatchedProxyProviderRequest.ts +8 -0
  124. package/src/models/PatchedRACProviderRequest.ts +8 -0
  125. package/src/models/PatchedRadiusProviderRequest.ts +8 -0
  126. package/src/models/PatchedSAMLProviderRequest.ts +8 -0
  127. package/src/models/Provider.ts +9 -0
  128. package/src/models/ProviderRequest.ts +9 -0
  129. package/src/models/ProxyProvider.ts +9 -0
  130. package/src/models/ProxyProviderRequest.ts +9 -0
  131. package/src/models/RACProvider.ts +9 -0
  132. package/src/models/RACProviderRequest.ts +9 -0
  133. package/src/models/RadiusProvider.ts +9 -0
  134. package/src/models/RadiusProviderRequest.ts +9 -0
  135. package/src/models/SAMLProvider.ts +9 -0
  136. package/src/models/SAMLProviderRequest.ts +9 -0
  137. package/src/models/SessionEndChallenge.ts +145 -0
  138. package/src/models/index.ts +1 -0
@@ -37,6 +37,12 @@ export interface PatchedRACProviderRequest {
37
37
  * @memberof PatchedRACProviderRequest
38
38
  */
39
39
  authorizationFlow?: string;
40
+ /**
41
+ * Flow used ending the session from a provider.
42
+ * @type {string}
43
+ * @memberof PatchedRACProviderRequest
44
+ */
45
+ invalidationFlow?: string;
40
46
  /**
41
47
  *
42
48
  * @type {Array<string>}
@@ -85,6 +91,7 @@ export function PatchedRACProviderRequestFromJSONTyped(json: any, ignoreDiscrimi
85
91
  'name': !exists(json, 'name') ? undefined : json['name'],
86
92
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
87
93
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
94
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
88
95
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
89
96
  'settings': !exists(json, 'settings') ? undefined : json['settings'],
90
97
  'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
@@ -104,6 +111,7 @@ export function PatchedRACProviderRequestToJSON(value?: PatchedRACProviderReques
104
111
  'name': value.name,
105
112
  'authentication_flow': value.authenticationFlow,
106
113
  'authorization_flow': value.authorizationFlow,
114
+ 'invalidation_flow': value.invalidationFlow,
107
115
  'property_mappings': value.propertyMappings,
108
116
  'settings': value.settings,
109
117
  'connection_expiry': value.connectionExpiry,
@@ -37,6 +37,12 @@ export interface PatchedRadiusProviderRequest {
37
37
  * @memberof PatchedRadiusProviderRequest
38
38
  */
39
39
  authorizationFlow?: string;
40
+ /**
41
+ * Flow used ending the session from a provider.
42
+ * @type {string}
43
+ * @memberof PatchedRadiusProviderRequest
44
+ */
45
+ invalidationFlow?: string;
40
46
  /**
41
47
  *
42
48
  * @type {Array<string>}
@@ -85,6 +91,7 @@ export function PatchedRadiusProviderRequestFromJSONTyped(json: any, ignoreDiscr
85
91
  'name': !exists(json, 'name') ? undefined : json['name'],
86
92
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
87
93
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
94
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
88
95
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
89
96
  'clientNetworks': !exists(json, 'client_networks') ? undefined : json['client_networks'],
90
97
  'sharedSecret': !exists(json, 'shared_secret') ? undefined : json['shared_secret'],
@@ -104,6 +111,7 @@ export function PatchedRadiusProviderRequestToJSON(value?: PatchedRadiusProvider
104
111
  'name': value.name,
105
112
  'authentication_flow': value.authenticationFlow,
106
113
  'authorization_flow': value.authorizationFlow,
114
+ 'invalidation_flow': value.invalidationFlow,
107
115
  'property_mappings': value.propertyMappings,
108
116
  'client_networks': value.clientNetworks,
109
117
  'shared_secret': value.sharedSecret,
@@ -56,6 +56,12 @@ export interface PatchedSAMLProviderRequest {
56
56
  * @memberof PatchedSAMLProviderRequest
57
57
  */
58
58
  authorizationFlow?: string;
59
+ /**
60
+ * Flow used ending the session from a provider.
61
+ * @type {string}
62
+ * @memberof PatchedSAMLProviderRequest
63
+ */
64
+ invalidationFlow?: string;
59
65
  /**
60
66
  *
61
67
  * @type {Array<string>}
@@ -182,6 +188,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json: any, ignoreDiscrim
182
188
  'name': !exists(json, 'name') ? undefined : json['name'],
183
189
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
184
190
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
191
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
185
192
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
186
193
  'acsUrl': !exists(json, 'acs_url') ? undefined : json['acs_url'],
187
194
  'audience': !exists(json, 'audience') ? undefined : json['audience'],
@@ -214,6 +221,7 @@ export function PatchedSAMLProviderRequestToJSON(value?: PatchedSAMLProviderRequ
214
221
  'name': value.name,
215
222
  'authentication_flow': value.authenticationFlow,
216
223
  'authorization_flow': value.authorizationFlow,
224
+ 'invalidation_flow': value.invalidationFlow,
217
225
  'property_mappings': value.propertyMappings,
218
226
  'acs_url': value.acsUrl,
219
227
  'audience': value.audience,
@@ -43,6 +43,12 @@ export interface Provider {
43
43
  * @memberof Provider
44
44
  */
45
45
  authorizationFlow: string;
46
+ /**
47
+ * Flow used ending the session from a provider.
48
+ * @type {string}
49
+ * @memberof Provider
50
+ */
51
+ invalidationFlow: string;
46
52
  /**
47
53
  *
48
54
  * @type {Array<string>}
@@ -107,6 +113,7 @@ export function instanceOfProvider(value: object): boolean {
107
113
  isInstance = isInstance && "pk" in value;
108
114
  isInstance = isInstance && "name" in value;
109
115
  isInstance = isInstance && "authorizationFlow" in value;
116
+ isInstance = isInstance && "invalidationFlow" in value;
110
117
  isInstance = isInstance && "component" in value;
111
118
  isInstance = isInstance && "assignedApplicationSlug" in value;
112
119
  isInstance = isInstance && "assignedApplicationName" in value;
@@ -133,6 +140,7 @@ export function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean):
133
140
  'name': json['name'],
134
141
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
135
142
  'authorizationFlow': json['authorization_flow'],
143
+ 'invalidationFlow': json['invalidation_flow'],
136
144
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
137
145
  'component': json['component'],
138
146
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -157,6 +165,7 @@ export function ProviderToJSON(value?: Provider | null): any {
157
165
  'name': value.name,
158
166
  'authentication_flow': value.authenticationFlow,
159
167
  'authorization_flow': value.authorizationFlow,
168
+ 'invalidation_flow': value.invalidationFlow,
160
169
  'property_mappings': value.propertyMappings,
161
170
  };
162
171
  }
@@ -37,6 +37,12 @@ export interface ProviderRequest {
37
37
  * @memberof ProviderRequest
38
38
  */
39
39
  authorizationFlow: string;
40
+ /**
41
+ * Flow used ending the session from a provider.
42
+ * @type {string}
43
+ * @memberof ProviderRequest
44
+ */
45
+ invalidationFlow: string;
40
46
  /**
41
47
  *
42
48
  * @type {Array<string>}
@@ -52,6 +58,7 @@ export function instanceOfProviderRequest(value: object): boolean {
52
58
  let isInstance = true;
53
59
  isInstance = isInstance && "name" in value;
54
60
  isInstance = isInstance && "authorizationFlow" in value;
61
+ isInstance = isInstance && "invalidationFlow" in value;
55
62
 
56
63
  return isInstance;
57
64
  }
@@ -69,6 +76,7 @@ export function ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
69
76
  'name': json['name'],
70
77
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
71
78
  'authorizationFlow': json['authorization_flow'],
79
+ 'invalidationFlow': json['invalidation_flow'],
72
80
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
73
81
  };
74
82
  }
@@ -85,6 +93,7 @@ export function ProviderRequestToJSON(value?: ProviderRequest | null): any {
85
93
  'name': value.name,
86
94
  'authentication_flow': value.authenticationFlow,
87
95
  'authorization_flow': value.authorizationFlow,
96
+ 'invalidation_flow': value.invalidationFlow,
88
97
  'property_mappings': value.propertyMappings,
89
98
  };
90
99
  }
@@ -50,6 +50,12 @@ export interface ProxyProvider {
50
50
  * @memberof ProxyProvider
51
51
  */
52
52
  authorizationFlow: string;
53
+ /**
54
+ * Flow used ending the session from a provider.
55
+ * @type {string}
56
+ * @memberof ProxyProvider
57
+ */
58
+ invalidationFlow: string;
53
59
  /**
54
60
  *
55
61
  * @type {Array<string>}
@@ -216,6 +222,7 @@ export function instanceOfProxyProvider(value: object): boolean {
216
222
  isInstance = isInstance && "pk" in value;
217
223
  isInstance = isInstance && "name" in value;
218
224
  isInstance = isInstance && "authorizationFlow" in value;
225
+ isInstance = isInstance && "invalidationFlow" in value;
219
226
  isInstance = isInstance && "component" in value;
220
227
  isInstance = isInstance && "assignedApplicationSlug" in value;
221
228
  isInstance = isInstance && "assignedApplicationName" in value;
@@ -246,6 +253,7 @@ export function ProxyProviderFromJSONTyped(json: any, ignoreDiscriminator: boole
246
253
  'name': json['name'],
247
254
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
248
255
  'authorizationFlow': json['authorization_flow'],
256
+ 'invalidationFlow': json['invalidation_flow'],
249
257
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
250
258
  'component': json['component'],
251
259
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -287,6 +295,7 @@ export function ProxyProviderToJSON(value?: ProxyProvider | null): any {
287
295
  'name': value.name,
288
296
  'authentication_flow': value.authenticationFlow,
289
297
  'authorization_flow': value.authorizationFlow,
298
+ 'invalidation_flow': value.invalidationFlow,
290
299
  'property_mappings': value.propertyMappings,
291
300
  'internal_host': value.internalHost,
292
301
  'external_host': value.externalHost,
@@ -44,6 +44,12 @@ export interface ProxyProviderRequest {
44
44
  * @memberof ProxyProviderRequest
45
45
  */
46
46
  authorizationFlow: string;
47
+ /**
48
+ * Flow used ending the session from a provider.
49
+ * @type {string}
50
+ * @memberof ProxyProviderRequest
51
+ */
52
+ invalidationFlow: string;
47
53
  /**
48
54
  *
49
55
  * @type {Array<string>}
@@ -143,6 +149,7 @@ export function instanceOfProxyProviderRequest(value: object): boolean {
143
149
  let isInstance = true;
144
150
  isInstance = isInstance && "name" in value;
145
151
  isInstance = isInstance && "authorizationFlow" in value;
152
+ isInstance = isInstance && "invalidationFlow" in value;
146
153
  isInstance = isInstance && "externalHost" in value;
147
154
 
148
155
  return isInstance;
@@ -161,6 +168,7 @@ export function ProxyProviderRequestFromJSONTyped(json: any, ignoreDiscriminator
161
168
  'name': json['name'],
162
169
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
163
170
  'authorizationFlow': json['authorization_flow'],
171
+ 'invalidationFlow': json['invalidation_flow'],
164
172
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
165
173
  'internalHost': !exists(json, 'internal_host') ? undefined : json['internal_host'],
166
174
  'externalHost': json['external_host'],
@@ -191,6 +199,7 @@ export function ProxyProviderRequestToJSON(value?: ProxyProviderRequest | null):
191
199
  'name': value.name,
192
200
  'authentication_flow': value.authenticationFlow,
193
201
  'authorization_flow': value.authorizationFlow,
202
+ 'invalidation_flow': value.invalidationFlow,
194
203
  'property_mappings': value.propertyMappings,
195
204
  'internal_host': value.internalHost,
196
205
  'external_host': value.externalHost,
@@ -43,6 +43,12 @@ export interface RACProvider {
43
43
  * @memberof RACProvider
44
44
  */
45
45
  authorizationFlow: string;
46
+ /**
47
+ * Flow used ending the session from a provider.
48
+ * @type {string}
49
+ * @memberof RACProvider
50
+ */
51
+ invalidationFlow: string;
46
52
  /**
47
53
  *
48
54
  * @type {Array<string>}
@@ -131,6 +137,7 @@ export function instanceOfRACProvider(value: object): boolean {
131
137
  isInstance = isInstance && "pk" in value;
132
138
  isInstance = isInstance && "name" in value;
133
139
  isInstance = isInstance && "authorizationFlow" in value;
140
+ isInstance = isInstance && "invalidationFlow" in value;
134
141
  isInstance = isInstance && "component" in value;
135
142
  isInstance = isInstance && "assignedApplicationSlug" in value;
136
143
  isInstance = isInstance && "assignedApplicationName" in value;
@@ -158,6 +165,7 @@ export function RACProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean
158
165
  'name': json['name'],
159
166
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
160
167
  'authorizationFlow': json['authorization_flow'],
168
+ 'invalidationFlow': json['invalidation_flow'],
161
169
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
162
170
  'component': json['component'],
163
171
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -186,6 +194,7 @@ export function RACProviderToJSON(value?: RACProvider | null): any {
186
194
  'name': value.name,
187
195
  'authentication_flow': value.authenticationFlow,
188
196
  'authorization_flow': value.authorizationFlow,
197
+ 'invalidation_flow': value.invalidationFlow,
189
198
  'property_mappings': value.propertyMappings,
190
199
  'settings': value.settings,
191
200
  'connection_expiry': value.connectionExpiry,
@@ -37,6 +37,12 @@ export interface RACProviderRequest {
37
37
  * @memberof RACProviderRequest
38
38
  */
39
39
  authorizationFlow: string;
40
+ /**
41
+ * Flow used ending the session from a provider.
42
+ * @type {string}
43
+ * @memberof RACProviderRequest
44
+ */
45
+ invalidationFlow: string;
40
46
  /**
41
47
  *
42
48
  * @type {Array<string>}
@@ -70,6 +76,7 @@ export function instanceOfRACProviderRequest(value: object): boolean {
70
76
  let isInstance = true;
71
77
  isInstance = isInstance && "name" in value;
72
78
  isInstance = isInstance && "authorizationFlow" in value;
79
+ isInstance = isInstance && "invalidationFlow" in value;
73
80
 
74
81
  return isInstance;
75
82
  }
@@ -87,6 +94,7 @@ export function RACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
87
94
  'name': json['name'],
88
95
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
89
96
  'authorizationFlow': json['authorization_flow'],
97
+ 'invalidationFlow': json['invalidation_flow'],
90
98
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
91
99
  'settings': !exists(json, 'settings') ? undefined : json['settings'],
92
100
  'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
@@ -106,6 +114,7 @@ export function RACProviderRequestToJSON(value?: RACProviderRequest | null): any
106
114
  'name': value.name,
107
115
  'authentication_flow': value.authenticationFlow,
108
116
  'authorization_flow': value.authorizationFlow,
117
+ 'invalidation_flow': value.invalidationFlow,
109
118
  'property_mappings': value.propertyMappings,
110
119
  'settings': value.settings,
111
120
  'connection_expiry': value.connectionExpiry,
@@ -43,6 +43,12 @@ export interface RadiusProvider {
43
43
  * @memberof RadiusProvider
44
44
  */
45
45
  authorizationFlow: string;
46
+ /**
47
+ * Flow used ending the session from a provider.
48
+ * @type {string}
49
+ * @memberof RadiusProvider
50
+ */
51
+ invalidationFlow: string;
46
52
  /**
47
53
  *
48
54
  * @type {Array<string>}
@@ -131,6 +137,7 @@ export function instanceOfRadiusProvider(value: object): boolean {
131
137
  isInstance = isInstance && "pk" in value;
132
138
  isInstance = isInstance && "name" in value;
133
139
  isInstance = isInstance && "authorizationFlow" in value;
140
+ isInstance = isInstance && "invalidationFlow" in value;
134
141
  isInstance = isInstance && "component" in value;
135
142
  isInstance = isInstance && "assignedApplicationSlug" in value;
136
143
  isInstance = isInstance && "assignedApplicationName" in value;
@@ -158,6 +165,7 @@ export function RadiusProviderFromJSONTyped(json: any, ignoreDiscriminator: bool
158
165
  'name': json['name'],
159
166
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
160
167
  'authorizationFlow': json['authorization_flow'],
168
+ 'invalidationFlow': json['invalidation_flow'],
161
169
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
162
170
  'component': json['component'],
163
171
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -186,6 +194,7 @@ export function RadiusProviderToJSON(value?: RadiusProvider | null): any {
186
194
  'name': value.name,
187
195
  'authentication_flow': value.authenticationFlow,
188
196
  'authorization_flow': value.authorizationFlow,
197
+ 'invalidation_flow': value.invalidationFlow,
189
198
  'property_mappings': value.propertyMappings,
190
199
  'client_networks': value.clientNetworks,
191
200
  'shared_secret': value.sharedSecret,
@@ -37,6 +37,12 @@ export interface RadiusProviderRequest {
37
37
  * @memberof RadiusProviderRequest
38
38
  */
39
39
  authorizationFlow: string;
40
+ /**
41
+ * Flow used ending the session from a provider.
42
+ * @type {string}
43
+ * @memberof RadiusProviderRequest
44
+ */
45
+ invalidationFlow: string;
40
46
  /**
41
47
  *
42
48
  * @type {Array<string>}
@@ -70,6 +76,7 @@ export function instanceOfRadiusProviderRequest(value: object): boolean {
70
76
  let isInstance = true;
71
77
  isInstance = isInstance && "name" in value;
72
78
  isInstance = isInstance && "authorizationFlow" in value;
79
+ isInstance = isInstance && "invalidationFlow" in value;
73
80
 
74
81
  return isInstance;
75
82
  }
@@ -87,6 +94,7 @@ export function RadiusProviderRequestFromJSONTyped(json: any, ignoreDiscriminato
87
94
  'name': json['name'],
88
95
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
89
96
  'authorizationFlow': json['authorization_flow'],
97
+ 'invalidationFlow': json['invalidation_flow'],
90
98
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
91
99
  'clientNetworks': !exists(json, 'client_networks') ? undefined : json['client_networks'],
92
100
  'sharedSecret': !exists(json, 'shared_secret') ? undefined : json['shared_secret'],
@@ -106,6 +114,7 @@ export function RadiusProviderRequestToJSON(value?: RadiusProviderRequest | null
106
114
  'name': value.name,
107
115
  'authentication_flow': value.authenticationFlow,
108
116
  'authorization_flow': value.authorizationFlow,
117
+ 'invalidation_flow': value.invalidationFlow,
109
118
  'property_mappings': value.propertyMappings,
110
119
  'client_networks': value.clientNetworks,
111
120
  'shared_secret': value.sharedSecret,
@@ -62,6 +62,12 @@ export interface SAMLProvider {
62
62
  * @memberof SAMLProvider
63
63
  */
64
64
  authorizationFlow: string;
65
+ /**
66
+ * Flow used ending the session from a provider.
67
+ * @type {string}
68
+ * @memberof SAMLProvider
69
+ */
70
+ invalidationFlow: string;
65
71
  /**
66
72
  *
67
73
  * @type {Array<string>}
@@ -258,6 +264,7 @@ export function instanceOfSAMLProvider(value: object): boolean {
258
264
  isInstance = isInstance && "pk" in value;
259
265
  isInstance = isInstance && "name" in value;
260
266
  isInstance = isInstance && "authorizationFlow" in value;
267
+ isInstance = isInstance && "invalidationFlow" in value;
261
268
  isInstance = isInstance && "component" in value;
262
269
  isInstance = isInstance && "assignedApplicationSlug" in value;
263
270
  isInstance = isInstance && "assignedApplicationName" in value;
@@ -291,6 +298,7 @@ export function SAMLProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
291
298
  'name': json['name'],
292
299
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
293
300
  'authorizationFlow': json['authorization_flow'],
301
+ 'invalidationFlow': json['invalidation_flow'],
294
302
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
295
303
  'component': json['component'],
296
304
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -337,6 +345,7 @@ export function SAMLProviderToJSON(value?: SAMLProvider | null): any {
337
345
  'name': value.name,
338
346
  'authentication_flow': value.authenticationFlow,
339
347
  'authorization_flow': value.authorizationFlow,
348
+ 'invalidation_flow': value.invalidationFlow,
340
349
  'property_mappings': value.propertyMappings,
341
350
  'acs_url': value.acsUrl,
342
351
  'audience': value.audience,
@@ -56,6 +56,12 @@ export interface SAMLProviderRequest {
56
56
  * @memberof SAMLProviderRequest
57
57
  */
58
58
  authorizationFlow: string;
59
+ /**
60
+ * Flow used ending the session from a provider.
61
+ * @type {string}
62
+ * @memberof SAMLProviderRequest
63
+ */
64
+ invalidationFlow: string;
59
65
  /**
60
66
  *
61
67
  * @type {Array<string>}
@@ -167,6 +173,7 @@ export function instanceOfSAMLProviderRequest(value: object): boolean {
167
173
  let isInstance = true;
168
174
  isInstance = isInstance && "name" in value;
169
175
  isInstance = isInstance && "authorizationFlow" in value;
176
+ isInstance = isInstance && "invalidationFlow" in value;
170
177
  isInstance = isInstance && "acsUrl" in value;
171
178
 
172
179
  return isInstance;
@@ -185,6 +192,7 @@ export function SAMLProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
185
192
  'name': json['name'],
186
193
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
187
194
  'authorizationFlow': json['authorization_flow'],
195
+ 'invalidationFlow': json['invalidation_flow'],
188
196
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
189
197
  'acsUrl': json['acs_url'],
190
198
  'audience': !exists(json, 'audience') ? undefined : json['audience'],
@@ -217,6 +225,7 @@ export function SAMLProviderRequestToJSON(value?: SAMLProviderRequest | null): a
217
225
  'name': value.name,
218
226
  'authentication_flow': value.authenticationFlow,
219
227
  'authorization_flow': value.authorizationFlow,
228
+ 'invalidation_flow': value.invalidationFlow,
220
229
  'property_mappings': value.propertyMappings,
221
230
  'acs_url': value.acsUrl,
222
231
  'audience': value.audience,
@@ -0,0 +1,145 @@
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
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { ContextualFlowInfo } from './ContextualFlowInfo';
17
+ import {
18
+ ContextualFlowInfoFromJSON,
19
+ ContextualFlowInfoFromJSONTyped,
20
+ ContextualFlowInfoToJSON,
21
+ } from './ContextualFlowInfo';
22
+ import type { ErrorDetail } from './ErrorDetail';
23
+ import {
24
+ ErrorDetailFromJSON,
25
+ ErrorDetailFromJSONTyped,
26
+ ErrorDetailToJSON,
27
+ } from './ErrorDetail';
28
+
29
+ /**
30
+ * Challenge for ending a session
31
+ * @export
32
+ * @interface SessionEndChallenge
33
+ */
34
+ export interface SessionEndChallenge {
35
+ /**
36
+ *
37
+ * @type {ContextualFlowInfo}
38
+ * @memberof SessionEndChallenge
39
+ */
40
+ flowInfo?: ContextualFlowInfo;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof SessionEndChallenge
45
+ */
46
+ component?: string;
47
+ /**
48
+ *
49
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
50
+ * @memberof SessionEndChallenge
51
+ */
52
+ responseErrors?: { [key: string]: Array<ErrorDetail>; };
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof SessionEndChallenge
57
+ */
58
+ pendingUser: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof SessionEndChallenge
63
+ */
64
+ pendingUserAvatar: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof SessionEndChallenge
69
+ */
70
+ applicationName?: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof SessionEndChallenge
75
+ */
76
+ applicationLaunchUrl?: string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof SessionEndChallenge
81
+ */
82
+ invalidationFlowUrl?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof SessionEndChallenge
87
+ */
88
+ brandName: string;
89
+ }
90
+
91
+ /**
92
+ * Check if a given object implements the SessionEndChallenge interface.
93
+ */
94
+ export function instanceOfSessionEndChallenge(value: object): boolean {
95
+ let isInstance = true;
96
+ isInstance = isInstance && "pendingUser" in value;
97
+ isInstance = isInstance && "pendingUserAvatar" in value;
98
+ isInstance = isInstance && "brandName" in value;
99
+
100
+ return isInstance;
101
+ }
102
+
103
+ export function SessionEndChallengeFromJSON(json: any): SessionEndChallenge {
104
+ return SessionEndChallengeFromJSONTyped(json, false);
105
+ }
106
+
107
+ export function SessionEndChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionEndChallenge {
108
+ if ((json === undefined) || (json === null)) {
109
+ return json;
110
+ }
111
+ return {
112
+
113
+ 'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
114
+ 'component': !exists(json, 'component') ? undefined : json['component'],
115
+ 'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
116
+ 'pendingUser': json['pending_user'],
117
+ 'pendingUserAvatar': json['pending_user_avatar'],
118
+ 'applicationName': !exists(json, 'application_name') ? undefined : json['application_name'],
119
+ 'applicationLaunchUrl': !exists(json, 'application_launch_url') ? undefined : json['application_launch_url'],
120
+ 'invalidationFlowUrl': !exists(json, 'invalidation_flow_url') ? undefined : json['invalidation_flow_url'],
121
+ 'brandName': json['brand_name'],
122
+ };
123
+ }
124
+
125
+ export function SessionEndChallengeToJSON(value?: SessionEndChallenge | null): any {
126
+ if (value === undefined) {
127
+ return undefined;
128
+ }
129
+ if (value === null) {
130
+ return null;
131
+ }
132
+ return {
133
+
134
+ 'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
135
+ 'component': value.component,
136
+ 'response_errors': value.responseErrors,
137
+ 'pending_user': value.pendingUser,
138
+ 'pending_user_avatar': value.pendingUserAvatar,
139
+ 'application_name': value.applicationName,
140
+ 'application_launch_url': value.applicationLaunchUrl,
141
+ 'invalidation_flow_url': value.invalidationFlowUrl,
142
+ 'brand_name': value.brandName,
143
+ };
144
+ }
145
+
@@ -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';