@goauthentik/api 2024.8.3-1728649674 → 2024.8.3-1728918276

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/dist/apis/ProvidersApi.d.ts +2 -0
  3. package/dist/apis/ProvidersApi.js +9 -0
  4. package/dist/esm/apis/ProvidersApi.d.ts +2 -0
  5. package/dist/esm/apis/ProvidersApi.js +9 -0
  6. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  7. package/dist/esm/models/ChallengeTypes.js +5 -0
  8. package/dist/esm/models/LDAPOutpostConfig.d.ts +6 -0
  9. package/dist/esm/models/LDAPOutpostConfig.js +2 -0
  10. package/dist/esm/models/LDAPProvider.d.ts +6 -0
  11. package/dist/esm/models/LDAPProvider.js +3 -0
  12. package/dist/esm/models/LDAPProviderRequest.d.ts +6 -0
  13. package/dist/esm/models/LDAPProviderRequest.js +3 -0
  14. package/dist/esm/models/OAuth2Provider.d.ts +6 -0
  15. package/dist/esm/models/OAuth2Provider.js +3 -0
  16. package/dist/esm/models/OAuth2ProviderRequest.d.ts +6 -0
  17. package/dist/esm/models/OAuth2ProviderRequest.js +3 -0
  18. package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +6 -0
  19. package/dist/esm/models/PatchedLDAPProviderRequest.js +2 -0
  20. package/dist/esm/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
  21. package/dist/esm/models/PatchedOAuth2ProviderRequest.js +2 -0
  22. package/dist/esm/models/PatchedProxyProviderRequest.d.ts +6 -0
  23. package/dist/esm/models/PatchedProxyProviderRequest.js +2 -0
  24. package/dist/esm/models/PatchedRACProviderRequest.d.ts +6 -0
  25. package/dist/esm/models/PatchedRACProviderRequest.js +2 -0
  26. package/dist/esm/models/PatchedRadiusProviderRequest.d.ts +6 -0
  27. package/dist/esm/models/PatchedRadiusProviderRequest.js +2 -0
  28. package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +6 -0
  29. package/dist/esm/models/PatchedSAMLProviderRequest.js +2 -0
  30. package/dist/esm/models/PatchedSCIMProviderRequest.d.ts +6 -0
  31. package/dist/esm/models/PatchedSCIMProviderRequest.js +2 -0
  32. package/dist/esm/models/Provider.d.ts +6 -0
  33. package/dist/esm/models/Provider.js +3 -0
  34. package/dist/esm/models/ProviderRequest.d.ts +6 -0
  35. package/dist/esm/models/ProviderRequest.js +3 -0
  36. package/dist/esm/models/ProxyProvider.d.ts +6 -0
  37. package/dist/esm/models/ProxyProvider.js +3 -0
  38. package/dist/esm/models/ProxyProviderRequest.d.ts +6 -0
  39. package/dist/esm/models/ProxyProviderRequest.js +3 -0
  40. package/dist/esm/models/RACProvider.d.ts +6 -0
  41. package/dist/esm/models/RACProvider.js +3 -0
  42. package/dist/esm/models/RACProviderRequest.d.ts +6 -0
  43. package/dist/esm/models/RACProviderRequest.js +3 -0
  44. package/dist/esm/models/RadiusProvider.d.ts +6 -0
  45. package/dist/esm/models/RadiusProvider.js +3 -0
  46. package/dist/esm/models/RadiusProviderRequest.d.ts +6 -0
  47. package/dist/esm/models/RadiusProviderRequest.js +3 -0
  48. package/dist/esm/models/SAMLProvider.d.ts +6 -0
  49. package/dist/esm/models/SAMLProvider.js +3 -0
  50. package/dist/esm/models/SAMLProviderRequest.d.ts +6 -0
  51. package/dist/esm/models/SAMLProviderRequest.js +3 -0
  52. package/dist/esm/models/SCIMProvider.d.ts +6 -0
  53. package/dist/esm/models/SCIMProvider.js +2 -0
  54. package/dist/esm/models/SCIMProviderRequest.d.ts +6 -0
  55. package/dist/esm/models/SCIMProviderRequest.js +2 -0
  56. package/dist/esm/models/SessionEndChallenge.d.ts +83 -0
  57. package/dist/esm/models/SessionEndChallenge.js +63 -0
  58. package/dist/esm/models/index.d.ts +1 -0
  59. package/dist/esm/models/index.js +1 -0
  60. package/dist/models/ChallengeTypes.d.ts +3 -0
  61. package/dist/models/ChallengeTypes.js +5 -0
  62. package/dist/models/LDAPOutpostConfig.d.ts +6 -0
  63. package/dist/models/LDAPOutpostConfig.js +2 -0
  64. package/dist/models/LDAPProvider.d.ts +6 -0
  65. package/dist/models/LDAPProvider.js +3 -0
  66. package/dist/models/LDAPProviderRequest.d.ts +6 -0
  67. package/dist/models/LDAPProviderRequest.js +3 -0
  68. package/dist/models/OAuth2Provider.d.ts +6 -0
  69. package/dist/models/OAuth2Provider.js +3 -0
  70. package/dist/models/OAuth2ProviderRequest.d.ts +6 -0
  71. package/dist/models/OAuth2ProviderRequest.js +3 -0
  72. package/dist/models/PatchedLDAPProviderRequest.d.ts +6 -0
  73. package/dist/models/PatchedLDAPProviderRequest.js +2 -0
  74. package/dist/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
  75. package/dist/models/PatchedOAuth2ProviderRequest.js +2 -0
  76. package/dist/models/PatchedProxyProviderRequest.d.ts +6 -0
  77. package/dist/models/PatchedProxyProviderRequest.js +2 -0
  78. package/dist/models/PatchedRACProviderRequest.d.ts +6 -0
  79. package/dist/models/PatchedRACProviderRequest.js +2 -0
  80. package/dist/models/PatchedRadiusProviderRequest.d.ts +6 -0
  81. package/dist/models/PatchedRadiusProviderRequest.js +2 -0
  82. package/dist/models/PatchedSAMLProviderRequest.d.ts +6 -0
  83. package/dist/models/PatchedSAMLProviderRequest.js +2 -0
  84. package/dist/models/PatchedSCIMProviderRequest.d.ts +6 -0
  85. package/dist/models/PatchedSCIMProviderRequest.js +2 -0
  86. package/dist/models/Provider.d.ts +6 -0
  87. package/dist/models/Provider.js +3 -0
  88. package/dist/models/ProviderRequest.d.ts +6 -0
  89. package/dist/models/ProviderRequest.js +3 -0
  90. package/dist/models/ProxyProvider.d.ts +6 -0
  91. package/dist/models/ProxyProvider.js +3 -0
  92. package/dist/models/ProxyProviderRequest.d.ts +6 -0
  93. package/dist/models/ProxyProviderRequest.js +3 -0
  94. package/dist/models/RACProvider.d.ts +6 -0
  95. package/dist/models/RACProvider.js +3 -0
  96. package/dist/models/RACProviderRequest.d.ts +6 -0
  97. package/dist/models/RACProviderRequest.js +3 -0
  98. package/dist/models/RadiusProvider.d.ts +6 -0
  99. package/dist/models/RadiusProvider.js +3 -0
  100. package/dist/models/RadiusProviderRequest.d.ts +6 -0
  101. package/dist/models/RadiusProviderRequest.js +3 -0
  102. package/dist/models/SAMLProvider.d.ts +6 -0
  103. package/dist/models/SAMLProvider.js +3 -0
  104. package/dist/models/SAMLProviderRequest.d.ts +6 -0
  105. package/dist/models/SAMLProviderRequest.js +3 -0
  106. package/dist/models/SCIMProvider.d.ts +6 -0
  107. package/dist/models/SCIMProvider.js +2 -0
  108. package/dist/models/SCIMProviderRequest.d.ts +6 -0
  109. package/dist/models/SCIMProviderRequest.js +2 -0
  110. package/dist/models/SessionEndChallenge.d.ts +83 -0
  111. package/dist/models/SessionEndChallenge.js +70 -0
  112. package/dist/models/index.d.ts +1 -0
  113. package/dist/models/index.js +1 -0
  114. package/package.json +1 -1
  115. package/src/apis/ProvidersApi.ts +14 -0
  116. package/src/models/ChallengeTypes.ts +12 -1
  117. package/src/models/LDAPOutpostConfig.ts +8 -0
  118. package/src/models/LDAPProvider.ts +9 -0
  119. package/src/models/LDAPProviderRequest.ts +9 -0
  120. package/src/models/OAuth2Provider.ts +9 -0
  121. package/src/models/OAuth2ProviderRequest.ts +9 -0
  122. package/src/models/PatchedLDAPProviderRequest.ts +8 -0
  123. package/src/models/PatchedOAuth2ProviderRequest.ts +8 -0
  124. package/src/models/PatchedProxyProviderRequest.ts +8 -0
  125. package/src/models/PatchedRACProviderRequest.ts +8 -0
  126. package/src/models/PatchedRadiusProviderRequest.ts +8 -0
  127. package/src/models/PatchedSAMLProviderRequest.ts +8 -0
  128. package/src/models/PatchedSCIMProviderRequest.ts +8 -0
  129. package/src/models/Provider.ts +9 -0
  130. package/src/models/ProviderRequest.ts +9 -0
  131. package/src/models/ProxyProvider.ts +9 -0
  132. package/src/models/ProxyProviderRequest.ts +9 -0
  133. package/src/models/RACProvider.ts +9 -0
  134. package/src/models/RACProviderRequest.ts +9 -0
  135. package/src/models/RadiusProvider.ts +9 -0
  136. package/src/models/RadiusProviderRequest.ts +9 -0
  137. package/src/models/SAMLProvider.ts +9 -0
  138. package/src/models/SAMLProviderRequest.ts +9 -0
  139. package/src/models/SCIMProvider.ts +8 -0
  140. package/src/models/SCIMProviderRequest.ts +8 -0
  141. package/src/models/SessionEndChallenge.ts +145 -0
  142. package/src/models/index.ts +1 -0
