authentik-api 2026.2.2 → 2026.5.0.rc1

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 (218) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/README_API.md +67 -15
  4. data/lib/authentik/api/api/admin_api.rb +5 -13
  5. data/lib/authentik/api/api/authenticators_api.rb +60 -60
  6. data/lib/authentik/api/api/core_api.rb +188 -63
  7. data/lib/authentik/api/api/crypto_api.rb +9 -13
  8. data/lib/authentik/api/api/endpoints_api.rb +1600 -679
  9. data/lib/authentik/api/api/enterprise_api.rb +5 -5
  10. data/lib/authentik/api/api/events_api.rb +141 -58
  11. data/lib/authentik/api/api/flows_api.rb +24 -106
  12. data/lib/authentik/api/api/lifecycle_api.rb +27 -18
  13. data/lib/authentik/api/api/managed_api.rb +79 -6
  14. data/lib/authentik/api/api/oauth2_api.rb +9 -9
  15. data/lib/authentik/api/api/outposts_api.rb +22 -22
  16. data/lib/authentik/api/api/policies_api.rb +57 -58
  17. data/lib/authentik/api/api/propertymappings_api.rb +79 -79
  18. data/lib/authentik/api/api/providers_api.rb +134 -196
  19. data/lib/authentik/api/api/rac_api.rb +10 -10
  20. data/lib/authentik/api/api/rbac_api.rb +15 -20
  21. data/lib/authentik/api/api/reports_api.rb +2 -2
  22. data/lib/authentik/api/api/schema_api.rb +4 -12
  23. data/lib/authentik/api/api/sources_api.rb +158 -219
  24. data/lib/authentik/api/api/ssf_api.rb +64 -7
  25. data/lib/authentik/api/api/stages_api.rb +723 -244
  26. data/lib/authentik/api/api/tasks_api.rb +11 -19
  27. data/lib/authentik/api/api/tenants_api.rb +10 -10
  28. data/lib/authentik/api/models/account_lockdown_stage.rb +372 -0
  29. data/lib/authentik/api/models/account_lockdown_stage_request.rb +219 -0
  30. data/lib/authentik/api/models/app_enum.rb +3 -2
  31. data/lib/authentik/api/models/apple_independent_secure_enclave.rb +246 -0
  32. data/lib/authentik/api/models/apple_independent_secure_enclave_request.rb +273 -0
  33. data/lib/authentik/api/models/application.rb +14 -4
  34. data/lib/authentik/api/models/application_request.rb +14 -4
  35. data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +2 -30
  36. data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +4 -60
  37. data/lib/authentik/api/models/authentication_enum.rb +2 -1
  38. data/lib/authentik/api/models/authenticator_validate_stage.rb +51 -4
  39. data/lib/authentik/api/models/authenticator_validate_stage_request.rb +51 -4
  40. data/lib/authentik/api/models/authenticator_web_authn_stage.rb +23 -2
  41. data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +23 -2
  42. data/lib/authentik/api/models/{flow_import_result.rb → blueprint_import_result.rb} +4 -4
  43. data/lib/authentik/api/models/brand.rb +11 -1
  44. data/lib/authentik/api/models/brand_request.rb +11 -1
  45. data/lib/authentik/api/models/certificate_key_pair.rb +1 -1
  46. data/lib/authentik/api/models/certificate_key_pair_key_type_enum.rb +37 -0
  47. data/lib/authentik/api/models/compatibility_mode_enum.rb +3 -1
  48. data/lib/authentik/api/models/{consent_stage_mode_enum.rb → consent_mode_enum.rb} +3 -3
  49. data/lib/authentik/api/models/consent_stage.rb +1 -1
  50. data/lib/authentik/api/models/consent_stage_request.rb +1 -1
  51. data/lib/authentik/api/models/country_code_enum.rb +3 -3
  52. data/lib/authentik/api/models/current_brand.rb +10 -1
  53. data/lib/authentik/api/models/current_brand_flags.rb +31 -27
  54. data/lib/authentik/api/models/delivery_method_enum.rb +3 -1
  55. data/lib/authentik/api/models/device_user_binding.rb +3 -45
  56. data/lib/authentik/api/models/event_matcher_policy.rb +15 -5
  57. data/lib/authentik/api/models/event_matcher_policy_request.rb +30 -5
  58. data/lib/authentik/api/models/event_stats.rb +187 -0
  59. data/lib/authentik/api/models/event_volume.rb +1 -1
  60. data/lib/authentik/api/models/events_requested_enum.rb +7 -1
  61. data/lib/authentik/api/models/force_binding_enum.rb +34 -0
  62. data/lib/authentik/api/models/{resident_key_requirement_enum.rb → format_enum.rb} +6 -7
  63. data/lib/authentik/api/models/geo_ip_policy.rb +1 -1
  64. data/lib/authentik/api/models/{detailed_country_field.rb → geo_ip_policy_countries_obj_inner.rb} +22 -26
  65. data/lib/authentik/api/models/google_chrome_connector.rb +326 -0
  66. data/lib/authentik/api/models/google_chrome_connector_request.rb +214 -0
  67. data/lib/authentik/api/models/grant_types_enum.rb +39 -0
  68. data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
  69. data/lib/authentik/api/models/iframe_logout_challenge.rb +1 -1
  70. data/lib/authentik/api/models/invitation_send_email_request.rb +213 -0
  71. data/lib/authentik/api/models/key_type_enum.rb +3 -3
  72. data/lib/authentik/api/models/lang_enum.rb +131 -0
  73. data/lib/authentik/api/models/lifecycle_iteration.rb +30 -86
  74. data/lib/authentik/api/models/logout_url.rb +209 -0
  75. data/lib/authentik/api/models/model_enum.rb +3 -1
  76. data/lib/authentik/api/models/native_logout_challenge.rb +68 -37
  77. data/lib/authentik/api/models/notification_rule.rb +1 -15
  78. data/lib/authentik/api/models/notification_transport.rb +13 -2
  79. data/lib/authentik/api/models/notification_transport_request.rb +13 -2
  80. data/lib/authentik/api/models/o_auth2_provider.rb +12 -1
  81. data/lib/authentik/api/models/o_auth2_provider_request.rb +12 -1
  82. data/lib/authentik/api/models/operating_system.rb +0 -17
  83. data/lib/authentik/api/models/operating_system_request.rb +2 -9
  84. data/lib/authentik/api/models/paginated_account_lockdown_stage_list.rb +214 -0
  85. data/lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb +214 -0
  86. data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +32 -4
  87. data/lib/authentik/api/models/paginated_google_chrome_connector_list.rb +214 -0
  88. data/lib/authentik/api/models/patched_account_lockdown_stage_request.rb +212 -0
  89. data/lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb +235 -0
  90. data/lib/authentik/api/models/patched_application_request.rb +14 -4
  91. data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +51 -4
  92. data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +23 -2
  93. data/lib/authentik/api/models/patched_brand_request.rb +11 -1
  94. data/lib/authentik/api/models/patched_consent_stage_request.rb +1 -1
  95. data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +30 -5
  96. data/lib/authentik/api/models/patched_google_chrome_connector_request.rb +190 -0
  97. data/lib/authentik/api/models/patched_notification_transport_request.rb +13 -2
  98. data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +12 -1
  99. data/lib/authentik/api/models/patched_saml_provider_request.rb +17 -27
  100. data/lib/authentik/api/models/patched_saml_source_request.rb +11 -1
  101. data/lib/authentik/api/models/patched_settings_request_flags.rb +31 -27
  102. data/lib/authentik/api/models/patched_ssf_provider_request.rb +13 -4
  103. data/lib/authentik/api/models/policy_binding.rb +3 -45
  104. data/lib/authentik/api/models/prompt_type_enum.rb +4 -1
  105. data/lib/authentik/api/models/redirect_uri.rb +13 -4
  106. data/lib/authentik/api/models/redirect_uri_request.rb +13 -4
  107. data/lib/authentik/api/models/redirect_uri_type_enum.rb +34 -0
  108. data/lib/authentik/api/models/related_rule.rb +250 -0
  109. data/lib/authentik/api/models/saml_metadata.rb +0 -2
  110. data/lib/authentik/api/models/saml_provider.rb +98 -8
  111. data/lib/authentik/api/models/saml_provider_request.rb +17 -27
  112. data/lib/authentik/api/models/saml_source.rb +11 -1
  113. data/lib/authentik/api/models/saml_source_request.rb +11 -1
  114. data/lib/authentik/api/models/ssf_provider.rb +41 -4
  115. data/lib/authentik/api/models/ssf_provider_request.rb +13 -4
  116. data/lib/authentik/api/models/ssf_stream.rb +10 -1
  117. data/lib/authentik/api/models/ssf_stream_status_enum.rb +36 -0
  118. data/lib/authentik/api/models/task.rb +1 -1
  119. data/lib/authentik/api/models/{task_state_enum.rb → task_status_enum.rb} +3 -3
  120. data/lib/authentik/api/models/{notification_transport_mode_enum.rb → transport_mode_enum.rb} +3 -3
  121. data/lib/authentik/api/models/usage_enum.rb +33 -0
  122. data/lib/authentik/api/models/user_account_lockdown_request.rb +144 -0
  123. data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
  124. data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
  125. data/lib/authentik/api/models/vendor_enum.rb +2 -1
  126. data/lib/authentik/api/models/web_authn_hint_enum.rb +35 -0
  127. data/lib/authentik/api/version.rb +1 -1
  128. data/spec/api/admin_api_spec.rb +2 -2
  129. data/spec/api/core_api_spec.rb +27 -3
  130. data/spec/api/crypto_api_spec.rb +1 -1
  131. data/spec/api/endpoints_api_spec.rb +167 -0
  132. data/spec/api/events_api_spec.rb +33 -7
  133. data/spec/api/flows_api_spec.rb +4 -16
  134. data/spec/api/lifecycle_api_spec.rb +6 -3
  135. data/spec/api/managed_api_spec.rb +13 -0
  136. data/spec/api/policies_api_spec.rb +2 -1
  137. data/spec/api/providers_api_spec.rb +21 -19
  138. data/spec/api/schema_api_spec.rb +2 -2
  139. data/spec/api/sources_api_spec.rb +17 -16
  140. data/spec/api/ssf_api_spec.rb +12 -1
  141. data/spec/api/stages_api_spec.rb +117 -18
  142. data/spec/api/tasks_api_spec.rb +2 -2
  143. data/spec/models/account_lockdown_stage_request_spec.rb +60 -0
  144. data/spec/models/account_lockdown_stage_spec.rb +96 -0
  145. data/spec/models/apple_independent_secure_enclave_request_spec.rb +54 -0
  146. data/spec/models/apple_independent_secure_enclave_spec.rb +54 -0
  147. data/spec/models/application_request_spec.rb +6 -0
  148. data/spec/models/application_spec.rb +6 -0
  149. data/spec/models/authenticator_validate_stage_request_spec.rb +30 -0
  150. data/spec/models/authenticator_validate_stage_spec.rb +30 -0
  151. data/spec/models/authenticator_web_authn_stage_request_spec.rb +12 -0
  152. data/spec/models/authenticator_web_authn_stage_spec.rb +12 -0
  153. data/spec/models/{flow_import_result_spec.rb → blueprint_import_result_spec.rb} +6 -6
  154. data/spec/models/brand_request_spec.rb +6 -0
  155. data/spec/models/brand_spec.rb +6 -0
  156. data/spec/models/{notification_transport_mode_enum_spec.rb → certificate_key_pair_key_type_enum_spec.rb} +6 -6
  157. data/spec/models/{consent_stage_mode_enum_spec.rb → consent_mode_enum_spec.rb} +6 -6
  158. data/spec/models/current_brand_flags_spec.rb +2 -2
  159. data/spec/models/current_brand_spec.rb +6 -0
  160. data/spec/models/event_matcher_policy_request_spec.rb +6 -0
  161. data/spec/models/event_matcher_policy_spec.rb +6 -0
  162. data/spec/models/event_stats_spec.rb +36 -0
  163. data/spec/models/force_binding_enum_spec.rb +24 -0
  164. data/spec/models/format_enum_spec.rb +24 -0
  165. data/spec/models/{detailed_country_field_spec.rb → geo_ip_policy_countries_obj_inner_spec.rb} +6 -6
  166. data/spec/models/google_chrome_connector_request_spec.rb +48 -0
  167. data/spec/models/google_chrome_connector_spec.rb +78 -0
  168. data/spec/models/grant_types_enum_spec.rb +24 -0
  169. data/spec/models/group_ldap_source_connection_spec.rb +6 -0
  170. data/spec/models/invitation_send_email_request_spec.rb +48 -0
  171. data/spec/models/lang_enum_spec.rb +24 -0
  172. data/spec/models/lifecycle_iteration_spec.rb +2 -14
  173. data/spec/models/logout_url_spec.rb +60 -0
  174. data/spec/models/native_logout_challenge_spec.rb +13 -7
  175. data/spec/models/notification_transport_request_spec.rb +6 -0
  176. data/spec/models/notification_transport_spec.rb +6 -0
  177. data/spec/models/o_auth2_provider_request_spec.rb +6 -0
  178. data/spec/models/o_auth2_provider_spec.rb +6 -0
  179. data/spec/models/paginated_account_lockdown_stage_list_spec.rb +42 -0
  180. data/spec/models/paginated_apple_independent_secure_enclave_list_spec.rb +42 -0
  181. data/spec/models/paginated_extra_role_object_permission_list_spec.rb +6 -0
  182. data/spec/models/paginated_google_chrome_connector_list_spec.rb +42 -0
  183. data/spec/models/patched_account_lockdown_stage_request_spec.rb +60 -0
  184. data/spec/models/patched_apple_independent_secure_enclave_request_spec.rb +54 -0
  185. data/spec/models/patched_application_request_spec.rb +6 -0
  186. data/spec/models/patched_authenticator_validate_stage_request_spec.rb +30 -0
  187. data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +12 -0
  188. data/spec/models/patched_brand_request_spec.rb +6 -0
  189. data/spec/models/patched_event_matcher_policy_request_spec.rb +6 -0
  190. data/spec/models/patched_google_chrome_connector_request_spec.rb +48 -0
  191. data/spec/models/patched_notification_transport_request_spec.rb +6 -0
  192. data/spec/models/patched_o_auth2_provider_request_spec.rb +6 -0
  193. data/spec/models/patched_saml_provider_request_spec.rb +7 -1
  194. data/spec/models/patched_saml_source_request_spec.rb +6 -0
  195. data/spec/models/patched_settings_request_flags_spec.rb +2 -2
  196. data/spec/models/patched_ssf_provider_request_spec.rb +6 -0
  197. data/spec/models/redirect_uri_request_spec.rb +6 -0
  198. data/spec/models/redirect_uri_spec.rb +6 -0
  199. data/spec/models/redirect_uri_type_enum_spec.rb +24 -0
  200. data/spec/models/related_rule_spec.rb +54 -0
  201. data/spec/models/saml_provider_request_spec.rb +7 -1
  202. data/spec/models/saml_provider_spec.rb +25 -1
  203. data/spec/models/saml_source_request_spec.rb +6 -0
  204. data/spec/models/saml_source_spec.rb +6 -0
  205. data/spec/models/ssf_provider_request_spec.rb +6 -0
  206. data/spec/models/ssf_provider_spec.rb +12 -0
  207. data/spec/models/ssf_stream_spec.rb +6 -0
  208. data/spec/models/ssf_stream_status_enum_spec.rb +24 -0
  209. data/spec/models/{task_state_enum_spec.rb → task_status_enum_spec.rb} +6 -6
  210. data/spec/models/transport_mode_enum_spec.rb +24 -0
  211. data/spec/models/usage_enum_spec.rb +24 -0
  212. data/spec/models/user_account_lockdown_request_spec.rb +30 -0
  213. data/spec/models/user_ldap_source_connection_spec.rb +6 -0
  214. data/spec/models/user_password_hash_set_request_spec.rb +30 -0
  215. data/spec/models/web_authn_hint_enum_spec.rb +24 -0
  216. data/spec/zeitwerk_spec.rb +34 -0
  217. metadata +113 -32
  218. data/spec/models/resident_key_requirement_enum_spec.rb +0 -24
