authentik-api 2026.8.0.rc7 → 2026.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbdcc7179d76da95fb4488878afb9f991080cfdc9d30f5b7ea96dc99d61226a4
4
- data.tar.gz: c5192f7c66e10f96eb0215a82cb527d55bd48998d67abade21a67202f0446ea7
3
+ metadata.gz: e4f1a04b6347d0e6c87b30cd5721c708502ded35973e1764d0d40980a0e89fb9
4
+ data.tar.gz: 34cfaffaa532656e955518eb1c88fabff78f89fd6cca8eb8dac0337430bd1f8a
5
5
  SHA512:
6
- metadata.gz: f553a1fc4b8bc4877a2e659bbfda3d1c64df241d298707185d061669d908c8c0b2e31f97c0b6074a2ee5090ccb7f4a7f20fdca79a7431542239f59f1d1394f31
7
- data.tar.gz: 632becc2cecc943bb223fb0c2bc44eb2c993210e2b7d1f543a5ddf500651834f2d8607573c327dd0bd818aeaef91e0ac90ad31b2c0dd2ebff4be48718dd52d36
6
+ metadata.gz: 381ab90c4e5cd1ba62a9046e13b1b58de462e241b4b037d8b8287d81c37135689292a299fdc649ffe519955bc73601d454cb496f54215a3f966488927d8da36a
7
+ data.tar.gz: a6cde3065208a60b7cc50b958d44f3e51f8a3ed17615b2f89f89ec2367276eaf885e1de3feadce2ef6e47a95b87051f7b8298a15df3086163e93496f0340b1ba
data/README_API.md CHANGED
@@ -6,8 +6,8 @@ Making authentication simple.
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: 2026.8.0-rc7
10
- - Package version: 2026.8.0.rc7
9
+ - API version: 2026.8.0
10
+ - Package version: 2026.8.0
11
11
  - Generator version: 7.25.0-SNAPSHOT
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build authentik-api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./authentik-api-2026.8.0.rc7.gem
27
+ gem install ./authentik-api-2026.8.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./authentik-api-2026.8.0.rc7.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./authentik-api-2026.8.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'authentik-api', '~> 2026.8.0.rc7'
36
+ gem 'authentik-api', '~> 2026.8.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -2035,6 +2035,7 @@ Class | Method | HTTP request | Description
2035
2035
  - [Authentik::Api::RequestRuleRequest](docs/RequestRuleRequest.md)
2036
2036
  - [Authentik::Api::RequestStatus](docs/RequestStatus.md)
2037
2037
  - [Authentik::Api::RequestableTarget](docs/RequestableTarget.md)
2038
+ - [Authentik::Api::ResumeOnMatchFailuresEnum](docs/ResumeOnMatchFailuresEnum.md)
2038
2039
  - [Authentik::Api::Review](docs/Review.md)
2039
2040
  - [Authentik::Api::ReviewRequest](docs/ReviewRequest.md)
2040
2041
  - [Authentik::Api::Role](docs/Role.md)
@@ -132,6 +132,7 @@ module Authentik::Api
132
132
 
133
133
  # Mixin to add a used_by endpoint to return a list of all objects using this object
134
134
  # @param [Hash] opts the optional parameters
135
+ # @option opts [String] :login_hint
135
136
  # @return [AgentAuthenticationResponse]
136
137
  def endpoints_agents_connectors_auth_ia_create(opts = {})
137
138
  data, _status_code, _headers = endpoints_agents_connectors_auth_ia_create_with_http_info(opts)
@@ -140,6 +141,7 @@ module Authentik::Api
140
141
 
141
142
  # Mixin to add a used_by endpoint to return a list of all objects using this object
142
143
  # @param [Hash] opts the optional parameters
144
+ # @option opts [String] :login_hint
143
145
  # @return [Array<(AgentAuthenticationResponse, Integer, Hash)>] AgentAuthenticationResponse data, response status code and response headers
144
146
  def endpoints_agents_connectors_auth_ia_create_with_http_info(opts = {})
145
147
  if @api_client.config.debugging
@@ -150,6 +152,7 @@ module Authentik::Api
150
152
 
151
153
  # query parameters
152
154
  query_params = opts[:query_params] || {}
155
+ query_params[:'login_hint'] = opts[:'login_hint'] if !opts[:'login_hint'].nil?
153
156
 
154
157
  # header parameters
155
158
  header_params = opts[:header_params] || {}