@@ -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,
@@ -81,6 +81,12 @@ export interface SCIMProvider {
81
81
  * @memberof SCIMProvider
82
82
  */
83
83
  url: string;
84
+ /**
85
+ *
86
+ * @type {boolean}
87
+ * @memberof SCIMProvider
88
+ */
89
+ verifyCertificates?: boolean;
84
90
  /**
85
91
  * Authentication token
86
92
  * @type {string}
@@ -48,6 +48,7 @@ export function SCIMProviderFromJSONTyped(json, ignoreDiscriminator) {
48
48
  'verboseNamePlural': json['verbose_name_plural'],
49
49
  'metaModelName': json['meta_model_name'],
50
50
  'url': json['url'],
51
+ 'verifyCertificates': !exists(json, 'verify_certificates') ? undefined : json['verify_certificates'],
51
52
  'token': json['token'],
52
53
  'excludeUsersServiceAccount': !exists(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
53
54
  'filterGroup': !exists(json, 'filter_group') ? undefined : json['filter_group'],
@@ -65,6 +66,7 @@ export function SCIMProviderToJSON(value) {
65
66
  'property_mappings': value.propertyMappings,
66
67
  'property_mappings_group': value.propertyMappingsGroup,
67
68
  'url': value.url,
69
+ 'verify_certificates': value.verifyCertificates,
68
70
  'token': value.token,
69
71
  'exclude_users_service_account': value.excludeUsersServiceAccount,
70
72
  'filter_group': value.filterGroup,
@@ -39,6 +39,12 @@ export interface SCIMProviderRequest {
39
39
  * @memberof SCIMProviderRequest
40
40
  */
41
41
  url: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof SCIMProviderRequest
46
+ */
47
+ verifyCertificates?: boolean;
42
48
  /**
43
49
  * Authentication token
44
50
  * @type {string}
@@ -34,6 +34,7 @@ export function SCIMProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
35
35
  'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
36
36
  'url': json['url'],
37
+ 'verifyCertificates': !exists(json, 'verify_certificates') ? undefined : json['verify_certificates'],
37
38
  'token': json['token'],
38
39
  'excludeUsersServiceAccount': !exists(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
39
40
  'filterGroup': !exists(json, 'filter_group') ? undefined : json['filter_group'],
@@ -51,6 +52,7 @@ export function SCIMProviderRequestToJSON(value) {
51
52
  'property_mappings': value.propertyMappings,
52
53
  'property_mappings_group': value.propertyMappingsGroup,
53
54
  'url': value.url,
55
+ 'verify_certificates': value.verifyCertificates,
54
56
  'token': value.token,
55
57
  'exclude_users_service_account': value.excludeUsersServiceAccount,
56
58
  'filter_group': value.filterGroup,
@@ -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';
@@ -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,