@@ -26,6 +26,8 @@ module Authentik::Api
26
26
  # Confidential clients are capable of maintaining the confidentiality of their credentials. Public clients are incapable
27
27
  attr_accessor :client_type
28
28
 
29
+ attr_accessor :grant_types
30
+
29
31
  attr_accessor :client_id
30
32
 
31
33
  attr_accessor :client_secret
@@ -99,6 +101,7 @@ module Authentik::Api
99
101
  :'invalidation_flow' => :'invalidation_flow',
100
102
  :'property_mappings' => :'property_mappings',
101
103
  :'client_type' => :'client_type',
104
+ :'grant_types' => :'grant_types',
102
105
  :'client_id' => :'client_id',
103
106
  :'client_secret' => :'client_secret',
104
107
  :'access_code_validity' => :'access_code_validity',
@@ -137,6 +140,7 @@ module Authentik::Api
137
140
  :'invalidation_flow' => :'String',
138
141
  :'property_mappings' => :'Array<String>',
139
142
  :'client_type' => :'ClientTypeEnum',
143
+ :'grant_types' => :'Array<GrantTypesEnum>',
140
144
  :'client_id' => :'String',
141
145
  :'client_secret' => :'String',
142
146
  :'access_code_validity' => :'String',
@@ -207,6 +211,12 @@ module Authentik::Api
207
211
  self.client_type = attributes[:'client_type']
