@goauthentik/api 2023.3.1-1679327702 → 2023.3.1-1679660792

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/apis/ProvidersApi.d.ts +1 -0
  2. package/dist/apis/ProvidersApi.js +3 -0
  3. package/dist/esm/apis/ProvidersApi.d.ts +1 -0
  4. package/dist/esm/apis/ProvidersApi.js +3 -0
  5. package/dist/esm/models/ApplicationProviderObj.d.ts +6 -0
  6. package/dist/esm/models/ApplicationProviderObj.js +2 -0
  7. package/dist/esm/models/LDAPProvider.d.ts +6 -0
  8. package/dist/esm/models/LDAPProvider.js +2 -0
  9. package/dist/esm/models/LDAPProviderRequest.d.ts +6 -0
  10. package/dist/esm/models/LDAPProviderRequest.js +2 -0
  11. package/dist/esm/models/OAuth2Provider.d.ts +6 -0
  12. package/dist/esm/models/OAuth2Provider.js +2 -0
  13. package/dist/esm/models/OAuth2ProviderRequest.d.ts +6 -0
  14. package/dist/esm/models/OAuth2ProviderRequest.js +2 -0
  15. package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +6 -0
  16. package/dist/esm/models/PatchedLDAPProviderRequest.js +2 -0
  17. package/dist/esm/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
  18. package/dist/esm/models/PatchedOAuth2ProviderRequest.js +2 -0
  19. package/dist/esm/models/PatchedProxyProviderRequest.d.ts +6 -0
  20. package/dist/esm/models/PatchedProxyProviderRequest.js +2 -0
  21. package/dist/esm/models/PatchedRadiusProviderRequest.d.ts +7 -1
  22. package/dist/esm/models/PatchedRadiusProviderRequest.js +2 -0
  23. package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +6 -0
  24. package/dist/esm/models/PatchedSAMLProviderRequest.js +2 -0
  25. package/dist/esm/models/Provider.d.ts +6 -0
  26. package/dist/esm/models/Provider.js +2 -0
  27. package/dist/esm/models/ProviderRequest.d.ts +6 -0
  28. package/dist/esm/models/ProviderRequest.js +2 -0
  29. package/dist/esm/models/ProxyProvider.d.ts +6 -0
  30. package/dist/esm/models/ProxyProvider.js +2 -0
  31. package/dist/esm/models/ProxyProviderRequest.d.ts +6 -0
  32. package/dist/esm/models/ProxyProviderRequest.js +2 -0
  33. package/dist/esm/models/RadiusOutpostConfig.d.ts +1 -1
  34. package/dist/esm/models/RadiusProvider.d.ts +7 -1
  35. package/dist/esm/models/RadiusProvider.js +2 -0
  36. package/dist/esm/models/RadiusProviderRequest.d.ts +7 -1
  37. package/dist/esm/models/RadiusProviderRequest.js +2 -0
  38. package/dist/esm/models/SAMLProvider.d.ts +6 -0
  39. package/dist/esm/models/SAMLProvider.js +2 -0
  40. package/dist/esm/models/SAMLProviderRequest.d.ts +6 -0
  41. package/dist/esm/models/SAMLProviderRequest.js +2 -0
  42. package/dist/models/ApplicationProviderObj.d.ts +6 -0
  43. package/dist/models/ApplicationProviderObj.js +2 -0
  44. package/dist/models/LDAPProvider.d.ts +6 -0
  45. package/dist/models/LDAPProvider.js +2 -0
  46. package/dist/models/LDAPProviderRequest.d.ts +6 -0
  47. package/dist/models/LDAPProviderRequest.js +2 -0
  48. package/dist/models/OAuth2Provider.d.ts +6 -0
  49. package/dist/models/OAuth2Provider.js +2 -0
  50. package/dist/models/OAuth2ProviderRequest.d.ts +6 -0
  51. package/dist/models/OAuth2ProviderRequest.js +2 -0
  52. package/dist/models/PatchedLDAPProviderRequest.d.ts +6 -0
  53. package/dist/models/PatchedLDAPProviderRequest.js +2 -0
  54. package/dist/models/PatchedOAuth2ProviderRequest.d.ts +6 -0
  55. package/dist/models/PatchedOAuth2ProviderRequest.js +2 -0
  56. package/dist/models/PatchedProxyProviderRequest.d.ts +6 -0
  57. package/dist/models/PatchedProxyProviderRequest.js +2 -0
  58. package/dist/models/PatchedRadiusProviderRequest.d.ts +7 -1
  59. package/dist/models/PatchedRadiusProviderRequest.js +2 -0
  60. package/dist/models/PatchedSAMLProviderRequest.d.ts +6 -0
  61. package/dist/models/PatchedSAMLProviderRequest.js +2 -0
  62. package/dist/models/Provider.d.ts +6 -0
  63. package/dist/models/Provider.js +2 -0
  64. package/dist/models/ProviderRequest.d.ts +6 -0
  65. package/dist/models/ProviderRequest.js +2 -0
  66. package/dist/models/ProxyProvider.d.ts +6 -0
  67. package/dist/models/ProxyProvider.js +2 -0
  68. package/dist/models/ProxyProviderRequest.d.ts +6 -0
  69. package/dist/models/ProxyProviderRequest.js +2 -0
  70. package/dist/models/RadiusOutpostConfig.d.ts +1 -1
  71. package/dist/models/RadiusProvider.d.ts +7 -1
  72. package/dist/models/RadiusProvider.js +2 -0
  73. package/dist/models/RadiusProviderRequest.d.ts +7 -1
  74. package/dist/models/RadiusProviderRequest.js +2 -0
  75. package/dist/models/SAMLProvider.d.ts +6 -0
  76. package/dist/models/SAMLProvider.js +2 -0
  77. package/dist/models/SAMLProviderRequest.d.ts +6 -0
  78. package/dist/models/SAMLProviderRequest.js +2 -0
  79. package/package.json +1 -1
  80. package/src/apis/ProvidersApi.ts +5 -0
  81. package/src/models/ApplicationProviderObj.ts +8 -0
  82. package/src/models/LDAPProvider.ts +8 -0
  83. package/src/models/LDAPProviderRequest.ts +8 -0
  84. package/src/models/OAuth2Provider.ts +8 -0
  85. package/src/models/OAuth2ProviderRequest.ts +8 -0
  86. package/src/models/PatchedLDAPProviderRequest.ts +8 -0
  87. package/src/models/PatchedOAuth2ProviderRequest.ts +8 -0
  88. package/src/models/PatchedProxyProviderRequest.ts +8 -0
  89. package/src/models/PatchedRadiusProviderRequest.ts +9 -1
  90. package/src/models/PatchedSAMLProviderRequest.ts +8 -0
  91. package/src/models/Provider.ts +8 -0
  92. package/src/models/ProviderRequest.ts +8 -0
  93. package/src/models/ProxyProvider.ts +8 -0
  94. package/src/models/ProxyProviderRequest.ts +8 -0
  95. package/src/models/RadiusOutpostConfig.ts +1 -1
  96. package/src/models/RadiusProvider.ts +9 -1
  97. package/src/models/RadiusProviderRequest.ts +9 -1
  98. package/src/models/SAMLProvider.ts +8 -0
  99. package/src/models/SAMLProviderRequest.ts +8 -0