@@ -72,6 +72,7 @@ module Authentik::Api
72
72
  Set.new([
73
73
  :'access_group',
74
74
  :'expires',
75
+ :'facts',
75
76
  ])
76
77
  end
77
78
 
@@ -149,10 +150,6 @@ module Authentik::Api
149
150
  invalid_properties.push('invalid value for "name", name cannot be nil.')
150
151
  end
151
152
 
152
- if @facts.nil?
153
- invalid_properties.push('invalid value for "facts", facts cannot be nil.')
154
- end
155
-
156
153
  invalid_properties
157
154
  end
158
155
 
@@ -162,7 +159,6 @@ module Authentik::Api
162
159
  warn '[DEPRECATED] the `valid?` method is obsolete'
163
160
  return false if @pbm_uuid.nil?
164
161
  return false if @name.nil?
165
- return false if @facts.nil?
166
162
  true
167
163
  end
168
164
 
@@ -186,16 +182,6 @@ module Authentik::Api
186
182
  @name = name
187
183
  end
188
184
 
189
- # Custom attribute writer method with validation
190
- # @param [Object] facts Value to be assigned
191
- def facts=(facts)
192
- if facts.nil?
193
- fail ArgumentError, 'facts cannot be nil'
194
- end
195
-
196
- @facts = facts
197
- end
198
-
199
185
  # Checks equality by comparing each attribute.
200
186
  # @param [Object] Object to be compared
201
187
  def ==(o)
@@ -84,6 +84,7 @@ module Authentik::Api
84
84
  Set.new([
85
85
  :'access_group',
86
86
  :'expires',
87
+ :'facts',
87
88
  ])
88
89
  end
89
90
 
@@ -185,10 +186,6 @@ module Authentik::Api
185
186
  invalid_properties.push('invalid value for "name", name cannot be nil.')
186
187
  end
187
188
 
188
- if @facts.nil?
189
- invalid_properties.push('invalid value for "facts", facts cannot be nil.')
190
- end
191
-
192
189
  if @connections_obj.nil?
193
190
  invalid_properties.push('invalid value for "connections_obj", connections_obj cannot be nil.')
194
191
  end
@@ -210,7 +207,6 @@ module Authentik::Api
210
207
  warn '[DEPRECATED] the `valid?` method is obsolete'
211
208
  return false if @pbm_uuid.nil?
212
209
  return false if @name.nil?
213
- return false if @facts.nil?
214
210
  return false if @connections_obj.nil?
215
211
  return false if @policies.nil?
216
212
  return false if @connections.nil?
@@ -237,16 +233,6 @@ module Authentik::Api
237
233
  @name = name
238
234
  end
239
235
 
240
- # Custom attribute writer method with validation
241
- # @param [Object] facts Value to be assigned
242
- def facts=(facts)
243
- if facts.nil?
244
- fail ArgumentError, 'facts cannot be nil'
245
- end
246
-
247
- @facts = facts
248
- end
249
-
250
236
  # Custom attribute writer method with validation
251
237
  # @param [Object] connections_obj Value to be assigned
252
238
  def connections_obj=(connections_obj)
@@ -105,6 +105,8 @@ module Authentik::Api
105
105
  # List of attributes with nullable: true
106
106
  def self.openapi_nullable
107
107
  Set.new([
108
+ :'revoked_by',
109
+ :'agent_owner',
108
110
  :'expires',
109
111
  ])
110
112
  end
@@ -211,14 +213,6 @@ module Authentik::Api
211
213
  invalid_properties.push('invalid value for "created_by", created_by cannot be nil.')
212
214
  end
213
215
 
214
- if @revoked_by.nil?
215
- invalid_properties.push('invalid value for "revoked_by", revoked_by cannot be nil.')
216
- end
217
-
218
- if @agent_owner.nil?
219
- invalid_properties.push('invalid value for "agent_owner", agent_owner cannot be nil.')
220
- end
221
-
222
216
  if @is_active.nil?
223
217
  invalid_properties.push('invalid value for "is_active", is_active cannot be nil.')
224
218
  end
@@ -244,8 +238,6 @@ module Authentik::Api
244
238
  warn '[DEPRECATED] the `valid?` method is obsolete'
245
239
  return false if @created.nil?
246
240
  return false if @created_by.nil?
247
- return false if @revoked_by.nil?
248
- return false if @agent_owner.nil?
249
241
  return false if @is_active.nil?
250
242
  return false if @status.nil?
251
243
  return false if @targets.nil?