208
212
  end
209
213
 
214
+ if attributes.key?(:'grant_types')
215
+ if (value = attributes[:'grant_types']).is_a?(Array)
216
+ self.grant_types = value
217
+ end
218
+ end
219
+
210
220
  if attributes.key?(:'client_id')
211
221
  self.client_id = attributes[:'client_id']
212
222
  end
@@ -446,6 +456,7 @@ module Authentik::Api
446
456
  invalidation_flow == o.invalidation_flow &&
447
457
  property_mappings == o.property_mappings &&
448
458
  client_type == o.client_type &&
459
+ grant_types == o.grant_types &&
449
460
  client_id == o.client_id &&
450
461
  client_secret == o.client_secret &&
451
462
  access_code_validity == o.access_code_validity &&
@@ -473,7 +484,7 @@ module Authentik::Api
473
484
  # Calculates hash code according to all attributes.
474
485
  # @return [Integer] Hash code
475
486
  def hash
476
- [name, authentication_flow, authorization_flow, invalidation_flow, property_mappings, client_type, client_id, client_secret, access_code_validity, access_token_validity, refresh_token_validity, refresh_token_threshold, include_claims_in_id_token, signing_key, encryption_key, redirect_uris, logout_uri, logout_method, sub_mode, issuer_mode, jwt_federation_sources, jwt_federation_providers].hash
487
+ [name, authentication_flow, authorization_flow, invalidation_flow, property_mappings, client_type, grant_types, client_id, client_secret, access_code_validity, access_token_validity, refresh_token_validity, refresh_token_threshold, include_claims_in_id_token, signing_key, encryption_key, redirect_uris, logout_uri, logout_method, sub_mode, issuer_mode, jwt_federation_sources, jwt_federation_providers].hash
477
488
  end