@@ -27,6 +27,12 @@ export interface ApplicationProviderObj {
27
27
  * @memberof ApplicationProviderObj
28
28
  */
29
29
  name: string;
30
+ /**
31
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
32
+ * @type {string}
33
+ * @memberof ApplicationProviderObj
34
+ */
35
+ authenticationFlow?: string | null;
30
36
  /**
31
37
  * Flow used when authorizing this provider.
32
38
  * @type {string}
@@ -26,6 +26,7 @@ function ApplicationProviderObjFromJSONTyped(json, ignoreDiscriminator) {
26
26
  return {
27
27
  'pk': json['pk'],
28
28
  'name': json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'component': json['component'],
@@ -46,6 +47,7 @@ function ApplicationProviderObjToJSON(value) {
46
47
  }
47
48
  return {
48
49
  'name': value.name,
50
+ 'authentication_flow': value.authenticationFlow,
49
51
  'authorization_flow': value.authorizationFlow,
50
52
  'property_mappings': value.propertyMappings,
51
53
  };
@@ -28,6 +28,12 @@ export interface LDAPProvider {
28
28
  * @memberof LDAPProvider
29
29
  */
30
30
  name: string;
31
+ /**
32
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
33
+ * @type {string}
34
+ * @memberof LDAPProvider
35
+ */
36
+ authenticationFlow?: string | null;
31
37
  /**
32
38
  * Flow used when authorizing this provider.
33
39
  * @type {string}
@@ -27,6 +27,7 @@ function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'pk': json['pk'],
29
29
  'name': json['name'],
30
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
30
31
  'authorizationFlow': json['authorization_flow'],
31
32
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
32
33
  'component': json['component'],
@@ -56,6 +57,7 @@ function LDAPProviderToJSON(value) {
56
57
  }
57
58
  return {
58
59
  'name': value.name,
60
+ 'authentication_flow': value.authenticationFlow,
59
61
  'authorization_flow': value.authorizationFlow,
60
62
  'property_mappings': value.propertyMappings,
61
63
  'base_dn': value.baseDn,
@@ -22,6 +22,12 @@ export interface LDAPProviderRequest {
22
22
  * @memberof LDAPProviderRequest
23
23
  */
24
24
  name: string;
25
+ /**
26
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
27
+ * @type {string}
28
+ * @memberof LDAPProviderRequest
29
+ */
30
+ authenticationFlow?: string | null;
25
31
  /**
26
32
  * Flow used when authorizing this provider.
27
33
  * @type {string}
@@ -26,6 +26,7 @@ function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'name': json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'baseDn': !(0, runtime_1.exists)(json, 'base_dn') ? undefined : json['base_dn'],
@@ -48,6 +49,7 @@ function LDAPProviderRequestToJSON(value) {
48
49
  }
49
50
  return {
50
51
  'name': value.name,
52
+ 'authentication_flow': value.authenticationFlow,
51
53
  'authorization_flow': value.authorizationFlow,
52
54
  'property_mappings': value.propertyMappings,
53
55
  'base_dn': value.baseDn,
@@ -30,6 +30,12 @@ export interface OAuth2Provider {
30
30
  * @memberof OAuth2Provider
31
31
  */
32
32
  name: string;
33
+ /**
34
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
35
+ * @type {string}
36
+ * @memberof OAuth2Provider
37
+ */
38
+ authenticationFlow?: string | null;
33
39
  /**
34
40
  * Flow used when authorizing this provider.
35
41
  * @type {string}
@@ -29,6 +29,7 @@ function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
29
29
  return {
30
30
  'pk': json['pk'],
31
31
  'name': json['name'],
32
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
32
33
  'authorizationFlow': json['authorization_flow'],
33
34
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
34
35
  'component': json['component'],
@@ -61,6 +62,7 @@ function OAuth2ProviderToJSON(value) {
61
62
  }
62
63
  return {
63
64
  'name': value.name,
65
+ 'authentication_flow': value.authenticationFlow,
64
66
  'authorization_flow': value.authorizationFlow,
65
67
  'property_mappings': value.propertyMappings,
66
68
  'client_type': (0, ClientTypeEnum_1.ClientTypeEnumToJSON)(value.clientType),
@@ -24,6 +24,12 @@ export interface OAuth2ProviderRequest {
24
24
  * @memberof OAuth2ProviderRequest
25
25
  */
26
26
  name: string;
27
+ /**
28
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
29
+ * @type {string}
30
+ * @memberof OAuth2ProviderRequest
31
+ */
32
+ authenticationFlow?: string | null;
27
33
  /**
28
34
  * Flow used when authorizing this provider.
29
35
  * @type {string}
@@ -28,6 +28,7 @@ function OAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
28
28
  }
29
29
  return {
30
30
  'name': json['name'],
31
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
31
32
  'authorizationFlow': json['authorization_flow'],
32
33
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
33
34
  'clientType': !(0, runtime_1.exists)(json, 'client_type') ? undefined : (0, ClientTypeEnum_1.ClientTypeEnumFromJSON)(json['client_type']),
@@ -54,6 +55,7 @@ function OAuth2ProviderRequestToJSON(value) {
54
55
  }
55
56
  return {
56
57
  'name': value.name,
58
+ 'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
58
60
  'property_mappings': value.propertyMappings,
59
61
  'client_type': (0, ClientTypeEnum_1.ClientTypeEnumToJSON)(value.clientType),
@@ -22,6 +22,12 @@ export interface PatchedLDAPProviderRequest {
22
22
  * @memberof PatchedLDAPProviderRequest
23
23
  */
24
24
  name?: string;
25
+ /**
26
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
27
+ * @type {string}
28
+ * @memberof PatchedLDAPProviderRequest
29
+ */
30
+ authenticationFlow?: string | null;
25
31
  /**
26
32
  * Flow used when authorizing this provider.
27
33
  * @type {string}
@@ -26,6 +26,7 @@ function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': !(0, runtime_1.exists)(json, 'authorization_flow') ? undefined : json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'baseDn': !(0, runtime_1.exists)(json, 'base_dn') ? undefined : json['base_dn'],
@@ -48,6 +49,7 @@ function PatchedLDAPProviderRequestToJSON(value) {
48
49
  }
49
50
  return {
50
51
  'name': value.name,
52
+ 'authentication_flow': value.authenticationFlow,
51
53
  'authorization_flow': value.authorizationFlow,
52
54
  'property_mappings': value.propertyMappings,
53
55
  'base_dn': value.baseDn,
@@ -24,6 +24,12 @@ export interface PatchedOAuth2ProviderRequest {
24
24
  * @memberof PatchedOAuth2ProviderRequest
25
25
  */
26
26
  name?: string;
27
+ /**
28
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
29
+ * @type {string}
30
+ * @memberof PatchedOAuth2ProviderRequest
31
+ */
32
+ authenticationFlow?: string | null;
27
33
  /**
28
34
  * Flow used when authorizing this provider.
29
35
  * @type {string}
@@ -28,6 +28,7 @@ function PatchedOAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
28
28
  }
29
29
  return {
30
30
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
31
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
31
32
  'authorizationFlow': !(0, runtime_1.exists)(json, 'authorization_flow') ? undefined : json['authorization_flow'],
32
33
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
33
34
  'clientType': !(0, runtime_1.exists)(json, 'client_type') ? undefined : (0, ClientTypeEnum_1.ClientTypeEnumFromJSON)(json['client_type']),
@@ -54,6 +55,7 @@ function PatchedOAuth2ProviderRequestToJSON(value) {
54
55
  }
55
56
  return {
56
57
  'name': value.name,
58
+ 'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
58
60
  'property_mappings': value.propertyMappings,
59
61
  'client_type': (0, ClientTypeEnum_1.ClientTypeEnumToJSON)(value.clientType),
@@ -22,6 +22,12 @@ export interface PatchedProxyProviderRequest {
22
22
  * @memberof PatchedProxyProviderRequest
23
23
  */
24
24
  name?: string;
25
+ /**
26
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
27
+ * @type {string}
28
+ * @memberof PatchedProxyProviderRequest
29
+ */
30
+ authenticationFlow?: string | null;
25
31
  /**
26
32
  * Flow used when authorizing this provider.
27
33
  * @type {string}
@@ -26,6 +26,7 @@ function PatchedProxyProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': !(0, runtime_1.exists)(json, 'authorization_flow') ? undefined : json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'internalHost': !(0, runtime_1.exists)(json, 'internal_host') ? undefined : json['internal_host'],
@@ -54,6 +55,7 @@ function PatchedProxyProviderRequestToJSON(value) {
54
55
  }
55
56
  return {
56
57
  'name': value.name,
58
+ 'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
58
60
  'property_mappings': value.propertyMappings,
59
61
  'internal_host': value.internalHost,
@@ -21,6 +21,12 @@ export interface PatchedRadiusProviderRequest {
21
21
  * @memberof PatchedRadiusProviderRequest
22
22
  */
23
23
  name?: string;
24
+ /**
25
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
26
+ * @type {string}
27
+ * @memberof PatchedRadiusProviderRequest
28
+ */
29
+ authenticationFlow?: string | null;
24
30
  /**
25
31
  * Flow used when authorizing this provider.
26
32
  * @type {string}
@@ -34,7 +40,7 @@ export interface PatchedRadiusProviderRequest {
34
40
  */
35
41
  propertyMappings?: Array<string>;
36
42
  /**
37
- * List of CIDRs (comma-seperated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
43
+ * List of CIDRs (comma-separated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
38
44
  * @type {string}
39
45
  * @memberof PatchedRadiusProviderRequest
40
46
  */
@@ -25,6 +25,7 @@ function PatchedRadiusProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  }
26
26
  return {
27
27
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
28
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
28
29
  'authorizationFlow': !(0, runtime_1.exists)(json, 'authorization_flow') ? undefined : json['authorization_flow'],
29
30
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
30
31
  'clientNetworks': !(0, runtime_1.exists)(json, 'client_networks') ? undefined : json['client_networks'],
@@ -41,6 +42,7 @@ function PatchedRadiusProviderRequestToJSON(value) {
41
42
  }
42
43
  return {
43
44
  'name': value.name,
45
+ 'authentication_flow': value.authenticationFlow,
44
46
  'authorization_flow': value.authorizationFlow,
45
47
  'property_mappings': value.propertyMappings,
46
48
  'client_networks': value.clientNetworks,
@@ -24,6 +24,12 @@ export interface PatchedSAMLProviderRequest {
24
24
  * @memberof PatchedSAMLProviderRequest
25
25
  */
26
26
  name?: string;
27
+ /**
28
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
29
+ * @type {string}
30
+ * @memberof PatchedSAMLProviderRequest
31
+ */
32
+ authenticationFlow?: string | null;
27
33
  /**
28
34
  * Flow used when authorizing this provider.
29
35
  * @type {string}
@@ -28,6 +28,7 @@ function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
28
28
  }
29
29
  return {
30
30
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
31
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
31
32
  'authorizationFlow': !(0, runtime_1.exists)(json, 'authorization_flow') ? undefined : json['authorization_flow'],
32
33
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
33
34
  'acsUrl': !(0, runtime_1.exists)(json, 'acs_url') ? undefined : json['acs_url'],
@@ -54,6 +55,7 @@ function PatchedSAMLProviderRequestToJSON(value) {
54
55
  }
55
56
  return {
56
57
  'name': value.name,
58
+ 'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
58
60
  'property_mappings': value.propertyMappings,
59
61
  'acs_url': value.acsUrl,
@@ -27,6 +27,12 @@ export interface Provider {
27
27
  * @memberof Provider
28
28
  */
29
29
  name: string;
30
+ /**
31
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
32
+ * @type {string}
33
+ * @memberof Provider
34
+ */
35
+ authenticationFlow?: string | null;
30
36
  /**
31
37
  * Flow used when authorizing this provider.
32
38
  * @type {string}
@@ -26,6 +26,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
26
26
  return {
27
27
  'pk': json['pk'],
28
28
  'name': json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'component': json['component'],
@@ -46,6 +47,7 @@ function ProviderToJSON(value) {
46
47
  }
47
48
  return {
48
49
  'name': value.name,
50
+ 'authentication_flow': value.authenticationFlow,
49
51
  'authorization_flow': value.authorizationFlow,
50
52
  'property_mappings': value.propertyMappings,
51
53
  };
@@ -21,6 +21,12 @@ export interface ProviderRequest {
21
21
  * @memberof ProviderRequest
22
22
  */
23
23
  name: string;
24
+ /**
25
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
26
+ * @type {string}
27
+ * @memberof ProviderRequest
28
+ */
29
+ authenticationFlow?: string | null;
24
30
  /**
25
31
  * Flow used when authorizing this provider.
26
32
  * @type {string}
@@ -25,6 +25,7 @@ function ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  }
26
26
  return {
27
27
  'name': json['name'],
28
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
28
29
  'authorizationFlow': json['authorization_flow'],
29
30
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
30
31
  };
@@ -39,6 +40,7 @@ function ProviderRequestToJSON(value) {
39
40
  }
40
41
  return {
41
42
  'name': value.name,
43
+ 'authentication_flow': value.authenticationFlow,
42
44
  'authorization_flow': value.authorizationFlow,
43
45
  'property_mappings': value.propertyMappings,
44
46
  };
@@ -28,6 +28,12 @@ export interface ProxyProvider {
28
28
  * @memberof ProxyProvider
29
29
  */
30
30
  name: string;
31
+ /**
32
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
33
+ * @type {string}
34
+ * @memberof ProxyProvider
35
+ */
36
+ authenticationFlow?: string | null;
31
37
  /**
32
38
  * Flow used when authorizing this provider.
33
39
  * @type {string}
@@ -27,6 +27,7 @@ function ProxyProviderFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'pk': json['pk'],
29
29
  'name': json['name'],
30
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
30
31
  'authorizationFlow': json['authorization_flow'],
31
32
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
32
33
  'component': json['component'],
@@ -64,6 +65,7 @@ function ProxyProviderToJSON(value) {
64
65
  }
65
66
  return {
66
67
  'name': value.name,
68
+ 'authentication_flow': value.authenticationFlow,
67
69
  'authorization_flow': value.authorizationFlow,
68
70
  'property_mappings': value.propertyMappings,
69
71
  'internal_host': value.internalHost,
@@ -22,6 +22,12 @@ export interface ProxyProviderRequest {
22
22
  * @memberof ProxyProviderRequest
23
23
  */
24
24
  name: string;
25
+ /**
26
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
27
+ * @type {string}
28
+ * @memberof ProxyProviderRequest
29
+ */
30
+ authenticationFlow?: string | null;
25
31
  /**
26
32
  * Flow used when authorizing this provider.
27
33
  * @type {string}
@@ -26,6 +26,7 @@ function ProxyProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'name': json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'internalHost': !(0, runtime_1.exists)(json, 'internal_host') ? undefined : json['internal_host'],
@@ -54,6 +55,7 @@ function ProxyProviderRequestToJSON(value) {
54
55
  }
55
56
  return {
56
57
  'name': value.name,
58
+ 'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
58
60
  'property_mappings': value.propertyMappings,
59
61
  'internal_host': value.internalHost,
@@ -40,7 +40,7 @@ export interface RadiusOutpostConfig {
40
40
  */
41
41
  authFlowSlug: string;
42
42
  /**
43
- * List of CIDRs (comma-seperated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
43
+ * List of CIDRs (comma-separated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
44
44
  * @type {string}
45
45
  * @memberof RadiusOutpostConfig
46
46
  */
@@ -27,6 +27,12 @@ export interface RadiusProvider {
27
27
  * @memberof RadiusProvider
28
28
  */
29
29
  name: string;
30
+ /**
31
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
32
+ * @type {string}
33
+ * @memberof RadiusProvider
34
+ */
35
+ authenticationFlow?: string | null;
30
36
  /**
31
37
  * Flow used when authorizing this provider.
32
38
  * @type {string}
@@ -76,7 +82,7 @@ export interface RadiusProvider {
76
82
  */
77
83
  readonly metaModelName: string;
78
84
  /**
79
- * List of CIDRs (comma-seperated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
85
+ * List of CIDRs (comma-separated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
80
86
  * @type {string}
81
87
  * @memberof RadiusProvider
82
88
  */
@@ -26,6 +26,7 @@ function RadiusProviderFromJSONTyped(json, ignoreDiscriminator) {
26
26
  return {
27
27
  'pk': json['pk'],
28
28
  'name': json['name'],
29
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
29
30
  'authorizationFlow': json['authorization_flow'],
30
31
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
31
32
  'component': json['component'],
@@ -48,6 +49,7 @@ function RadiusProviderToJSON(value) {
48
49
  }
49
50
  return {
50
51
  'name': value.name,
52
+ 'authentication_flow': value.authenticationFlow,
51
53
  'authorization_flow': value.authorizationFlow,
52
54
  'property_mappings': value.propertyMappings,
53
55
  'client_networks': value.clientNetworks,
@@ -21,6 +21,12 @@ export interface RadiusProviderRequest {
21
21
  * @memberof RadiusProviderRequest
22
22
  */
23
23
  name: string;
24
+ /**
25
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
26
+ * @type {string}
27
+ * @memberof RadiusProviderRequest
28
+ */
29
+ authenticationFlow?: string | null;
24
30
  /**
25
31
  * Flow used when authorizing this provider.
26
32
  * @type {string}
@@ -34,7 +40,7 @@ export interface RadiusProviderRequest {
34
40
  */
35
41
  propertyMappings?: Array<string>;
36
42
  /**
37
- * List of CIDRs (comma-seperated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
43
+ * List of CIDRs (comma-separated) that clients can connect from. A more specific CIDR will match before a looser one. Clients connecting from a non-specified CIDR will be dropped.
38
44
  * @type {string}
39
45
  * @memberof RadiusProviderRequest
40
46
  */
@@ -25,6 +25,7 @@ function RadiusProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  }
26
26
  return {
27
27
  'name': json['name'],
28
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
28
29
  'authorizationFlow': json['authorization_flow'],
29
30
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
30
31
  'clientNetworks': !(0, runtime_1.exists)(json, 'client_networks') ? undefined : json['client_networks'],
@@ -41,6 +42,7 @@ function RadiusProviderRequestToJSON(value) {
41
42
  }
42
43
  return {
43
44
  'name': value.name,
45
+ 'authentication_flow': value.authenticationFlow,
44
46
  'authorization_flow': value.authorizationFlow,
45
47
  'property_mappings': value.propertyMappings,
46
48
  'client_networks': value.clientNetworks,
@@ -30,6 +30,12 @@ export interface SAMLProvider {
30
30
  * @memberof SAMLProvider
31
31
  */
32
32
  name: string;
33
+ /**
34
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
35
+ * @type {string}
36
+ * @memberof SAMLProvider
37
+ */
38
+ authenticationFlow?: string | null;
33
39
  /**
34
40
  * Flow used when authorizing this provider.
35
41
  * @type {string}
@@ -29,6 +29,7 @@ function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
29
29
  return {
30
30
  'pk': json['pk'],
31
31
  'name': json['name'],
32
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
32
33
  'authorizationFlow': json['authorization_flow'],
33
34
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
34
35
  'component': json['component'],
@@ -67,6 +68,7 @@ function SAMLProviderToJSON(value) {
67
68
  }
68
69
  return {
69
70
  'name': value.name,
71
+ 'authentication_flow': value.authenticationFlow,
70
72
  'authorization_flow': value.authorizationFlow,
71
73
  'property_mappings': value.propertyMappings,
72
74
  'acs_url': value.acsUrl,
@@ -24,6 +24,12 @@ export interface SAMLProviderRequest {
24
24
  * @memberof SAMLProviderRequest
25
25
  */
26
26
  name: string;
27
+ /**
28
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
29
+ * @type {string}
30
+ * @memberof SAMLProviderRequest
31
+ */
32
+ authenticationFlow?: string | null;
27
33
  /**
28
34
  * Flow used when authorizing this provider.
29
35
  * @type {string}
@@ -28,6 +28,7 @@ function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
28
28
  }
29
29
  return {
30
30
  'name': json['name'],
31
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
31
32
  'authorizationFlow': json['authorization_flow'],
32
33
  'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
33
34
  'acsUrl': json['acs_url'],
@@ -54,6 +55,7 @@ function SAMLProviderRequestToJSON(value) {
54
55
  }
55
56
  return {
56
57
  'name': value.name,
58
+ 'authentication_flow': value.authenticationFlow,
57
59
  'authorization_flow': value.authorizationFlow,
58
60
  'property_mappings': value.propertyMappings,
59
61
  'acs_url': value.acsUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.3.1-1679327702",
3
+ "version": "2023.3.1-1679660792",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -343,6 +343,7 @@ export interface ProvidersSamlListRequest {
343
343
  assertionValidNotBefore?: string;
344
344
  assertionValidNotOnOrAfter?: string;
345
345
  audience?: string;
346
+ authenticationFlow?: string;
346
347
  authorizationFlow?: string;
347
348
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
348
349
  issuer?: string;
@@ -2073,6 +2074,10 @@ export class ProvidersApi extends runtime.BaseAPI {
2073
2074
  queryParameters['audience'] = requestParameters.audience;
2074
2075
  }
2075
2076
 
2077
+ if (requestParameters.authenticationFlow !== undefined) {
2078
+ queryParameters['authentication_flow'] = requestParameters.authenticationFlow;
2079
+ }
2080
+
2076
2081
  if (requestParameters.authorizationFlow !== undefined) {
2077
2082
  queryParameters['authorization_flow'] = requestParameters.authorizationFlow;
2078
2083
  }