@@ -273,26 +265,6 @@ module Authentik::Api
273
265
  @created_by = created_by
274
266
  end
275
267
 
276
- # Custom attribute writer method with validation
277
- # @param [Object] revoked_by Value to be assigned
278
- def revoked_by=(revoked_by)
279
- if revoked_by.nil?
280
- fail ArgumentError, 'revoked_by cannot be nil'
281
- end
282
-
283
- @revoked_by = revoked_by
284
- end
285
-
286
- # Custom attribute writer method with validation
287
- # @param [Object] agent_owner Value to be assigned
288
- def agent_owner=(agent_owner)
289
- if agent_owner.nil?
290
- fail ArgumentError, 'agent_owner cannot be nil'
291
- end
292
-
293
- @agent_owner = agent_owner
294
- end
295
-
296
268
  # Custom attribute writer method with validation
297
269
  # @param [Object] is_active Value to be assigned
298
270
  def is_active=(is_active)
@@ -17,12 +17,16 @@ module Authentik::Api
17
17
  # Amount of time a user can take to return from the source to continue the flow (Format: hours=-1;minutes=-2;seconds=-3)
18
18
  attr_accessor :resume_timeout
19
19
 
20
+ # Source matching failure reasons for which the flow should resume.
21
+ attr_accessor :resume_on_match_failures
22
+
20
23
  # Attribute mapping from ruby-style variable name to JSON key.
21
24
  def self.attribute_map
22
25
  {
23
26
  :'name' => :'name',
24
27
  :'source' => :'source',
25
- :'resume_timeout' => :'resume_timeout'
28
+ :'resume_timeout' => :'resume_timeout',
29
+ :'resume_on_match_failures' => :'resume_on_match_failures'
26
30
  }
27
31
  end
28
32
 
@@ -41,7 +45,8 @@ module Authentik::Api
41
45
  {
42
46
  :'name' => :'String',
43
47
  :'source' => :'String',
44
- :'resume_timeout' => :'String'
48
+ :'resume_timeout' => :'String',
49
+ :'resume_on_match_failures' => :'Array<ResumeOnMatchFailuresEnum>'
45
50
  }
46
51
  end
47
52
 
@@ -78,6 +83,12 @@ module Authentik::Api
78
83
  if attributes.key?(:'resume_timeout')
79
84
  self.resume_timeout = attributes[:'resume_timeout']
80
85
  end
86
+
87
+ if attributes.key?(:'resume_on_match_failures')
88
+ if (value = attributes[:'resume_on_match_failures']).is_a?(Array)
89
+ self.resume_on_match_failures = value
90
+ end
91
+ end
81
92
  end
82
93
 
83
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -140,7 +151,8 @@ module Authentik::Api
140
151
  self.class == o.class &&
141
152
  name == o.name &&
142
153
  source == o.source &&
143
- resume_timeout == o.resume_timeout
154
+ resume_timeout == o.resume_timeout &&
155
+ resume_on_match_failures == o.resume_on_match_failures
144
156
  end
145
157
 
146
158
  # @see the `==` method
@@ -152,7 +164,7 @@ module Authentik::Api
152
164
  # Calculates hash code according to all attributes.
153
165
  # @return [Integer] Hash code
154
166
  def hash
155
- [name, source, resume_timeout].hash
167
+ [name, source, resume_timeout, resume_on_match_failures].hash
156
168
  end
157
169
 
158
170
  # Builds the object from hash
@@ -0,0 +1,33 @@
1
+ =begin
2
+ This file is automatically generated by: https://openapi-generator.tech.
3
+ Any manual changes will be lost when the OpenAPI scheme changes.
4
+
5
+ =end
6
+
7
+ require 'date'
8
+ require 'time'
9
+
10
+ module Authentik::Api
11
+ class ResumeOnMatchFailuresEnum
12
+ MISSING_PROPERTY = "missing_property".freeze
13
+
14
+ def self.all_vars
15
+ @all_vars ||= [MISSING_PROPERTY].freeze
16
+ end
17
+
18
+ # Builds the enum from string
19
+ # @param [String] The enum value in the form of the string
20
+ # @return [String] The enum value
21
+ def self.build_from_hash(value)
22
+ new.build_from_hash(value)
23
+ end
24
+
25
+ # Builds the enum from string
26
+ # @param [String] The enum value in the form of the string
27
+ # @return [String] The enum value
28
+ def build_from_hash(value)
29
+ return value if ResumeOnMatchFailuresEnum.all_vars.include?(value)
30
+ raise "Invalid ENUM value #{value} for class #ResumeOnMatchFailuresEnum"
31
+ end
32
+ end
33
+ end
@@ -33,6 +33,9 @@ module Authentik::Api
33
33
  # Amount of time a user can take to return from the source to continue the flow (Format: hours=-1;minutes=-2;seconds=-3)