478
489
 
479
490
  # Builds the object from hash
@@ -31,8 +31,8 @@ module Authentik::Api
31
31
  # Value of the audience restriction field of the assertion. When left empty, no audience restriction will be added.
32
32
  attr_accessor :audience
33
33
 
34
- # Also known as EntityID
35
- attr_accessor :issuer
34
+ # Also known as EntityID. Providing a value overrides the default issuer generated by authentik.
35
+ attr_accessor :issuer_override
36
36
 
37
37
  # Assertion valid not before current time + this value (Format: hours=-1;minutes=-2;seconds=-3).
38
38
  attr_accessor :assertion_valid_not_before
@@ -68,6 +68,8 @@ module Authentik::Api
68
68
 
69
69
  attr_accessor :sign_logout_request
70
70
 
71
+ attr_accessor :sign_logout_response
72
+
71
73
  # This determines how authentik sends the response back to the Service Provider.
72
74
  attr_accessor :sp_binding
73
75
 
@@ -115,7 +117,7 @@ module Authentik::Api
115
117
  :'acs_url' => :'acs_url',
116
118
  :'sls_url' => :'sls_url',
117
119
  :'audience' => :'audience',
118
- :'issuer' => :'issuer',
120
+ :'issuer_override' => :'issuer_override',
119
121
  :'assertion_valid_not_before' => :'assertion_valid_not_before',
120
122
  :'assertion_valid_not_on_or_after' => :'assertion_valid_not_on_or_after',
121
123
  :'session_valid_not_on_or_after' => :'session_valid_not_on_or_after',
@@ -129,6 +131,7 @@ module Authentik::Api
129
131
  :'sign_assertion' => :'sign_assertion',
130
132
  :'sign_response' => :'sign_response',
131
133
  :'sign_logout_request' => :'sign_logout_request',
134
+ :'sign_logout_response' => :'sign_logout_response',
132
135
  :'sp_binding' => :'sp_binding',
133
136
  :'sls_binding' => :'sls_binding',
134
137
  :'logout_method' => :'logout_method',
@@ -158,7 +161,7 @@ module Authentik::Api
158
161
  :'acs_url' => :'String',
159
162
  :'sls_url' => :'String',
160
163
  :'audience' => :'String',
161
- :'issuer' => :'String',
164
+ :'issuer_override' => :'String',
162
165
  :'assertion_valid_not_before' => :'String',
163
166
  :'assertion_valid_not_on_or_after' => :'String',
164
167
  :'session_valid_not_on_or_after' => :'String',
@@ -172,6 +175,7 @@ module Authentik::Api
172
175
  :'sign_assertion' => :'Boolean',
173
176
  :'sign_response' => :'Boolean',
174
177
  :'sign_logout_request' => :'Boolean',
178
+ :'sign_logout_response' => :'Boolean',
175
179
  :'sp_binding' => :'SAMLBindingsEnum',
176
180
  :'sls_binding' => :'SAMLBindingsEnum',
177
181
  :'logout_method' => :'SAMLLogoutMethods',
@@ -242,8 +246,8 @@ module Authentik::Api
242
246
  self.audience = attributes[:'audience']
243
247
  end
244
248
 
245
- if attributes.key?(:'issuer')
246
- self.issuer = attributes[:'issuer']
249
+ if attributes.key?(:'issuer_override')
250
+ self.issuer_override = attributes[:'issuer_override']
247
251
  end
248
252
 
249
253
  if attributes.key?(:'assertion_valid_not_before')
@@ -298,6 +302,10 @@ module Authentik::Api
298
302
  self.sign_logout_request = attributes[:'sign_logout_request']
299
303
  end
300
304
 
305
+ if attributes.key?(:'sign_logout_response')
306
+ self.sign_logout_response = attributes[:'sign_logout_response']
307
+ end
308
+
301
309
  if attributes.key?(:'sp_binding')
302
310
  self.sp_binding = attributes[:'sp_binding']
303
311
  end
@@ -332,10 +340,6 @@ module Authentik::Api
332
340
  invalid_properties.push('invalid value for "acs_url", the character length must be greater than or equal to 1.')
333
341
  end
334
342
 
335
- if !@issuer.nil? && @issuer.to_s.length < 1
336
- invalid_properties.push('invalid value for "issuer", the character length must be greater than or equal to 1.')
337
- end
338
-
339
343
  if !@assertion_valid_not_before.nil? && @assertion_valid_not_before.to_s.length < 1
340
344
  invalid_properties.push('invalid value for "assertion_valid_not_before", the character length must be greater than or equal to 1.')
341
345
  end
@@ -357,7 +361,6 @@ module Authentik::Api
357
361
  warn '[DEPRECATED] the `valid?` method is obsolete'
358
362
  return false if !@name.nil? && @name.to_s.length < 1
359
363
  return false if !@acs_url.nil? && @acs_url.to_s.length < 1
360
- return false if !@issuer.nil? && @issuer.to_s.length < 1
361
364
  return false if !@assertion_valid_not_before.nil? && @assertion_valid_not_before.to_s.length < 1
