@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
@@ -579,6 +579,7 @@ src/models/SelectableStage.ts
579
579
  src/models/ServiceConnection.ts
580
580
  src/models/ServiceConnectionRequest.ts
581
581
  src/models/ServiceConnectionState.ts
582
+ src/models/SessionEndChallenge.ts
582
583
  src/models/SessionUser.ts
583
584
  src/models/Settings.ts
584
585
  src/models/SettingsRequest.ts
@@ -376,6 +376,7 @@ export interface ProvidersSamlDestroyRequest {
376
376
  export interface ProvidersSamlImportMetadataCreateRequest {
377
377
  name: string;
378
378
  authorizationFlow: string;
379
+ invalidationFlow: string;
379
380
  file: Blob;
380
381
  }
381
382
  export interface ProvidersSamlListRequest {
@@ -389,6 +390,7 @@ export interface ProvidersSamlListRequest {
389
390
  defaultRelayState?: string;
390
391
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
391
392
  encryptionKp?: string;
393
+ invalidationFlow?: string;
392
394
  isBackchannel?: boolean;
393
395
  issuer?: string;
394
396
  name?: string;
@@ -3286,6 +3286,9 @@ class ProvidersApi extends runtime.BaseAPI {
3286
3286
  if (requestParameters.authorizationFlow === null || requestParameters.authorizationFlow === undefined) {
3287
3287
  throw new runtime.RequiredError('authorizationFlow', 'Required parameter requestParameters.authorizationFlow was null or undefined when calling providersSamlImportMetadataCreate.');
3288
3288
  }
3289
+ if (requestParameters.invalidationFlow === null || requestParameters.invalidationFlow === undefined) {
3290
+ throw new runtime.RequiredError('invalidationFlow', 'Required parameter requestParameters.invalidationFlow was null or undefined when calling providersSamlImportMetadataCreate.');
3291
+ }
3289
3292
  if (requestParameters.file === null || requestParameters.file === undefined) {
3290
3293
  throw new runtime.RequiredError('file', 'Required parameter requestParameters.file was null or undefined when calling providersSamlImportMetadataCreate.');
3291
3294
  }
@@ -3319,6 +3322,9 @@ class ProvidersApi extends runtime.BaseAPI {
3319
3322
  if (requestParameters.authorizationFlow !== undefined) {
3320
3323
  formParams.append('authorization_flow', requestParameters.authorizationFlow);
3321
3324
  }
3325
+ if (requestParameters.invalidationFlow !== undefined) {
3326
+ formParams.append('invalidation_flow', requestParameters.invalidationFlow);
3327
+ }
3322
3328
  if (requestParameters.file !== undefined) {
3323
3329
  formParams.append('file', requestParameters.file);
3324
3330
  }
@@ -3376,6 +3382,9 @@ class ProvidersApi extends runtime.BaseAPI {
3376
3382
  if (requestParameters.encryptionKp !== undefined) {
3377
3383
  queryParameters['encryption_kp'] = requestParameters.encryptionKp;
3378
3384
  }
3385
+ if (requestParameters.invalidationFlow !== undefined) {
3386
+ queryParameters['invalidation_flow'] = requestParameters.invalidationFlow;
3387
+ }
3379
3388
  if (requestParameters.isBackchannel !== undefined) {
3380
3389
  queryParameters['is_backchannel'] = requestParameters.isBackchannel;
3381
3390
  }
@@ -376,6 +376,7 @@ export interface ProvidersSamlDestroyRequest {
376
376
  export interface ProvidersSamlImportMetadataCreateRequest {
377
377
  name: string;
378
378
  authorizationFlow: string;
379
+ invalidationFlow: string;
379
380
  file: Blob;
380
381
  }
381
382
  export interface ProvidersSamlListRequest {
@@ -389,6 +390,7 @@ export interface ProvidersSamlListRequest {
389
390
  defaultRelayState?: string;
390
391
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
391
392
  encryptionKp?: string;
393
+ invalidationFlow?: string;
392
394
  isBackchannel?: boolean;
393
395
  issuer?: string;
394
396
  name?: string;
@@ -3283,6 +3283,9 @@ export class ProvidersApi extends runtime.BaseAPI {
3283
3283
  if (requestParameters.authorizationFlow === null || requestParameters.authorizationFlow === undefined) {
3284
3284
  throw new runtime.RequiredError('authorizationFlow', 'Required parameter requestParameters.authorizationFlow was null or undefined when calling providersSamlImportMetadataCreate.');
3285
3285
  }
3286
+ if (requestParameters.invalidationFlow === null || requestParameters.invalidationFlow === undefined) {
3287
+ throw new runtime.RequiredError('invalidationFlow', 'Required parameter requestParameters.invalidationFlow was null or undefined when calling providersSamlImportMetadataCreate.');
3288
+ }
3286
3289
  if (requestParameters.file === null || requestParameters.file === undefined) {
3287
3290
  throw new runtime.RequiredError('file', 'Required parameter requestParameters.file was null or undefined when calling providersSamlImportMetadataCreate.');
3288
3291
  }
@@ -3316,6 +3319,9 @@ export class ProvidersApi extends runtime.BaseAPI {
3316
3319
  if (requestParameters.authorizationFlow !== undefined) {
3317
3320
  formParams.append('authorization_flow', requestParameters.authorizationFlow);
3318
3321
  }
3322
+ if (requestParameters.invalidationFlow !== undefined) {
3323
+ formParams.append('invalidation_flow', requestParameters.invalidationFlow);
3324
+ }
3319
3325
  if (requestParameters.file !== undefined) {
3320
3326
  formParams.append('file', requestParameters.file);
3321
3327
  }
@@ -3373,6 +3379,9 @@ export class ProvidersApi extends runtime.BaseAPI {
3373
3379
  if (requestParameters.encryptionKp !== undefined) {
3374
3380
  queryParameters['encryption_kp'] = requestParameters.encryptionKp;
3375
3381
  }
3382
+ if (requestParameters.invalidationFlow !== undefined) {
3383
+ queryParameters['invalidation_flow'] = requestParameters.invalidationFlow;
3384
+ }
3376
3385
  if (requestParameters.isBackchannel !== undefined) {
3377
3386
  queryParameters['is_backchannel'] = requestParameters.isBackchannel;
3378
3387
  }
@@ -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';
@@ -32,6 +32,7 @@ import { PasswordChallengeFromJSONTyped, PasswordChallengeToJSON, } from './Pass
32
32
  import { PlexAuthenticationChallengeFromJSONTyped, PlexAuthenticationChallengeToJSON, } from './PlexAuthenticationChallenge';
33
33
  import { PromptChallengeFromJSONTyped, PromptChallengeToJSON, } from './PromptChallenge';
34
34
  import { RedirectChallengeFromJSONTyped, RedirectChallengeToJSON, } from './RedirectChallenge';
35
+ import { SessionEndChallengeFromJSONTyped, SessionEndChallengeToJSON, } from './SessionEndChallenge';
35
36
  import { ShellChallengeFromJSONTyped, ShellChallengeToJSON, } from './ShellChallenge';
36
37
  import { UserLoginChallengeFromJSONTyped, UserLoginChallengeToJSON, } from './UserLoginChallenge';
37
38
  export function ChallengeTypesFromJSON(json) {
@@ -82,6 +83,8 @@ export function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
82
83
  return Object.assign(Object.assign({}, PasswordChallengeFromJSONTyped(json, true)), { component: 'ak-stage-password' });
83
84
  case 'ak-stage-prompt':
84
85
  return Object.assign(Object.assign({}, PromptChallengeFromJSONTyped(json, true)), { component: 'ak-stage-prompt' });
86
+ case 'ak-stage-session-end':
87
+ return Object.assign(Object.assign({}, SessionEndChallengeFromJSONTyped(json, true)), { component: 'ak-stage-session-end' });
85
88
  case 'ak-stage-user-login':
86
89
  return Object.assign(Object.assign({}, UserLoginChallengeFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
87
90
  case 'xak-flow-redirect':
@@ -140,6 +143,8 @@ export function ChallengeTypesToJSON(value) {
140
143
  return PasswordChallengeToJSON(value);
141
144
  case 'ak-stage-prompt':
142
145
  return PromptChallengeToJSON(value);
146
+ case 'ak-stage-session-end':
147
+ return SessionEndChallengeToJSON(value);
143
148
  case 'ak-stage-user-login':
144
149
  return UserLoginChallengeToJSON(value);
145
150
  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}
@@ -21,6 +21,7 @@ export function instanceOfLDAPOutpostConfig(value) {
21
21
  isInstance = isInstance && "pk" in value;
22
22
  isInstance = isInstance && "name" in value;
23
23
  isInstance = isInstance && "bindFlowSlug" in value;
24
+ isInstance = isInstance && "unbindFlowSlug" in value;
24
25
  isInstance = isInstance && "applicationSlug" in value;
25
26
  return isInstance;
26
27
  }
@@ -36,6 +37,7 @@ export function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'name': json['name'],
37
38
  'baseDn': !exists(json, 'base_dn') ? undefined : json['base_dn'],
38
39
  'bindFlowSlug': json['bind_flow_slug'],
40
+ 'unbindFlowSlug': json['unbind_flow_slug'],
39
41
  'applicationSlug': json['application_slug'],
40
42
  'certificate': !exists(json, 'certificate') ? undefined : json['certificate'],
41
43
  'tlsServerName': !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>}
@@ -21,6 +21,7 @@ export function instanceOfLDAPProvider(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;
@@ -44,6 +45,7 @@ export function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
44
45
  'name': json['name'],
45
46
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
46
47
  'authorizationFlow': json['authorization_flow'],
48
+ 'invalidationFlow': json['invalidation_flow'],
47
49
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
48
50
  'component': json['component'],
49
51
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -75,6 +77,7 @@ export function LDAPProviderToJSON(value) {
75
77
  'name': value.name,
76
78
  'authentication_flow': value.authenticationFlow,
77
79
  'authorization_flow': value.authorizationFlow,
80
+ 'invalidation_flow': value.invalidationFlow,
78
81
  'property_mappings': value.propertyMappings,
79
82
  'base_dn': value.baseDn,
80
83
  'certificate': value.certificate,
@@ -34,6 +34,12 @@ export interface LDAPProviderRequest {
34
34
  * @memberof LDAPProviderRequest
35
35
  */
36
36
  authorizationFlow: string;
37
+ /**
38
+ * Flow used ending the session from a provider.
39
+ * @type {string}
40
+ * @memberof LDAPProviderRequest
41
+ */
42
+ invalidationFlow: string;
37
43
  /**
38
44
  *
39
45
  * @type {Array<string>}
@@ -20,6 +20,7 @@ export function instanceOfLDAPProviderRequest(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
  return isInstance;
24
25
  }
25
26
  export function LDAPProviderRequestFromJSON(json) {
@@ -33,6 +34,7 @@ export function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
33
34
  'name': json['name'],
34
35
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
35
36
  'authorizationFlow': json['authorization_flow'],
37
+ 'invalidationFlow': json['invalidation_flow'],
36
38
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
37
39
  'baseDn': !exists(json, 'base_dn') ? undefined : json['base_dn'],
38
40
  'certificate': !exists(json, 'certificate') ? undefined : json['certificate'],
@@ -55,6 +57,7 @@ export function LDAPProviderRequestToJSON(value) {
55
57
  'name': value.name,
56
58
  'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
60
+ 'invalidation_flow': value.invalidationFlow,
58
61
  'property_mappings': value.propertyMappings,
59
62
  'base_dn': value.baseDn,
60
63
  'certificate': value.certificate,
@@ -42,6 +42,12 @@ export interface OAuth2Provider {
42
42
  * @memberof OAuth2Provider
43
43
  */
44
44
  authorizationFlow: string;
45
+ /**
46
+ * Flow used ending the session from a provider.
47
+ * @type {string}
48
+ * @memberof OAuth2Provider
49
+ */
50
+ invalidationFlow: string;
45
51
  /**
46
52
  *
47
53
  * @type {Array<string>}
@@ -23,6 +23,7 @@ export function instanceOfOAuth2Provider(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;
@@ -45,6 +46,7 @@ export function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
45
46
  'name': json['name'],
46
47
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
47
48
  'authorizationFlow': json['authorization_flow'],
49
+ 'invalidationFlow': json['invalidation_flow'],
48
50
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
49
51
  'component': json['component'],
50
52
  'assignedApplicationSlug': json['assigned_application_slug'],
@@ -79,6 +81,7 @@ export function OAuth2ProviderToJSON(value) {
79
81
  'name': value.name,
80
82
  'authentication_flow': value.authenticationFlow,
81
83
  'authorization_flow': value.authorizationFlow,
84
+ 'invalidation_flow': value.invalidationFlow,
82
85
  'property_mappings': value.propertyMappings,
83
86
  'client_type': ClientTypeEnumToJSON(value.clientType),
84
87
  'client_id': value.clientId,
@@ -36,6 +36,12 @@ export interface OAuth2ProviderRequest {
36
36
  * @memberof OAuth2ProviderRequest
37
37
  */
38
38
  authorizationFlow: string;
39
+ /**
40
+ * Flow used ending the session from a provider.
41
+ * @type {string}
42
+ * @memberof OAuth2ProviderRequest
43
+ */
44
+ invalidationFlow: string;
39
45
  /**
40
46
  *
41
47
  * @type {Array<string>}
@@ -22,6 +22,7 @@ export function instanceOfOAuth2ProviderRequest(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
  return isInstance;
26
27
  }
27
28
  export function OAuth2ProviderRequestFromJSON(json) {
@@ -35,6 +36,7 @@ export function OAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
35
36
  'name': json['name'],
36
37
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
37
38
  'authorizationFlow': json['authorization_flow'],
39
+ 'invalidationFlow': json['invalidation_flow'],
38
40
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
39
41
  'clientType': !exists(json, 'client_type') ? undefined : ClientTypeEnumFromJSON(json['client_type']),
40
42
  'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
@@ -61,6 +63,7 @@ export function OAuth2ProviderRequestToJSON(value) {
61
63
  'name': value.name,
62
64
  'authentication_flow': value.authenticationFlow,
63
65
  'authorization_flow': value.authorizationFlow,
66
+ 'invalidation_flow': value.invalidationFlow,
64
67
  'property_mappings': value.propertyMappings,
65
68
  'client_type': ClientTypeEnumToJSON(value.clientType),
66
69
  'client_id': value.clientId,
@@ -34,6 +34,12 @@ export interface PatchedLDAPProviderRequest {
34
34
  * @memberof PatchedLDAPProviderRequest
35
35
  */
36
36
  authorizationFlow?: string;
37
+ /**
38
+ * Flow used ending the session from a provider.
39
+ * @type {string}
40
+ * @memberof PatchedLDAPProviderRequest
41
+ */
42
+ invalidationFlow?: string;
37
43
  /**
38
44
  *
39
45
  * @type {Array<string>}
@@ -31,6 +31,7 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminato
31
31
  'name': !exists(json, 'name') ? undefined : json['name'],
32
32
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
33
33
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
34
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
34
35
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
35
36
  'baseDn': !exists(json, 'base_dn') ? undefined : json['base_dn'],
36
37
  'certificate': !exists(json, 'certificate') ? undefined : json['certificate'],
@@ -53,6 +54,7 @@ export function PatchedLDAPProviderRequestToJSON(value) {
53
54
  'name': value.name,
54
55
  'authentication_flow': value.authenticationFlow,
55
56
  'authorization_flow': value.authorizationFlow,
57
+ 'invalidation_flow': value.invalidationFlow,
56
58
  'property_mappings': value.propertyMappings,
57
59
  'base_dn': value.baseDn,
58
60
  'certificate': value.certificate,
@@ -36,6 +36,12 @@ export interface PatchedOAuth2ProviderRequest {
36
36
  * @memberof PatchedOAuth2ProviderRequest
37
37
  */
38
38
  authorizationFlow?: string;
39
+ /**
40
+ * Flow used ending the session from a provider.
41
+ * @type {string}
42
+ * @memberof PatchedOAuth2ProviderRequest
43
+ */
44
+ invalidationFlow?: string;
39
45
  /**
40
46
  *
41
47
  * @type {Array<string>}
@@ -33,6 +33,7 @@ export function PatchedOAuth2ProviderRequestFromJSONTyped(json, ignoreDiscrimina
33
33
  'name': !exists(json, 'name') ? undefined : json['name'],
34
34
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
35
35
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
36
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
36
37
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
37
38
  'clientType': !exists(json, 'client_type') ? undefined : ClientTypeEnumFromJSON(json['client_type']),
38
39
  'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
@@ -59,6 +60,7 @@ export function PatchedOAuth2ProviderRequestToJSON(value) {
59
60
  'name': value.name,
60
61
  'authentication_flow': value.authenticationFlow,
61
62
  'authorization_flow': value.authorizationFlow,
63
+ 'invalidation_flow': value.invalidationFlow,
62
64
  'property_mappings': value.propertyMappings,
63
65
  'client_type': ClientTypeEnumToJSON(value.clientType),
64
66
  'client_id': value.clientId,
@@ -34,6 +34,12 @@ export interface PatchedProxyProviderRequest {
34
34
  * @memberof PatchedProxyProviderRequest
35
35
  */
36
36
  authorizationFlow?: string;
37
+ /**
38
+ * Flow used ending the session from a provider.
39
+ * @type {string}
40
+ * @memberof PatchedProxyProviderRequest
41
+ */
42
+ invalidationFlow?: string;
37
43
  /**
38
44
  *
39
45
  * @type {Array<string>}
@@ -31,6 +31,7 @@ export function PatchedProxyProviderRequestFromJSONTyped(json, ignoreDiscriminat
31
31
  'name': !exists(json, 'name') ? undefined : json['name'],
32
32
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
33
33
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
34
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
34
35
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
35
36
  'internalHost': !exists(json, 'internal_host') ? undefined : json['internal_host'],
36
37
  'externalHost': !exists(json, 'external_host') ? undefined : json['external_host'],
@@ -59,6 +60,7 @@ export function PatchedProxyProviderRequestToJSON(value) {
59
60
  'name': value.name,
60
61
  'authentication_flow': value.authenticationFlow,
61
62
  'authorization_flow': value.authorizationFlow,
63
+ 'invalidation_flow': value.invalidationFlow,
62
64
  'property_mappings': value.propertyMappings,
63
65
  'internal_host': value.internalHost,
64
66
  'external_host': value.externalHost,
@@ -33,6 +33,12 @@ export interface PatchedRACProviderRequest {
33
33
  * @memberof PatchedRACProviderRequest
34
34
  */
35
35
  authorizationFlow?: string;
36
+ /**
37
+ * Flow used ending the session from a provider.
38
+ * @type {string}
39
+ * @memberof PatchedRACProviderRequest
40
+ */
41
+ invalidationFlow?: string;
36
42
  /**
37
43
  *
38
44
  * @type {Array<string>}
@@ -30,6 +30,7 @@ export function PatchedRACProviderRequestFromJSONTyped(json, ignoreDiscriminator
30
30
  'name': !exists(json, 'name') ? undefined : json['name'],
31
31
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
32
32
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
33
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
33
34
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
34
35
  'settings': !exists(json, 'settings') ? undefined : json['settings'],
35
36
  'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
@@ -47,6 +48,7 @@ export function PatchedRACProviderRequestToJSON(value) {
47
48
  'name': value.name,
48
49
  'authentication_flow': value.authenticationFlow,
49
50
  'authorization_flow': value.authorizationFlow,
51
+ 'invalidation_flow': value.invalidationFlow,
50
52
  'property_mappings': value.propertyMappings,
51
53
  'settings': value.settings,
52
54
  'connection_expiry': value.connectionExpiry,
@@ -33,6 +33,12 @@ export interface PatchedRadiusProviderRequest {
33
33
  * @memberof PatchedRadiusProviderRequest
34
34
  */
35
35
  authorizationFlow?: string;
36
+ /**
37
+ * Flow used ending the session from a provider.
38
+ * @type {string}
39
+ * @memberof PatchedRadiusProviderRequest
40
+ */
41
+ invalidationFlow?: string;
36
42
  /**
37
43
  *
38
44
  * @type {Array<string>}
@@ -30,6 +30,7 @@ export function PatchedRadiusProviderRequestFromJSONTyped(json, ignoreDiscrimina
30
30
  'name': !exists(json, 'name') ? undefined : json['name'],
31
31
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
32
32
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
33
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
33
34
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
34
35
  'clientNetworks': !exists(json, 'client_networks') ? undefined : json['client_networks'],
35
36
  'sharedSecret': !exists(json, 'shared_secret') ? undefined : json['shared_secret'],
@@ -47,6 +48,7 @@ export function PatchedRadiusProviderRequestToJSON(value) {
47
48
  'name': value.name,
48
49
  'authentication_flow': value.authenticationFlow,
49
50
  'authorization_flow': value.authorizationFlow,
51
+ 'invalidation_flow': value.invalidationFlow,
50
52
  'property_mappings': value.propertyMappings,
51
53
  'client_networks': value.clientNetworks,
52
54
  'shared_secret': value.sharedSecret,
@@ -36,6 +36,12 @@ export interface PatchedSAMLProviderRequest {
36
36
  * @memberof PatchedSAMLProviderRequest
37
37
  */
38
38
  authorizationFlow?: string;
39
+ /**
40
+ * Flow used ending the session from a provider.
41
+ * @type {string}
42
+ * @memberof PatchedSAMLProviderRequest
43
+ */
44
+ invalidationFlow?: string;
39
45
  /**
40
46
  *
41
47
  * @type {Array<string>}
@@ -33,6 +33,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminato
33
33
  'name': !exists(json, 'name') ? undefined : json['name'],
34
34
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
35
35
  'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
36
+ 'invalidationFlow': !exists(json, 'invalidation_flow') ? undefined : json['invalidation_flow'],
36
37
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
37
38
  'acsUrl': !exists(json, 'acs_url') ? undefined : json['acs_url'],
38
39
  'audience': !exists(json, 'audience') ? undefined : json['audience'],
@@ -63,6 +64,7 @@ export function PatchedSAMLProviderRequestToJSON(value) {
63
64
  'name': value.name,
64
65
  'authentication_flow': value.authenticationFlow,
65
66
  'authorization_flow': value.authorizationFlow,
67
+ 'invalidation_flow': value.invalidationFlow,
66
68
  'property_mappings': value.propertyMappings,
67
69
  'acs_url': value.acsUrl,
68
70
  'audience': value.audience,
@@ -39,6 +39,12 @@ export interface PatchedSCIMProviderRequest {
39
39
  * @memberof PatchedSCIMProviderRequest
40
40
  */
41
41
  url?: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof PatchedSCIMProviderRequest
46
+ */
47
+ verifyCertificates?: boolean;
42
48
  /**
43
49
  * Authentication token
44
50
  * @type {string}
@@ -31,6 +31,7 @@ export function PatchedSCIMProviderRequestFromJSONTyped(json, ignoreDiscriminato
31
31
  'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
32
32
  'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
33
33
  'url': !exists(json, 'url') ? undefined : json['url'],
34
+ 'verifyCertificates': !exists(json, 'verify_certificates') ? undefined : json['verify_certificates'],
34
35
  'token': !exists(json, 'token') ? undefined : json['token'],
35
36
  'excludeUsersServiceAccount': !exists(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
36
37
  'filterGroup': !exists(json, 'filter_group') ? undefined : json['filter_group'],
@@ -48,6 +49,7 @@ export function PatchedSCIMProviderRequestToJSON(value) {
48
49
  'property_mappings': value.propertyMappings,
49
50
  'property_mappings_group': value.propertyMappingsGroup,
50
51
  'url': value.url,
52
+ 'verify_certificates': value.verifyCertificates,
51
53
  'token': value.token,
52
54
  'exclude_users_service_account': value.excludeUsersServiceAccount,
53
55
  'filter_group': value.filterGroup,
@@ -39,6 +39,12 @@ export interface Provider {
39
39
  * @memberof Provider
40
40
  */
41
41
  authorizationFlow: string;
42
+ /**
43
+ * Flow used ending the session from a provider.
44
+ * @type {string}
45
+ * @memberof Provider
46
+ */
47
+ invalidationFlow: string;
42
48
  /**
43
49
  *
44
50
  * @type {Array<string>}
@@ -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
  }