34
34
  attr_accessor :resume_timeout
35
35
 
36
+ # Source matching failure reasons for which the flow should resume.
37
+ attr_accessor :resume_on_match_failures
38
+
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  def self.attribute_map
38
41
  {
@@ -44,7 +47,8 @@ module Authentik::Api
44
47
  :'meta_model_name' => :'meta_model_name',
45
48
  :'flow_set' => :'flow_set',
46
49
  :'source' => :'source',
47
- :'resume_timeout' => :'resume_timeout'
50
+ :'resume_timeout' => :'resume_timeout',
51
+ :'resume_on_match_failures' => :'resume_on_match_failures'
48
52
  }
49
53
  end
50
54
 
@@ -69,7 +73,8 @@ module Authentik::Api
69
73
  :'meta_model_name' => :'String',
70
74
  :'flow_set' => :'Array<FlowSet>',
71
75
  :'source' => :'String',
72
- :'resume_timeout' => :'String'
76
+ :'resume_timeout' => :'String',
77
+ :'resume_on_match_failures' => :'Array<ResumeOnMatchFailuresEnum>'
73
78
  }
74
79
  end
75
80
 
@@ -148,6 +153,12 @@ module Authentik::Api
148
153
  if attributes.key?(:'resume_timeout')
149
154
  self.resume_timeout = attributes[:'resume_timeout']
150
155
  end
156
+
157
+ if attributes.key?(:'resume_on_match_failures')
158
+ if (value = attributes[:'resume_on_match_failures']).is_a?(Array)
159
+ self.resume_on_match_failures = value
160
+ end
161
+ end
151
162
  end
152
163
 
153
164
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -298,7 +309,8 @@ module Authentik::Api
298
309
  meta_model_name == o.meta_model_name &&
299
310
  flow_set == o.flow_set &&
300
311
  source == o.source &&
301
- resume_timeout == o.resume_timeout
312
+ resume_timeout == o.resume_timeout &&
313
+ resume_on_match_failures == o.resume_on_match_failures
302
314
  end
303
315
 
304
316
  # @see the `==` method
@@ -310,7 +322,7 @@ module Authentik::Api
310
322
  # Calculates hash code according to all attributes.
311
323
  # @return [Integer] Hash code
312
324
  def hash
313
- [pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, source, resume_timeout].hash
325
+ [pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, source, resume_timeout, resume_on_match_failures].hash
314
326
  end
315
327
 
316
328
  # Builds the object from hash
@@ -17,12 +17,16 @@ module Authentik::Api
17
17
  # Amount of time a user can take to return from the source to continue the flow (Format: hours=-1;minutes=-2;seconds=-3)
18
18
  attr_accessor :resume_timeout
19
19
 
20
+ # Source matching failure reasons for which the flow should resume.
21
+ attr_accessor :resume_on_match_failures
22
+
20
23
  # Attribute mapping from ruby-style variable name to JSON key.
21
24
  def self.attribute_map
22
25
  {
23
26
  :'name' => :'name',
24
27
  :'source' => :'source',
25
- :'resume_timeout' => :'resume_timeout'
28
+ :'resume_timeout' => :'resume_timeout',
29
+ :'resume_on_match_failures' => :'resume_on_match_failures'
26
30
  }
27
31
  end
28
32
 
@@ -41,7 +45,8 @@ module Authentik::Api
41
45
  {
42
46
  :'name' => :'String',
43
47
  :'source' => :'String',
44
- :'resume_timeout' => :'String'
48
+ :'resume_timeout' => :'String',
49
+ :'resume_on_match_failures' => :'Array<ResumeOnMatchFailuresEnum>'
45
50
  }
46
51
  end
47
52
 
@@ -82,6 +87,12 @@ module Authentik::Api
82
87
  if attributes.key?(:'resume_timeout')
83
88
  self.resume_timeout = attributes[:'resume_timeout']
84
89
  end
90
+
91
+ if attributes.key?(:'resume_on_match_failures')
92
+ if (value = attributes[:'resume_on_match_failures']).is_a?(Array)
93
+ self.resume_on_match_failures = value
94
+ end
95
+ end
85
96
  end