362
365
  return false if !@assertion_valid_not_on_or_after.nil? && @assertion_valid_not_on_or_after.to_s.length < 1
363
366
  return false if !@session_valid_not_on_or_after.nil? && @session_valid_not_on_or_after.to_s.length < 1
@@ -392,20 +395,6 @@ module Authentik::Api
392
395
  @acs_url = acs_url
393
396
  end
394
397
 
395
- # Custom attribute writer method with validation
396
- # @param [Object] issuer Value to be assigned
397
- def issuer=(issuer)
398
- if issuer.nil?
399
- fail ArgumentError, 'issuer cannot be nil'
400
- end
401
-
402
- if issuer.to_s.length < 1
403
- fail ArgumentError, 'invalid value for "issuer", the character length must be greater than or equal to 1.'
404
- end
405
-
406
- @issuer = issuer
407
- end
408
-
409
398
  # Custom attribute writer method with validation
410
399
  # @param [Object] assertion_valid_not_before Value to be assigned
411
400
  def assertion_valid_not_before=(assertion_valid_not_before)
@@ -461,7 +450,7 @@ module Authentik::Api
461
450
  acs_url == o.acs_url &&
462
451
  sls_url == o.sls_url &&
463
452
  audience == o.audience &&
464
- issuer == o.issuer &&
453
+ issuer_override == o.issuer_override &&
465
454
  assertion_valid_not_before == o.assertion_valid_not_before &&
466
455
  assertion_valid_not_on_or_after == o.assertion_valid_not_on_or_after &&
467
456
  session_valid_not_on_or_after == o.session_valid_not_on_or_after &&
@@ -475,6 +464,7 @@ module Authentik::Api
475
464
  sign_assertion == o.sign_assertion &&
476
465
  sign_response == o.sign_response &&
477
466
  sign_logout_request == o.sign_logout_request &&
467
+ sign_logout_response == o.sign_logout_response &&
478
468
  sp_binding == o.sp_binding &&
479
469
  sls_binding == o.sls_binding &&
480
470
  logout_method == o.logout_method &&
@@ -491,7 +481,7 @@ module Authentik::Api
491
481
  # Calculates hash code according to all attributes.
492
482
  # @return [Integer] Hash code
493
483
  def hash
494
- [name, authentication_flow, authorization_flow, invalidation_flow, property_mappings, acs_url, sls_url, audience, issuer, assertion_valid_not_before, assertion_valid_not_on_or_after, session_valid_not_on_or_after, name_id_mapping, authn_context_class_ref_mapping, digest_algorithm, signature_algorithm, signing_kp, verification_kp, encryption_kp, sign_assertion, sign_response, sign_logout_request, sp_binding, sls_binding, logout_method, default_relay_state, default_name_id_policy].hash
484
+ [name, authentication_flow, authorization_flow, invalidation_flow, property_mappings, acs_url, sls_url, audience, issuer_override, assertion_valid_not_before, assertion_valid_not_on_or_after, session_valid_not_on_or_after, name_id_mapping, authn_context_class_ref_mapping, digest_algorithm, signature_algorithm, signing_kp, verification_kp, encryption_kp, sign_assertion, sign_response, sign_logout_request, sign_logout_response, sp_binding, sls_binding, logout_method, default_relay_state, default_name_id_policy].hash
495
485
  end
496
486
 
497
487
  # Builds the object from hash
@@ -58,6 +58,9 @@ module Authentik::Api
58
58
  # Allows authentication flows initiated by the IdP. This can be a security risk, as no validation of the request ID is done.
59
59
  attr_accessor :allow_idp_initiated
60
60
 
61
+ # When enabled, the IdP will re-authenticate the user even if a session exists.
62
+ attr_accessor :force_authn
63
+
61
64
  # NameID Policy sent to the IdP. Can be unset, in which case no Policy is sent.
62
65
  attr_accessor :name_id_policy
63
66
 
@@ -126,6 +129,7 @@ module Authentik::Api
126
129
  :'sso_url' => :'sso_url',
127
130
  :'slo_url' => :'slo_url',
128
131
  :'allow_idp_initiated' => :'allow_idp_initiated',
132
+ :'force_authn' => :'force_authn',
129
133
  :'name_id_policy' => :'name_id_policy',
130
134
  :'binding_type' => :'binding_type',
131
135
  :'verification_kp' => :'verification_kp',
@@ -170,6 +174,7 @@ module Authentik::Api
170
174
  :'sso_url' => :'String',
171
175
  :'slo_url' => :'String',
172
176
  :'allow_idp_initiated' => :'Boolean',
177
+ :'force_authn' => :'Boolean',
173
178
  :'name_id_policy' => :'SAMLNameIDPolicyEnum',
174
179
  :'binding_type' => :'BindingTypeEnum',
175
180
  :'verification_kp' => :'String',
@@ -287,6 +292,10 @@ module Authentik::Api
287
292
  self.allow_idp_initiated = attributes[:'allow_idp_initiated']
288
293
  end
289
294
 
295
+ if attributes.key?(:'force_authn')
296
+ self.force_authn = attributes[:'force_authn']
297
+ end
298
+
290
299
  if attributes.key?(:'name_id_policy')
291
300
  self.name_id_policy = attributes[:'name_id_policy']
292
301
  end
@@ -472,6 +481,7 @@ module Authentik::Api
472
481
  sso_url == o.sso_url &&
473
482
  slo_url == o.slo_url &&
474
483
  allow_idp_initiated == o.allow_idp_initiated &&
484
+ force_authn == o.force_authn &&
475
485
  name_id_policy == o.name_id_policy &&
476
486
  binding_type == o.binding_type &&
477
487
  verification_kp == o.verification_kp &&
@@ -493,7 +503,7 @@ module Authentik::Api
493
503
  # Calculates hash code according to all attributes.
494
504
  # @return [Integer] Hash code
495
505
  def hash
