authentik-api 2026.5.0.rc2 → 2026.5.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 +4 -4
- data/README_API.md +5 -5
- data/lib/authentik/api/models/notification_transport.rb +1 -1
- data/lib/authentik/api/models/notification_transport_request.rb +1 -1
- data/lib/authentik/api/models/patched_notification_transport_request.rb +1 -1
- data/lib/authentik/api/models/scim_authentication_mode_enum.rb +2 -1
- data/lib/authentik/api/models/scim_provider.rb +49 -1
- data/lib/authentik/api/models/session_end_challenge.rb +10 -1
- data/lib/authentik/api/version.rb +1 -1
- data/spec/models/scim_provider_spec.rb +24 -0
- data/spec/models/session_end_challenge_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2501a87d81262d97385ffd00c1c9c28943d752ae68dbee2db4aeba7893aaf59d
|
|
4
|
+
data.tar.gz: '0669e5a727519a8f3f92148e8b7c0523ce234a7ddff55b93b76924044dc1e5ae'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8afa689eb4406f397d54e61b94d5ce73cf67dd72d096756dfcd82e48d6e845ce39e475c3e7a20341401d633d732e4461647f84e06de9830dc767fb2a1640b9fa
|
|
7
|
+
data.tar.gz: f330a9adad753ba0e93ab3db8e2c44f5d86d1ded7f00169d1cdced6895f42c45bf0e01b01651f4fc800d987a3fca7490c12ca9ce75bc5e04fb6e058e15ae2f1b
|
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.5.0
|
|
10
|
-
- Package version: 2026.5.0
|
|
9
|
+
- API version: 2026.5.0
|
|
10
|
+
- Package version: 2026.5.0
|
|
11
11
|
- Generator version: 7.23.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.5.0.
|
|
27
|
+
gem install ./authentik-api-2026.5.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./authentik-api-2026.5.0.
|
|
30
|
+
(for development, run `gem install --dev ./authentik-api-2026.5.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.5.0
|
|
36
|
+
gem 'authentik-api', '~> 2026.5.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -21,7 +21,7 @@ module Authentik::Api
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :webhook_url
|
|
23
23
|
|
|
24
|
-
# When set, the selected
|
|
24
|
+
# When set, the selected certificate is used to validate the certificate of the webhook server.
|
|
25
25
|
attr_accessor :webhook_ca
|
|
26
26
|
|
|
27
27
|
# Customize the body of the request. Mapping should return data that is JSON-serializable.
|
|
@@ -16,7 +16,7 @@ module Authentik::Api
|
|
|
16
16
|
|
|
17
17
|
attr_accessor :webhook_url
|
|
18
18
|
|
|
19
|
-
# When set, the selected
|
|
19
|
+
# When set, the selected certificate is used to validate the certificate of the webhook server.
|
|
20
20
|
attr_accessor :webhook_ca
|
|
21
21
|
|
|
22
22
|
# Customize the body of the request. Mapping should return data that is JSON-serializable.
|
|
@@ -16,7 +16,7 @@ module Authentik::Api
|
|
|
16
16
|
|
|
17
17
|
attr_accessor :webhook_url
|
|
18
18
|
|
|
19
|
-
# When set, the selected
|
|
19
|
+
# When set, the selected certificate is used to validate the certificate of the webhook server.
|
|
20
20
|
attr_accessor :webhook_ca
|
|
21
21
|
|
|
22
22
|
# Customize the body of the request. Mapping should return data that is JSON-serializable.
|
|
@@ -11,9 +11,10 @@ module Authentik::Api
|
|
|
11
11
|
class SCIMAuthenticationModeEnum
|
|
12
12
|
TOKEN = "token".freeze
|
|
13
13
|
OAUTH = "oauth".freeze
|
|
14
|
+
OAUTH_INTERACTIVE = "oauth_interactive".freeze
|
|
14
15
|
|
|
15
16
|
def self.all_vars
|
|
16
|
-
@all_vars ||= [TOKEN, OAUTH].freeze
|
|
17
|
+
@all_vars ||= [TOKEN, OAUTH, OAUTH_INTERACTIVE].freeze
|
|
17
18
|
end
|
|
18
19
|
|
|
19
20
|
# Builds the enum from string
|
|
@@ -53,6 +53,14 @@ module Authentik::Api
|
|
|
53
53
|
# Additional OAuth parameters, such as grant_type
|
|
54
54
|
attr_accessor :auth_oauth_params
|
|
55
55
|
|
|
56
|
+
attr_accessor :auth_oauth_token_last_updated
|
|
57
|
+
|
|
58
|
+
attr_accessor :auth_oauth_token_expires
|
|
59
|
+
|
|
60
|
+
attr_accessor :auth_oauth_url_callback
|
|
61
|
+
|
|
62
|
+
attr_accessor :auth_oauth_url_start
|
|
63
|
+
|
|
56
64
|
# Alter authentik behavior for vendor-specific SCIM implementations.
|
|
57
65
|
attr_accessor :compatibility_mode
|
|
58
66
|
|
|
@@ -114,6 +122,10 @@ module Authentik::Api
|
|
|
114
122
|
:'auth_mode' => :'auth_mode',
|
|
115
123
|
:'auth_oauth' => :'auth_oauth',
|
|
116
124
|
:'auth_oauth_params' => :'auth_oauth_params',
|
|
125
|
+
:'auth_oauth_token_last_updated' => :'auth_oauth_token_last_updated',
|
|
126
|
+
:'auth_oauth_token_expires' => :'auth_oauth_token_expires',
|
|
127
|
+
:'auth_oauth_url_callback' => :'auth_oauth_url_callback',
|
|
128
|
+
:'auth_oauth_url_start' => :'auth_oauth_url_start',
|
|
117
129
|
:'compatibility_mode' => :'compatibility_mode',
|
|
118
130
|
:'service_provider_config_cache_timeout' => :'service_provider_config_cache_timeout',
|
|
119
131
|
:'exclude_users_service_account' => :'exclude_users_service_account',
|
|
@@ -153,6 +165,10 @@ module Authentik::Api
|
|
|
153
165
|
:'auth_mode' => :'SCIMAuthenticationModeEnum',
|
|
154
166
|
:'auth_oauth' => :'String',
|
|
155
167
|
:'auth_oauth_params' => :'Hash<String, Object>',
|
|
168
|
+
:'auth_oauth_token_last_updated' => :'Time',
|
|
169
|
+
:'auth_oauth_token_expires' => :'Time',
|
|
170
|
+
:'auth_oauth_url_callback' => :'String',
|
|
171
|
+
:'auth_oauth_url_start' => :'String',
|
|
156
172
|
:'compatibility_mode' => :'CompatibilityModeEnum',
|
|
157
173
|
:'service_provider_config_cache_timeout' => :'String',
|
|
158
174
|
:'exclude_users_service_account' => :'Boolean',
|
|
@@ -169,6 +185,10 @@ module Authentik::Api
|
|
|
169
185
|
:'assigned_backchannel_application_slug',
|
|
170
186
|
:'assigned_backchannel_application_name',
|
|
171
187
|
:'auth_oauth',
|
|
188
|
+
:'auth_oauth_token_last_updated',
|
|
189
|
+
:'auth_oauth_token_expires',
|
|
190
|
+
:'auth_oauth_url_callback',
|
|
191
|
+
:'auth_oauth_url_start',
|
|
172
192
|
])
|
|
173
193
|
end
|
|
174
194
|
|
|
@@ -276,6 +296,30 @@ module Authentik::Api
|
|
|
276
296
|
end
|
|
277
297
|
end
|
|
278
298
|
|
|
299
|
+
if attributes.key?(:'auth_oauth_token_last_updated')
|
|
300
|
+
self.auth_oauth_token_last_updated = attributes[:'auth_oauth_token_last_updated']
|
|
301
|
+
else
|
|
302
|
+
self.auth_oauth_token_last_updated = nil
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
if attributes.key?(:'auth_oauth_token_expires')
|
|
306
|
+
self.auth_oauth_token_expires = attributes[:'auth_oauth_token_expires']
|
|
307
|
+
else
|
|
308
|
+
self.auth_oauth_token_expires = nil
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
if attributes.key?(:'auth_oauth_url_callback')
|
|
312
|
+
self.auth_oauth_url_callback = attributes[:'auth_oauth_url_callback']
|
|
313
|
+
else
|
|
314
|
+
self.auth_oauth_url_callback = nil
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
if attributes.key?(:'auth_oauth_url_start')
|
|
318
|
+
self.auth_oauth_url_start = attributes[:'auth_oauth_url_start']
|
|
319
|
+
else
|
|
320
|
+
self.auth_oauth_url_start = nil
|
|
321
|
+
end
|
|
322
|
+
|
|
279
323
|
if attributes.key?(:'compatibility_mode')
|
|
280
324
|
self.compatibility_mode = attributes[:'compatibility_mode']
|
|
281
325
|
end
|
|
@@ -476,6 +520,10 @@ module Authentik::Api
|
|
|
476
520
|
auth_mode == o.auth_mode &&
|
|
477
521
|
auth_oauth == o.auth_oauth &&
|
|
478
522
|
auth_oauth_params == o.auth_oauth_params &&
|
|
523
|
+
auth_oauth_token_last_updated == o.auth_oauth_token_last_updated &&
|
|
524
|
+
auth_oauth_token_expires == o.auth_oauth_token_expires &&
|
|
525
|
+
auth_oauth_url_callback == o.auth_oauth_url_callback &&
|
|
526
|
+
auth_oauth_url_start == o.auth_oauth_url_start &&
|
|
479
527
|
compatibility_mode == o.compatibility_mode &&
|
|
480
528
|
service_provider_config_cache_timeout == o.service_provider_config_cache_timeout &&
|
|
481
529
|
exclude_users_service_account == o.exclude_users_service_account &&
|
|
@@ -494,7 +542,7 @@ module Authentik::Api
|
|
|
494
542
|
# Calculates hash code according to all attributes.
|
|
495
543
|
# @return [Integer] Hash code
|
|
496
544
|
def hash
|
|
497
|
-
[pk, name, property_mappings, property_mappings_group, component, assigned_backchannel_application_slug, assigned_backchannel_application_name, verbose_name, verbose_name_plural, meta_model_name, url, verify_certificates, token, auth_mode, auth_oauth, auth_oauth_params, compatibility_mode, service_provider_config_cache_timeout, exclude_users_service_account, sync_page_size, sync_page_timeout, group_filters, dry_run].hash
|
|
545
|
+
[pk, name, property_mappings, property_mappings_group, component, assigned_backchannel_application_slug, assigned_backchannel_application_name, verbose_name, verbose_name_plural, meta_model_name, url, verify_certificates, token, auth_mode, auth_oauth, auth_oauth_params, auth_oauth_token_last_updated, auth_oauth_token_expires, auth_oauth_url_callback, auth_oauth_url_start, compatibility_mode, service_provider_config_cache_timeout, exclude_users_service_account, sync_page_size, sync_page_timeout, group_filters, dry_run].hash
|
|
498
546
|
end
|
|
499
547
|
|
|
500
548
|
# Builds the object from hash
|
|
@@ -26,6 +26,8 @@ module Authentik::Api
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :invalidation_flow_url
|
|
28
28
|
|
|
29
|
+
attr_accessor :overview_url
|
|
30
|
+
|
|
29
31
|
attr_accessor :brand_name
|
|
30
32
|
|
|
31
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -39,6 +41,7 @@ module Authentik::Api
|
|
|
39
41
|
:'application_name' => :'application_name',
|
|
40
42
|
:'application_launch_url' => :'application_launch_url',
|
|
41
43
|
:'invalidation_flow_url' => :'invalidation_flow_url',
|
|
44
|
+
:'overview_url' => :'overview_url',
|
|
42
45
|
:'brand_name' => :'brand_name'
|
|
43
46
|
}
|
|
44
47
|
end
|
|
@@ -64,6 +67,7 @@ module Authentik::Api
|
|
|
64
67
|
:'application_name' => :'String',
|
|
65
68
|
:'application_launch_url' => :'String',
|
|
66
69
|
:'invalidation_flow_url' => :'String',
|
|
70
|
+
:'overview_url' => :'String',
|
|
67
71
|
:'brand_name' => :'String'
|
|
68
72
|
}
|
|
69
73
|
end
|
|
@@ -130,6 +134,10 @@ module Authentik::Api
|
|
|
130
134
|
self.invalidation_flow_url = attributes[:'invalidation_flow_url']
|
|
131
135
|
end
|
|
132
136
|
|
|
137
|
+
if attributes.key?(:'overview_url')
|
|
138
|
+
self.overview_url = attributes[:'overview_url']
|
|
139
|
+
end
|
|
140
|
+
|
|
133
141
|
if attributes.key?(:'brand_name')
|
|
134
142
|
self.brand_name = attributes[:'brand_name']
|
|
135
143
|
else
|
|
@@ -210,6 +218,7 @@ module Authentik::Api
|
|
|
210
218
|
application_name == o.application_name &&
|
|
211
219
|
application_launch_url == o.application_launch_url &&
|
|
212
220
|
invalidation_flow_url == o.invalidation_flow_url &&
|
|
221
|
+
overview_url == o.overview_url &&
|
|
213
222
|
brand_name == o.brand_name
|
|
214
223
|
end
|
|
215
224
|
|
|
@@ -222,7 +231,7 @@ module Authentik::Api
|
|
|
222
231
|
# Calculates hash code according to all attributes.
|
|
223
232
|
# @return [Integer] Hash code
|
|
224
233
|
def hash
|
|
225
|
-
[flow_info, component, response_errors, pending_user, pending_user_avatar, application_name, application_launch_url, invalidation_flow_url, brand_name].hash
|
|
234
|
+
[flow_info, component, response_errors, pending_user, pending_user_avatar, application_name, application_launch_url, invalidation_flow_url, overview_url, brand_name].hash
|
|
226
235
|
end
|
|
227
236
|
|
|
228
237
|
# Builds the object from hash
|
|
@@ -117,6 +117,30 @@ describe Authentik::Api::SCIMProvider do
|
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
+
describe 'test attribute "auth_oauth_token_last_updated"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "auth_oauth_token_expires"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "auth_oauth_url_callback"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "auth_oauth_url_start"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
120
144
|
describe 'test attribute "compatibility_mode"' do
|
|
121
145
|
it 'should work' do
|
|
122
146
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,6 +69,12 @@ describe Authentik::Api::SessionEndChallenge do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "overview_url"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
describe 'test attribute "brand_name"' do
|
|
73
79
|
it 'should work' do
|
|
74
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|