86
97
 
87
98
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,7 +175,8 @@ module Authentik::Api
164
175
  self.class == o.class &&
165
176
  name == o.name &&
166
177
  source == o.source &&
167
- resume_timeout == o.resume_timeout
178
+ resume_timeout == o.resume_timeout &&
179
+ resume_on_match_failures == o.resume_on_match_failures
168
180
  end
169
181
 
170
182
  # @see the `==` method
@@ -176,7 +188,7 @@ module Authentik::Api
176
188
  # Calculates hash code according to all attributes.
177
189
  # @return [Integer] Hash code
178
190
  def hash
179
- [name, source, resume_timeout].hash
191
+ [name, source, resume_timeout, resume_on_match_failures].hash
180
192
  end
181
193
 
182
194
  # Builds the object from hash
@@ -6,6 +6,6 @@ Any manual changes will be lost when the OpenAPI scheme changes.
6
6
 
7
7
  module Authentik
8
8
  module Api
9
- VERSION = '2026.8.0.rc7'
9
+ VERSION = '2026.8.0'
10
10
  end
11
11
  end
@@ -50,6 +50,7 @@ describe 'EndpointsApi' do
50
50
  # unit tests for endpoints_agents_connectors_auth_ia_create
51
51
  # Mixin to add a used_by endpoint to return a list of all objects using this object
52
52
  # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :login_hint
53
54
  # @return [AgentAuthenticationResponse]
54
55
  describe 'endpoints_agents_connectors_auth_ia_create test' do
55
56
  it 'should work' do
@@ -39,4 +39,10 @@ describe Authentik::Api::PatchedSourceStageRequest do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "resume_on_match_failures"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
42
48
  end
@@ -0,0 +1,24 @@
1
+ =begin
2
+ This file is automatically generated by: https://openapi-generator.tech.
3
+ Any manual changes will be lost when the OpenAPI scheme changes.
4
+
5
+ =end
6
+
7
+ require 'spec_helper'
8
+ require 'json'
9
+ require 'date'
10
+
11
+ # Unit tests for Authentik::Api::ResumeOnMatchFailuresEnum
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::ResumeOnMatchFailuresEnum do
15
+ #let(:instance) { Authentik::Api::ResumeOnMatchFailuresEnum.new }
16
+
17
+ describe 'test an instance of ResumeOnMatchFailuresEnum' do
18
+ it 'should create an instance of ResumeOnMatchFailuresEnum' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::ResumeOnMatchFailuresEnum)
21
+ end
22
+ end
23
+
24
+ end
@@ -39,4 +39,10 @@ describe Authentik::Api::SourceStageRequest do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "resume_on_match_failures"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
42
48
  end
@@ -75,4 +75,10 @@ describe Authentik::Api::SourceStage do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "resume_on_match_failures"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
78
84
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentik-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2026.8.0.rc7
4
+ version: 2026.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Uhlig
@@ -893,6 +893,7 @@ files:
893
893
  - lib/authentik/api/models/request_rule_request.rb
894
894
  - lib/authentik/api/models/request_status.rb
895
895
  - lib/authentik/api/models/requestable_target.rb
896
+ - lib/authentik/api/models/resume_on_match_failures_enum.rb
896
897
  - lib/authentik/api/models/review.rb
897
898
  - lib/authentik/api/models/review_request.rb
898
899
  - lib/authentik/api/models/role.rb
@@ -1851,6 +1852,7 @@ files:
1851
1852
  - spec/models/request_rule_spec.rb
1852
1853
  - spec/models/request_status_spec.rb
1853
1854
  - spec/models/requestable_target_spec.rb
1855
+ - spec/models/resume_on_match_failures_enum_spec.rb
1854
1856
  - spec/models/review_request_spec.rb
1855
1857
  - spec/models/review_spec.rb
1856
1858
  - spec/models/role_assigned_object_permission_spec.rb
@@ -2833,6 +2835,7 @@ test_files:
2833
2835
  - spec/models/request_rule_spec.rb
2834
2836
  - spec/models/request_status_spec.rb
2835
2837
  - spec/models/requestable_target_spec.rb
2838
+ - spec/models/resume_on_match_failures_enum_spec.rb
2836
2839
  - spec/models/review_request_spec.rb
2837
2840
  - spec/models/review_spec.rb
2838
2841
  - spec/models/role_assigned_object_permission_spec.rb