496
- [name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, policy_engine_mode, user_matching_mode, user_path_template, icon, group_matching_mode, pre_authentication_flow, issuer, sso_url, slo_url, allow_idp_initiated, name_id_policy, binding_type, verification_kp, signing_kp, digest_algorithm, signature_algorithm, temporary_user_delete_after, encryption_kp, signed_assertion, signed_response].hash
506
+ [name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, policy_engine_mode, user_matching_mode, user_path_template, icon, group_matching_mode, pre_authentication_flow, issuer, sso_url, slo_url, allow_idp_initiated, force_authn, name_id_policy, binding_type, verification_kp, signing_kp, digest_algorithm, signature_algorithm, temporary_user_delete_after, encryption_kp, signed_assertion, signed_response].hash
497
507
  end
498
508
 
499
509
  # Builds the object from hash
@@ -9,19 +9,23 @@ require 'time'
9
9
 
10
10
  module Authentik::Api
11
11
  class PatchedSettingsRequestFlags < ApiModelBase
12
- attr_accessor :enterprise_audit_include_expanded_diff
12
+ # Configure if applications without any policy/group/user bindings should be accessible to any user.
13
+ attr_accessor :core_default_app_access
13
14
 
14
- attr_accessor :policies_buffered_access_view
15
+ # Include additional information in audit logs, may incur a performance penalty.
16
+ attr_accessor :enterprise_audit_include_expanded_diff
15
17
 
18
+ # Upon successful authentication, re-start authentication in other open tabs.
16
19
  attr_accessor :flows_continuous_login
17
20
 
21
+ # Refresh other tabs after successful authentication.
18
22
  attr_accessor :flows_refresh_others
19
23
 
20
24
  # Attribute mapping from ruby-style variable name to JSON key.
21
25
  def self.attribute_map
22
26
  {
27
+ :'core_default_app_access' => :'core_default_app_access',
23
28
  :'enterprise_audit_include_expanded_diff' => :'enterprise_audit_include_expanded_diff',
24
- :'policies_buffered_access_view' => :'policies_buffered_access_view',
25
29
  :'flows_continuous_login' => :'flows_continuous_login',
26
30
  :'flows_refresh_others' => :'flows_refresh_others'
27
31
  }
@@ -40,8 +44,8 @@ module Authentik::Api
40
44
  # Attribute type mapping.
41
45
  def self.openapi_types
42
46
  {
47
+ :'core_default_app_access' => :'Boolean',
43
48
  :'enterprise_audit_include_expanded_diff' => :'Boolean',
44
- :'policies_buffered_access_view' => :'Boolean',
45
49
  :'flows_continuous_login' => :'Boolean',
46
50
  :'flows_refresh_others' => :'Boolean'
47
51
  }
@@ -69,16 +73,16 @@ module Authentik::Api
69
73
  h[k.to_sym] = v
70
74
  }
71
75
 
72
- if attributes.key?(:'enterprise_audit_include_expanded_diff')
73
- self.enterprise_audit_include_expanded_diff = attributes[:'enterprise_audit_include_expanded_diff']
76
+ if attributes.key?(:'core_default_app_access')
77
+ self.core_default_app_access = attributes[:'core_default_app_access']
74
78
  else
75
- self.enterprise_audit_include_expanded_diff = nil
79
+ self.core_default_app_access = nil
76
80
  end
77
81
 
78
- if attributes.key?(:'policies_buffered_access_view')
79
- self.policies_buffered_access_view = attributes[:'policies_buffered_access_view']
82
+ if attributes.key?(:'enterprise_audit_include_expanded_diff')
83
+ self.enterprise_audit_include_expanded_diff = attributes[:'enterprise_audit_include_expanded_diff']
80
84
  else
81
- self.policies_buffered_access_view = nil
85
+ self.enterprise_audit_include_expanded_diff = nil
82
86
  end
83
87
 
84
88
  if attributes.key?(:'flows_continuous_login')
@@ -99,12 +103,12 @@ module Authentik::Api
99
103
  def list_invalid_properties
100
104
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
101
105
  invalid_properties = Array.new
102
- if @enterprise_audit_include_expanded_diff.nil?
103
- invalid_properties.push('invalid value for "enterprise_audit_include_expanded_diff", enterprise_audit_include_expanded_diff cannot be nil.')
106
+ if @core_default_app_access.nil?
107
+ invalid_properties.push('invalid value for "core_default_app_access", core_default_app_access cannot be nil.')
104
108
  end
105
109
 
106
- if @policies_buffered_access_view.nil?
107
- invalid_properties.push('invalid value for "policies_buffered_access_view", policies_buffered_access_view cannot be nil.')
110
+ if @enterprise_audit_include_expanded_diff.nil?
111
+ invalid_properties.push('invalid value for "enterprise_audit_include_expanded_diff", enterprise_audit_include_expanded_diff cannot be nil.')
108
112
  end
109
113
 
110
114
  if @flows_continuous_login.nil?
@@ -122,31 +126,31 @@ module Authentik::Api
122
126
  # @return true if the model is valid
123
127
  def valid?
124
128
  warn '[DEPRECATED] the `valid?` method is obsolete'
129
+ return false if @core_default_app_access.nil?
125
130
  return false if @enterprise_audit_include_expanded_diff.nil?
126
- return false if @policies_buffered_access_view.nil?
127
131
  return false if @flows_continuous_login.nil?
128
132
  return false if @flows_refresh_others.nil?
129
133
  true
130
134
  end
131
135
 
132
136
  # Custom attribute writer method with validation
133
- # @param [Object] enterprise_audit_include_expanded_diff Value to be assigned
134
- def enterprise_audit_include_expanded_diff=(enterprise_audit_include_expanded_diff)
135
- if enterprise_audit_include_expanded_diff.nil?
136
- fail ArgumentError, 'enterprise_audit_include_expanded_diff cannot be nil'
137
+ # @param [Object] core_default_app_access Value to be assigned
138
+ def core_default_app_access=(core_default_app_access)
139
+ if core_default_app_access.nil?
140
+ fail ArgumentError, 'core_default_app_access cannot be nil'
137
141
  end
138
142
 
139
- @enterprise_audit_include_expanded_diff = enterprise_audit_include_expanded_diff
143
+ @core_default_app_access = core_default_app_access
140
144
  end
141
145
 
142
146
  # Custom attribute writer method with validation
143
- # @param [Object] policies_buffered_access_view Value to be assigned
144
- def policies_buffered_access_view=(policies_buffered_access_view)
145
- if policies_buffered_access_view.nil?
146
- fail ArgumentError, 'policies_buffered_access_view cannot be nil'
147
+ # @param [Object] enterprise_audit_include_expanded_diff Value to be assigned
148
+ def enterprise_audit_include_expanded_diff=(enterprise_audit_include_expanded_diff)
149
+ if enterprise_audit_include_expanded_diff.nil?
150
+ fail ArgumentError, 'enterprise_audit_include_expanded_diff cannot be nil'
147
151
  end
148
152
 
149
- @policies_buffered_access_view = policies_buffered_access_view
153
+ @enterprise_audit_include_expanded_diff = enterprise_audit_include_expanded_diff
150
154
  end
151
155
 
152
156
  # Custom attribute writer method with validation
@@ -174,8 +178,8 @@ module Authentik::Api
174
178
  def ==(o)
175
179
  return true if self.equal?(o)
176
180
  self.class == o.class &&
181
+ core_default_app_access == o.core_default_app_access &&
177
182
  enterprise_audit_include_expanded_diff == o.enterprise_audit_include_expanded_diff &&
178
- policies_buffered_access_view == o.policies_buffered_access_view &&
179
183
  flows_continuous_login == o.flows_continuous_login &&
180
184
  flows_refresh_others == o.flows_refresh_others
181
185
  end
@@ -189,7 +193,7 @@ module Authentik::Api
189
193
  # Calculates hash code according to all attributes.
190
194
  # @return [Integer] Hash code
191
195
  def hash
192
- [enterprise_audit_include_expanded_diff, policies_buffered_access_view, flows_continuous_login, flows_refresh_others].hash
196
+ [core_default_app_access, enterprise_audit_include_expanded_diff, flows_continuous_login, flows_refresh_others].hash
193
197
  end
194
198
 
195
199
  # Builds the object from hash
@@ -19,13 +19,16 @@ module Authentik::Api
19
19
 
20
20
  attr_accessor :event_retention
21
21
 
22
+ attr_accessor :push_verify_certificates
23
+
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'name' => :'name',
26
28
  :'signing_key' => :'signing_key',
27
29
  :'oidc_auth_providers' => :'oidc_auth_providers',
28
- :'event_retention' => :'event_retention'
30
+ :'event_retention' => :'event_retention',
31
+ :'push_verify_certificates' => :'push_verify_certificates'
29
32
  }
30
33
  end
31
34
 
@@ -45,7 +48,8 @@ module Authentik::Api
45
48
  :'name' => :'String',
46
49
  :'signing_key' => :'String',
47
50
  :'oidc_auth_providers' => :'Array<Integer>',
48
- :'event_retention' => :'String'
51
+ :'event_retention' => :'String',
52
+ :'push_verify_certificates' => :'Boolean'
49
53
  }
50
54
  end
51
55
 
@@ -88,6 +92,10 @@ module Authentik::Api
88
92
  if attributes.key?(:'event_retention')
89
93
  self.event_retention = attributes[:'event_retention']
90
94
  end
95
+
96
+ if attributes.key?(:'push_verify_certificates')
97
+ self.push_verify_certificates = attributes[:'push_verify_certificates']
98
+ end
91
99
  end
92
100
 
93
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,7 +159,8 @@ module Authentik::Api
151
159
  name == o.name &&
152
160
  signing_key == o.signing_key &&
153
161
  oidc_auth_providers == o.oidc_auth_providers &&
154
- event_retention == o.event_retention
162
+ event_retention == o.event_retention &&
163
+ push_verify_certificates == o.push_verify_certificates
155
164
  end
156
165
 
157
166
  # @see the `==` method
@@ -163,7 +172,7 @@ module Authentik::Api
163
172
  # Calculates hash code according to all attributes.
164
173
  # @return [Integer] Hash code
165
174
  def hash
166
- [name, signing_key, oidc_auth_providers, event_retention].hash
175
+ [name, signing_key, oidc_auth_providers, event_retention, push_verify_certificates].hash
167
176
  end
168
177
 
169
178
  # Builds the object from hash
@@ -93,6 +93,9 @@ module Authentik::Api
93
93
  :'policy',
94
94
  :'group',
95
95
  :'user',
96
+ :'policy_obj',
97
+ :'group_obj',
98
+ :'user_obj',
96
99
  ])
97
100
  end
98
101
 
@@ -186,18 +189,6 @@ module Authentik::Api
186
189
  invalid_properties.push('invalid value for "pk", pk cannot be nil.')
187
190
  end
188
191
 
189
- if @policy_obj.nil?
190
- invalid_properties.push('invalid value for "policy_obj", policy_obj cannot be nil.')
191
- end
192
-
193
- if @group_obj.nil?
194
- invalid_properties.push('invalid value for "group_obj", group_obj cannot be nil.')
195
- end
196
-
197
- if @user_obj.nil?
198
- invalid_properties.push('invalid value for "user_obj", user_obj cannot be nil.')
199
- end
200
-
201
192
  if @target.nil?
202
193
  invalid_properties.push('invalid value for "target", target cannot be nil.')
203
194
  end
@@ -230,9 +221,6 @@ module Authentik::Api
230
221
  def valid?
231
222
  warn '[DEPRECATED] the `valid?` method is obsolete'
232
223
  return false if @pk.nil?
233
- return false if @policy_obj.nil?
234
- return false if @group_obj.nil?
235
- return false if @user_obj.nil?
236
224
  return false if @target.nil?
237
225
  return false if @order.nil?
238
226
  return false if @order > 2147483647
@@ -252,36 +240,6 @@ module Authentik::Api
252
240
  @pk = pk
253
241
  end
254
242
 
255
- # Custom attribute writer method with validation
256
- # @param [Object] policy_obj Value to be assigned
257
- def policy_obj=(policy_obj)
258
- if policy_obj.nil?
259
- fail ArgumentError, 'policy_obj cannot be nil'
260
- end
261
-
262
- @policy_obj = policy_obj
263
- end
264
-
265
- # Custom attribute writer method with validation
266
- # @param [Object] group_obj Value to be assigned
267
- def group_obj=(group_obj)
268
- if group_obj.nil?
269
- fail ArgumentError, 'group_obj cannot be nil'
270
- end
271
-
272
- @group_obj = group_obj
273
- end
274
-
275
- # Custom attribute writer method with validation
276
- # @param [Object] user_obj Value to be assigned
277
- def user_obj=(user_obj)
278
- if user_obj.nil?
279
- fail ArgumentError, 'user_obj cannot be nil'
280
- end
281
-
282
- @user_obj = user_obj
283
- end
284
-
285
243
  # Custom attribute writer method with validation
286
244
  # @param [Object] target Value to be assigned
287
245
  def target=(target)
@@ -26,10 +26,13 @@ module Authentik::Api
26
26
  SEPARATOR = "separator".freeze
27
27
  HIDDEN = "hidden".freeze
28
28
  STATIC = "static".freeze
29
+ ALERT_INFO = "alert_info".freeze
30
+ ALERT_WARNING = "alert_warning".freeze
31
+ ALERT_DANGER = "alert_danger".freeze
29
32
  AK_LOCALE = "ak-locale".freeze
30
33
 
31
34
  def self.all_vars
32
- @all_vars ||= [TEXT, TEXT_AREA, TEXT_READ_ONLY, TEXT_AREA_READ_ONLY, USERNAME, EMAIL, PASSWORD, NUMBER, CHECKBOX, RADIO_BUTTON_GROUP, DROPDOWN, DATE, DATE_TIME, FILE, SEPARATOR, HIDDEN, STATIC, AK_LOCALE].freeze
35
+ @all_vars ||= [TEXT, TEXT_AREA, TEXT_READ_ONLY, TEXT_AREA_READ_ONLY, USERNAME, EMAIL, PASSWORD, NUMBER, CHECKBOX, RADIO_BUTTON_GROUP, DROPDOWN, DATE, DATE_TIME, FILE, SEPARATOR, HIDDEN, STATIC, ALERT_INFO, ALERT_WARNING, ALERT_DANGER, AK_LOCALE].freeze
33
36
  end
34
37
 
35
38
  # Builds the enum from string
@@ -14,6 +14,8 @@ module Authentik::Api
14
14
 
15
15
  attr_accessor :url
16
16
 
17
+ attr_accessor :redirect_uri_type
18
+
17
19
  class EnumAttributeValidator
18
20
  attr_reader :datatype
19
21
  attr_reader :allowable_values
@@ -40,7 +42,8 @@ module Authentik::Api
40
42
  def self.attribute_map
41
43
  {
42
44
  :'matching_mode' => :'matching_mode',
43
- :'url' => :'url'
45
+ :'url' => :'url',
46
+ :'redirect_uri_type' => :'redirect_uri_type'
44
47
  }
45
48
  end
46
49
 
@@ -58,7 +61,8 @@ module Authentik::Api
58
61
  def self.openapi_types
59
62
  {
60
63
  :'matching_mode' => :'MatchingModeEnum',
61
- :'url' => :'String'
64
+ :'url' => :'String',
65
+ :'redirect_uri_type' => :'RedirectURITypeEnum'
62
66
  }
63
67
  end
64
68
 
@@ -95,6 +99,10 @@ module Authentik::Api
95
99
  else
96
100
  self.url = nil
97
101
  end
102
+
103
+ if attributes.key?(:'redirect_uri_type')
104
+ self.redirect_uri_type = attributes[:'redirect_uri_type']
105
+ end
98
106
  end
99
107
 
100
108
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -148,7 +156,8 @@ module Authentik::Api
148
156
  return true if self.equal?(o)
149
157
  self.class == o.class &&
150
158
  matching_mode == o.matching_mode &&
151
- url == o.url
159
+ url == o.url &&
160
+ redirect_uri_type == o.redirect_uri_type
152
161
  end
153
162
 
154
163
  # @see the `==` method
@@ -160,7 +169,7 @@ module Authentik::Api
160
169
  # Calculates hash code according to all attributes.
161
170
  # @return [Integer] Hash code
162
171
  def hash
163
- [matching_mode, url].hash
172
+ [matching_mode, url, redirect_uri_type].hash
164
173
  end
165
174
 
166
175
  # Builds the object from hash
@@ -14,6 +14,8 @@ module Authentik::Api
14
14
 
15
15
  attr_accessor :url
16
16
 
17
+ attr_accessor :redirect_uri_type
18
+
17
19
  class EnumAttributeValidator
18
20
  attr_reader :datatype
19
21
  attr_reader :allowable_values
@@ -40,7 +42,8 @@ module Authentik::Api
40
42
  def self.attribute_map
41
43
  {
42
44
  :'matching_mode' => :'matching_mode',
43
- :'url' => :'url'
45
+ :'url' => :'url',
46
+ :'redirect_uri_type' => :'redirect_uri_type'
44
47
  }
45
48
  end
46
49
 
@@ -58,7 +61,8 @@ module Authentik::Api
58
61
  def self.openapi_types
59
62
  {
60
63
  :'matching_mode' => :'MatchingModeEnum',
61
- :'url' => :'String'
64
+ :'url' => :'String',
65
+ :'redirect_uri_type' => :'RedirectURITypeEnum'
62
66
  }
63
67
  end
64
68
 
@@ -95,6 +99,10 @@ module Authentik::Api
95
99
  else
96
100
  self.url = nil
97
101
  end
102
+
103
+ if attributes.key?(:'redirect_uri_type')
104
+ self.redirect_uri_type = attributes[:'redirect_uri_type']
105
+ end
98
106
  end
99
107
 
100
108
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -157,7 +165,8 @@ module Authentik::Api
157
165
  return true if self.equal?(o)
158
166
  self.class == o.class &&
159
167
  matching_mode == o.matching_mode &&
160
- url == o.url
168
+ url == o.url &&
169
+ redirect_uri_type == o.redirect_uri_type
161
170
  end
162
171
 
163
172
  # @see the `==` method
@@ -169,7 +178,7 @@ module Authentik::Api
169
178
  # Calculates hash code according to all attributes.
170
179
  # @return [Integer] Hash code
171
180
  def hash
172
- [matching_mode, url].hash
181
+ [matching_mode, url, redirect_uri_type].hash
173
182
  end
174
183
 
175
184
  # Builds the object from hash