authentik-api 2026.5.5 → 2026.5.7
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 +17 -6
- data/lib/authentik/api/api/core_api.rb +27 -27
- data/lib/authentik/api/api/endpoints_api.rb +7 -7
- data/lib/authentik/api/configuration.rb +14 -0
- data/lib/authentik/api/models/authenticator_email_stage.rb +1 -10
- data/lib/authentik/api/models/authenticator_sms_stage.rb +1 -36
- data/lib/authentik/api/models/current_brand_flags.rb +1 -55
- data/lib/authentik/api/models/endpoint_device.rb +1 -15
- data/lib/authentik/api/models/endpoint_device_details.rb +1 -15
- data/lib/authentik/api/models/kerberos_source.rb +1 -21
- data/lib/authentik/api/models/microsoft_entra_provider.rb +1 -27
- data/lib/authentik/api/models/scim_provider.rb +1 -11
- data/lib/authentik/api/version.rb +1 -1
- data/spec/models/authenticator_email_stage_spec.rb +0 -6
- data/spec/models/authenticator_sms_stage_spec.rb +0 -12
- data/spec/models/current_brand_flags_spec.rb +0 -12
- data/spec/models/kerberos_source_spec.rb +0 -12
- data/spec/models/microsoft_entra_provider_spec.rb +0 -6
- data/spec/models/scim_provider_spec.rb +0 -6
- 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: 4cfd4adcb7859a84415d1dffbde07e12dcf7adfdcc7a3eaf39c47e5d687e4ddb
|
|
4
|
+
data.tar.gz: '021159d5430e6008bd0e5a9380e6ccd2df0fe580489a0684120fd53b3ac286ad'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 474f31f4a08de75168ea231a9f4c7b439bbe7244391187c8920f5595e7d9e0f91ddaf6557d0ac9cf3fbbb6ef617e9b65b1ce1c59f625db7797518b0923441a35
|
|
7
|
+
data.tar.gz: 2fa9cbed32ca8d1333d3574feebdde4566e4fdbda1d587f07f61a506a521789bcad18e63b7acb929005934b52065a02f70387f065f9246c7f21ef67e90a974e2
|
data/README_API.md
CHANGED
|
@@ -6,9 +6,9 @@ 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.
|
|
10
|
-
- Package version: 2026.5.
|
|
11
|
-
- Generator version: 7.
|
|
9
|
+
- API version: 2026.5.7
|
|
10
|
+
- Package version: 2026.5.7
|
|
11
|
+
- Generator version: 7.26.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
@@ -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.
|
|
27
|
+
gem install ./authentik-api-2026.5.7.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./authentik-api-2026.5.
|
|
30
|
+
(for development, run `gem install --dev ./authentik-api-2026.5.7.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.
|
|
36
|
+
gem 'authentik-api', '~> 2026.5.7'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -2118,3 +2118,14 @@ Authentication schemes defined for the API:
|
|
|
2118
2118
|
|
|
2119
2119
|
- **Type**: Bearer authentication
|
|
2120
2120
|
|
|
2121
|
+
### authentik_device_auth
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
### authentik_device_enroll
|
|
2125
|
+
|
|
2126
|
+
- **Type**: Bearer authentication
|
|
2127
|
+
|
|
2128
|
+
### authentik_device_federation
|
|
2129
|
+
|
|
2130
|
+
- **Type**: Bearer authentication
|
|
2131
|
+
|
|
@@ -1958,7 +1958,7 @@ module Authentik::Api
|
|
|
1958
1958
|
return_type = opts[:debug_return_type]
|
|
1959
1959
|
|
|
1960
1960
|
# auth_names
|
|
1961
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1961
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
1962
1962
|
|
|
1963
1963
|
new_options = opts.merge(
|
|
1964
1964
|
:operation => :"CoreApi.core_groups_add_user_create",
|
|
@@ -2024,7 +2024,7 @@ module Authentik::Api
|
|
|
2024
2024
|
return_type = opts[:debug_return_type] || 'Group'
|
|
2025
2025
|
|
|
2026
2026
|
# auth_names
|
|
2027
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2027
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2028
2028
|
|
|
2029
2029
|
new_options = opts.merge(
|
|
2030
2030
|
:operation => :"CoreApi.core_groups_create",
|
|
@@ -2085,7 +2085,7 @@ module Authentik::Api
|
|
|
2085
2085
|
return_type = opts[:debug_return_type]
|
|
2086
2086
|
|
|
2087
2087
|
# auth_names
|
|
2088
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2088
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2089
2089
|
|
|
2090
2090
|
new_options = opts.merge(
|
|
2091
2091
|
:operation => :"CoreApi.core_groups_destroy",
|
|
@@ -2179,7 +2179,7 @@ module Authentik::Api
|
|
|
2179
2179
|
return_type = opts[:debug_return_type] || 'PaginatedGroupList'
|
|
2180
2180
|
|
|
2181
2181
|
# auth_names
|
|
2182
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2182
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2183
2183
|
|
|
2184
2184
|
new_options = opts.merge(
|
|
2185
2185
|
:operation => :"CoreApi.core_groups_list",
|
|
@@ -2247,7 +2247,7 @@ module Authentik::Api
|
|
|
2247
2247
|
return_type = opts[:debug_return_type] || 'Group'
|
|
2248
2248
|
|
|
2249
2249
|
# auth_names
|
|
2250
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2250
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2251
2251
|
|
|
2252
2252
|
new_options = opts.merge(
|
|
2253
2253
|
:operation => :"CoreApi.core_groups_partial_update",
|
|
@@ -2319,7 +2319,7 @@ module Authentik::Api
|
|
|
2319
2319
|
return_type = opts[:debug_return_type]
|
|
2320
2320
|
|
|
2321
2321
|
# auth_names
|
|
2322
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2322
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2323
2323
|
|
|
2324
2324
|
new_options = opts.merge(
|
|
2325
2325
|
:operation => :"CoreApi.core_groups_remove_user_create",
|
|
@@ -2392,7 +2392,7 @@ module Authentik::Api
|
|
|
2392
2392
|
return_type = opts[:debug_return_type] || 'Group'
|
|
2393
2393
|
|
|
2394
2394
|
# auth_names
|
|
2395
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2395
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2396
2396
|
|
|
2397
2397
|
new_options = opts.merge(
|
|
2398
2398
|
:operation => :"CoreApi.core_groups_retrieve",
|
|
@@ -2464,7 +2464,7 @@ module Authentik::Api
|
|
|
2464
2464
|
return_type = opts[:debug_return_type] || 'Group'
|
|
2465
2465
|
|
|
2466
2466
|
# auth_names
|
|
2467
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2467
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2468
2468
|
|
|
2469
2469
|
new_options = opts.merge(
|
|
2470
2470
|
:operation => :"CoreApi.core_groups_update",
|
|
@@ -2525,7 +2525,7 @@ module Authentik::Api
|
|
|
2525
2525
|
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
2526
2526
|
|
|
2527
2527
|
# auth_names
|
|
2528
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2528
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
2529
2529
|
|
|
2530
2530
|
new_options = opts.merge(
|
|
2531
2531
|
:operation => :"CoreApi.core_groups_used_by_list",
|
|
@@ -3519,7 +3519,7 @@ module Authentik::Api
|
|
|
3519
3519
|
return_type = opts[:debug_return_type] || 'Link'
|
|
3520
3520
|
|
|
3521
3521
|
# auth_names
|
|
3522
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3522
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
3523
3523
|
|
|
3524
3524
|
new_options = opts.merge(
|
|
3525
3525
|
:operation => :"CoreApi.core_users_account_lockdown_create",
|
|
@@ -3585,7 +3585,7 @@ module Authentik::Api
|
|
|
3585
3585
|
return_type = opts[:debug_return_type] || 'User'
|
|
3586
3586
|
|
|
3587
3587
|
# auth_names
|
|
3588
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3588
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
3589
3589
|
|
|
3590
3590
|
new_options = opts.merge(
|
|
3591
3591
|
:operation => :"CoreApi.core_users_create",
|
|
@@ -3646,7 +3646,7 @@ module Authentik::Api
|
|
|
3646
3646
|
return_type = opts[:debug_return_type]
|
|
3647
3647
|
|
|
3648
3648
|
# auth_names
|
|
3649
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3649
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
3650
3650
|
|
|
3651
3651
|
new_options = opts.merge(
|
|
3652
3652
|
:operation => :"CoreApi.core_users_destroy",
|
|
@@ -3779,7 +3779,7 @@ module Authentik::Api
|
|
|
3779
3779
|
return_type = opts[:debug_return_type] || 'DataExport'
|
|
3780
3780
|
|
|
3781
3781
|
# auth_names
|
|
3782
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3782
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
3783
3783
|
|
|
3784
3784
|
new_options = opts.merge(
|
|
3785
3785
|
:operation => :"CoreApi.core_users_export_create",
|
|
@@ -3851,7 +3851,7 @@ module Authentik::Api
|
|
|
3851
3851
|
return_type = opts[:debug_return_type]
|
|
3852
3852
|
|
|
3853
3853
|
# auth_names
|
|
3854
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3854
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
3855
3855
|
|
|
3856
3856
|
new_options = opts.merge(
|
|
3857
3857
|
:operation => :"CoreApi.core_users_impersonate_create",
|
|
@@ -3906,7 +3906,7 @@ module Authentik::Api
|
|
|
3906
3906
|
return_type = opts[:debug_return_type]
|
|
3907
3907
|
|
|
3908
3908
|
# auth_names
|
|
3909
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3909
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
3910
3910
|
|
|
3911
3911
|
new_options = opts.merge(
|
|
3912
3912
|
:operation => :"CoreApi.core_users_impersonate_end_retrieve",
|
|
@@ -4051,7 +4051,7 @@ module Authentik::Api
|
|
|
4051
4051
|
return_type = opts[:debug_return_type] || 'PaginatedUserList'
|
|
4052
4052
|
|
|
4053
4053
|
# auth_names
|
|
4054
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4054
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4055
4055
|
|
|
4056
4056
|
new_options = opts.merge(
|
|
4057
4057
|
:operation => :"CoreApi.core_users_list",
|
|
@@ -4106,7 +4106,7 @@ module Authentik::Api
|
|
|
4106
4106
|
return_type = opts[:debug_return_type] || 'SessionUser'
|
|
4107
4107
|
|
|
4108
4108
|
# auth_names
|
|
4109
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4109
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4110
4110
|
|
|
4111
4111
|
new_options = opts.merge(
|
|
4112
4112
|
:operation => :"CoreApi.core_users_me_retrieve",
|
|
@@ -4174,7 +4174,7 @@ module Authentik::Api
|
|
|
4174
4174
|
return_type = opts[:debug_return_type] || 'User'
|
|
4175
4175
|
|
|
4176
4176
|
# auth_names
|
|
4177
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4177
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4178
4178
|
|
|
4179
4179
|
new_options = opts.merge(
|
|
4180
4180
|
:operation => :"CoreApi.core_users_partial_update",
|
|
@@ -4232,7 +4232,7 @@ module Authentik::Api
|
|
|
4232
4232
|
return_type = opts[:debug_return_type] || 'UserPath'
|
|
4233
4233
|
|
|
4234
4234
|
# auth_names
|
|
4235
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4235
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4236
4236
|
|
|
4237
4237
|
new_options = opts.merge(
|
|
4238
4238
|
:operation => :"CoreApi.core_users_paths_retrieve",
|
|
@@ -4300,7 +4300,7 @@ module Authentik::Api
|
|
|
4300
4300
|
return_type = opts[:debug_return_type] || 'Link'
|
|
4301
4301
|
|
|
4302
4302
|
# auth_names
|
|
4303
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4303
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4304
4304
|
|
|
4305
4305
|
new_options = opts.merge(
|
|
4306
4306
|
:operation => :"CoreApi.core_users_recovery_create",
|
|
@@ -4372,7 +4372,7 @@ module Authentik::Api
|
|
|
4372
4372
|
return_type = opts[:debug_return_type]
|
|
4373
4373
|
|
|
4374
4374
|
# auth_names
|
|
4375
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4375
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4376
4376
|
|
|
4377
4377
|
new_options = opts.merge(
|
|
4378
4378
|
:operation => :"CoreApi.core_users_recovery_email_create",
|
|
@@ -4433,7 +4433,7 @@ module Authentik::Api
|
|
|
4433
4433
|
return_type = opts[:debug_return_type] || 'User'
|
|
4434
4434
|
|
|
4435
4435
|
# auth_names
|
|
4436
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4436
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4437
4437
|
|
|
4438
4438
|
new_options = opts.merge(
|
|
4439
4439
|
:operation => :"CoreApi.core_users_retrieve",
|
|
@@ -4499,7 +4499,7 @@ module Authentik::Api
|
|
|
4499
4499
|
return_type = opts[:debug_return_type] || 'UserServiceAccountResponse'
|
|
4500
4500
|
|
|
4501
4501
|
# auth_names
|
|
4502
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4502
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4503
4503
|
|
|
4504
4504
|
new_options = opts.merge(
|
|
4505
4505
|
:operation => :"CoreApi.core_users_service_account_create",
|
|
@@ -4571,7 +4571,7 @@ module Authentik::Api
|
|
|
4571
4571
|
return_type = opts[:debug_return_type]
|
|
4572
4572
|
|
|
4573
4573
|
# auth_names
|
|
4574
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4574
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4575
4575
|
|
|
4576
4576
|
new_options = opts.merge(
|
|
4577
4577
|
:operation => :"CoreApi.core_users_set_password_create",
|
|
@@ -4643,7 +4643,7 @@ module Authentik::Api
|
|
|
4643
4643
|
return_type = opts[:debug_return_type]
|
|
4644
4644
|
|
|
4645
4645
|
# auth_names
|
|
4646
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4646
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4647
4647
|
|
|
4648
4648
|
new_options = opts.merge(
|
|
4649
4649
|
:operation => :"CoreApi.core_users_set_password_hash_create",
|
|
@@ -4715,7 +4715,7 @@ module Authentik::Api
|
|
|
4715
4715
|
return_type = opts[:debug_return_type] || 'User'
|
|
4716
4716
|
|
|
4717
4717
|
# auth_names
|
|
4718
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4718
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4719
4719
|
|
|
4720
4720
|
new_options = opts.merge(
|
|
4721
4721
|
:operation => :"CoreApi.core_users_update",
|
|
@@ -4776,7 +4776,7 @@ module Authentik::Api
|
|
|
4776
4776
|
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
4777
4777
|
|
|
4778
4778
|
# auth_names
|
|
4779
|
-
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
4779
|
+
auth_names = opts[:debug_auth_names] || ['authentik', 'authentik_device_auth']
|
|
4780
4780
|
|
|
4781
4781
|
new_options = opts.merge(
|
|
4782
4782
|
:operation => :"CoreApi.core_users_used_by_list",
|
|
@@ -49,7 +49,7 @@ module Authentik::Api
|
|
|
49
49
|
return_type = opts[:debug_return_type] || 'AgentConfig'
|
|
50
50
|
|
|
51
51
|
# auth_names
|
|
52
|
-
auth_names = opts[:debug_auth_names] || []
|
|
52
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_auth']
|
|
53
53
|
|
|
54
54
|
new_options = opts.merge(
|
|
55
55
|
:operation => :"EndpointsApi.endpoints_agents_connectors_agent_config_retrieve",
|
|
@@ -111,7 +111,7 @@ module Authentik::Api
|
|
|
111
111
|
return_type = opts[:debug_return_type] || 'AgentTokenResponse'
|
|
112
112
|
|
|
113
113
|
# auth_names
|
|
114
|
-
auth_names = opts[:debug_auth_names] || []
|
|
114
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_federation']
|
|
115
115
|
|
|
116
116
|
new_options = opts.merge(
|
|
117
117
|
:operation => :"EndpointsApi.endpoints_agents_connectors_auth_fed_create",
|
|
@@ -166,7 +166,7 @@ module Authentik::Api
|
|
|
166
166
|
return_type = opts[:debug_return_type] || 'AgentAuthenticationResponse'
|
|
167
167
|
|
|
168
168
|
# auth_names
|
|
169
|
-
auth_names = opts[:debug_auth_names] || []
|
|
169
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_auth']
|
|
170
170
|
|
|
171
171
|
new_options = opts.merge(
|
|
172
172
|
:operation => :"EndpointsApi.endpoints_agents_connectors_auth_ia_create",
|
|
@@ -228,7 +228,7 @@ module Authentik::Api
|
|
|
228
228
|
return_type = opts[:debug_return_type]
|
|
229
229
|
|
|
230
230
|
# auth_names
|
|
231
|
-
auth_names = opts[:debug_auth_names] || []
|
|
231
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_auth']
|
|
232
232
|
|
|
233
233
|
new_options = opts.merge(
|
|
234
234
|
:operation => :"EndpointsApi.endpoints_agents_connectors_check_in_create",
|
|
@@ -421,7 +421,7 @@ module Authentik::Api
|
|
|
421
421
|
return_type = opts[:debug_return_type] || 'AgentTokenResponse'
|
|
422
422
|
|
|
423
423
|
# auth_names
|
|
424
|
-
auth_names = opts[:debug_auth_names] || []
|
|
424
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_enroll']
|
|
425
425
|
|
|
426
426
|
new_options = opts.merge(
|
|
427
427
|
:operation => :"EndpointsApi.endpoints_agents_connectors_enroll_create",
|
|
@@ -1877,7 +1877,7 @@ module Authentik::Api
|
|
|
1877
1877
|
return_type = opts[:debug_return_type] || 'AgentPSSODeviceRegistrationResponse'
|
|
1878
1878
|
|
|
1879
1879
|
# auth_names
|
|
1880
|
-
auth_names = opts[:debug_auth_names] || []
|
|
1880
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_auth']
|
|
1881
1881
|
|
|
1882
1882
|
new_options = opts.merge(
|
|
1883
1883
|
:operation => :"EndpointsApi.endpoints_agents_psso_register_device_create",
|
|
@@ -1941,7 +1941,7 @@ module Authentik::Api
|
|
|
1941
1941
|
return_type = opts[:debug_return_type] || 'UserSelf'
|
|
1942
1942
|
|
|
1943
1943
|
# auth_names
|
|
1944
|
-
auth_names = opts[:debug_auth_names] || []
|
|
1944
|
+
auth_names = opts[:debug_auth_names] || ['authentik_device_auth']
|
|
1945
1945
|
|
|
1946
1946
|
new_options = opts.merge(
|
|
1947
1947
|
:operation => :"EndpointsApi.endpoints_agents_psso_register_user_create",
|
|
@@ -245,6 +245,20 @@ module Authentik::Api
|
|
|
245
245
|
key: 'Authorization',
|
|
246
246
|
value: "Bearer #{access_token_with_refresh}"
|
|
247
247
|
},
|
|
248
|
+
'authentik_device_enroll' =>
|
|
249
|
+
{
|
|
250
|
+
type: 'bearer',
|
|
251
|
+
in: 'header',
|
|
252
|
+
key: 'Authorization',
|
|
253
|
+
value: "Bearer #{access_token_with_refresh}"
|
|
254
|
+
},
|
|
255
|
+
'authentik_device_federation' =>
|
|
256
|
+
{
|
|
257
|
+
type: 'bearer',
|
|
258
|
+
in: 'header',
|
|
259
|
+
key: 'Authorization',
|
|
260
|
+
value: "Bearer #{access_token_with_refresh}"
|
|
261
|
+
},
|
|
248
262
|
}
|
|
249
263
|
end
|
|
250
264
|
|
|
@@ -42,8 +42,6 @@ module Authentik::Api
|
|
|
42
42
|
|
|
43
43
|
attr_accessor :username
|
|
44
44
|
|
|
45
|
-
attr_accessor :password
|
|
46
|
-
|
|
47
45
|
attr_accessor :use_tls
|
|
48
46
|
|
|
49
47
|
attr_accessor :use_ssl
|
|
@@ -75,7 +73,6 @@ module Authentik::Api
|
|
|
75
73
|
:'host' => :'host',
|
|
76
74
|
:'port' => :'port',
|
|
77
75
|
:'username' => :'username',
|
|
78
|
-
:'password' => :'password',
|
|
79
76
|
:'use_tls' => :'use_tls',
|
|
80
77
|
:'use_ssl' => :'use_ssl',
|
|
81
78
|
:'timeout' => :'timeout',
|
|
@@ -112,7 +109,6 @@ module Authentik::Api
|
|
|
112
109
|
:'host' => :'String',
|
|
113
110
|
:'port' => :'Integer',
|
|
114
111
|
:'username' => :'String',
|
|
115
|
-
:'password' => :'String',
|
|
116
112
|
:'use_tls' => :'Boolean',
|
|
117
113
|
:'use_ssl' => :'Boolean',
|
|
118
114
|
:'timeout' => :'Integer',
|
|
@@ -214,10 +210,6 @@ module Authentik::Api
|
|
|
214
210
|
self.username = attributes[:'username']
|
|
215
211
|
end
|
|
216
212
|
|
|
217
|
-
if attributes.key?(:'password')
|
|
218
|
-
self.password = attributes[:'password']
|
|
219
|
-
end
|
|
220
|
-
|
|
221
213
|
if attributes.key?(:'use_tls')
|
|
222
214
|
self.use_tls = attributes[:'use_tls']
|
|
223
215
|
end
|
|
@@ -460,7 +452,6 @@ module Authentik::Api
|
|
|
460
452
|
host == o.host &&
|
|
461
453
|
port == o.port &&
|
|
462
454
|
username == o.username &&
|
|
463
|
-
password == o.password &&
|
|
464
455
|
use_tls == o.use_tls &&
|
|
465
456
|
use_ssl == o.use_ssl &&
|
|
466
457
|
timeout == o.timeout &&
|
|
@@ -479,7 +470,7 @@ module Authentik::Api
|
|
|
479
470
|
# Calculates hash code according to all attributes.
|
|
480
471
|
# @return [Integer] Hash code
|
|
481
472
|
def hash
|
|
482
|
-
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, configure_flow, friendly_name, use_global_settings, host, port, username,
|
|
473
|
+
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, configure_flow, friendly_name, use_global_settings, host, port, username, use_tls, use_ssl, timeout, from_address, subject, token_expiry, template].hash
|
|
483
474
|
end
|
|
484
475
|
|
|
485
476
|
# Builds the object from hash
|
|
@@ -39,10 +39,6 @@ module Authentik::Api
|
|
|
39
39
|
|
|
40
40
|
attr_accessor :account_sid
|
|
41
41
|
|
|
42
|
-
attr_accessor :auth
|
|
43
|
-
|
|
44
|
-
attr_accessor :auth_password
|
|
45
|
-
|
|
46
42
|
attr_accessor :auth_type
|
|
47
43
|
|
|
48
44
|
# When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
@@ -88,8 +84,6 @@ module Authentik::Api
|
|
|
88
84
|
:'provider' => :'provider',
|
|
89
85
|
:'from_number' => :'from_number',
|
|
90
86
|
:'account_sid' => :'account_sid',
|
|
91
|
-
:'auth' => :'auth',
|
|
92
|
-
:'auth_password' => :'auth_password',
|
|
93
87
|
:'auth_type' => :'auth_type',
|
|
94
88
|
:'verify_only' => :'verify_only',
|
|
95
89
|
:'mapping' => :'mapping'
|
|
@@ -121,8 +115,6 @@ module Authentik::Api
|
|
|
121
115
|
:'provider' => :'ProviderEnum',
|
|
122
116
|
:'from_number' => :'String',
|
|
123
117
|
:'account_sid' => :'String',
|
|
124
|
-
:'auth' => :'String',
|
|
125
|
-
:'auth_password' => :'String',
|
|
126
118
|
:'auth_type' => :'AuthTypeEnum',
|
|
127
119
|
:'verify_only' => :'Boolean',
|
|
128
120
|
:'mapping' => :'String'
|
|
@@ -223,16 +215,6 @@ module Authentik::Api
|
|
|
223
215
|
self.account_sid = nil
|
|
224
216
|
end
|
|
225
217
|
|
|
226
|
-
if attributes.key?(:'auth')
|
|
227
|
-
self.auth = attributes[:'auth']
|
|
228
|
-
else
|
|
229
|
-
self.auth = nil
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
if attributes.key?(:'auth_password')
|
|
233
|
-
self.auth_password = attributes[:'auth_password']
|
|
234
|
-
end
|
|
235
|
-
|
|
236
218
|
if attributes.key?(:'auth_type')
|
|
237
219
|
self.auth_type = attributes[:'auth_type']
|
|
238
220
|
end
|
|
@@ -291,10 +273,6 @@ module Authentik::Api
|
|
|
291
273
|
invalid_properties.push('invalid value for "account_sid", account_sid cannot be nil.')
|
|
292
274
|
end
|
|
293
275
|
|
|
294
|
-
if @auth.nil?
|
|
295
|
-
invalid_properties.push('invalid value for "auth", auth cannot be nil.')
|
|
296
|
-
end
|
|
297
|
-
|
|
298
276
|
invalid_properties
|
|
299
277
|
end
|
|
300
278
|
|
|
@@ -312,7 +290,6 @@ module Authentik::Api
|
|
|
312
290
|
return false if @provider.nil?
|
|
313
291
|
return false if @from_number.nil?
|
|
314
292
|
return false if @account_sid.nil?
|
|
315
|
-
return false if @auth.nil?
|
|
316
293
|
true
|
|
317
294
|
end
|
|
318
295
|
|
|
@@ -416,16 +393,6 @@ module Authentik::Api
|
|
|
416
393
|
@account_sid = account_sid
|
|
417
394
|
end
|
|
418
395
|
|
|
419
|
-
# Custom attribute writer method with validation
|
|
420
|
-
# @param [Object] auth Value to be assigned
|
|
421
|
-
def auth=(auth)
|
|
422
|
-
if auth.nil?
|
|
423
|
-
fail ArgumentError, 'auth cannot be nil'
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
@auth = auth
|
|
427
|
-
end
|
|
428
|
-
|
|
429
396
|
# Checks equality by comparing each attribute.
|
|
430
397
|
# @param [Object] Object to be compared
|
|
431
398
|
def ==(o)
|
|
@@ -443,8 +410,6 @@ module Authentik::Api
|
|
|
443
410
|
provider == o.provider &&
|
|
444
411
|
from_number == o.from_number &&
|
|
445
412
|
account_sid == o.account_sid &&
|
|
446
|
-
auth == o.auth &&
|
|
447
|
-
auth_password == o.auth_password &&
|
|
448
413
|
auth_type == o.auth_type &&
|
|
449
414
|
verify_only == o.verify_only &&
|
|
450
415
|
mapping == o.mapping
|
|
@@ -459,7 +424,7 @@ module Authentik::Api
|
|
|
459
424
|
# Calculates hash code according to all attributes.
|
|
460
425
|
# @return [Integer] Hash code
|
|
461
426
|
def hash
|
|
462
|
-
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, configure_flow, friendly_name, provider, from_number, account_sid,
|
|
427
|
+
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, configure_flow, friendly_name, provider, from_number, account_sid, auth_type, verify_only, mapping].hash
|
|
463
428
|
end
|
|
464
429
|
|
|
465
430
|
# Builds the object from hash
|
|
@@ -9,12 +9,6 @@ require 'time'
|
|
|
9
9
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
class CurrentBrandFlags < ApiModelBase
|
|
12
|
-
# Configure if applications without any policy/group/user bindings should be accessible to any user.
|
|
13
|
-
attr_accessor :core_default_app_access
|
|
14
|
-
|
|
15
|
-
# Include additional information in audit logs, may incur a performance penalty.
|
|
16
|
-
attr_accessor :enterprise_audit_include_expanded_diff
|
|
17
|
-
|
|
18
12
|
# Upon successful authentication, re-start authentication in other open tabs.
|
|
19
13
|
attr_accessor :flows_continuous_login
|
|
20
14
|
|
|
@@ -24,8 +18,6 @@ module Authentik::Api
|
|
|
24
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
19
|
def self.attribute_map
|
|
26
20
|
{
|
|
27
|
-
:'core_default_app_access' => :'core_default_app_access',
|
|
28
|
-
:'enterprise_audit_include_expanded_diff' => :'enterprise_audit_include_expanded_diff',
|
|
29
21
|
:'flows_continuous_login' => :'flows_continuous_login',
|
|
30
22
|
:'flows_refresh_others' => :'flows_refresh_others'
|
|
31
23
|
}
|
|
@@ -44,8 +36,6 @@ module Authentik::Api
|
|
|
44
36
|
# Attribute type mapping.
|
|
45
37
|
def self.openapi_types
|
|
46
38
|
{
|
|
47
|
-
:'core_default_app_access' => :'Boolean',
|
|
48
|
-
:'enterprise_audit_include_expanded_diff' => :'Boolean',
|
|
49
39
|
:'flows_continuous_login' => :'Boolean',
|
|
50
40
|
:'flows_refresh_others' => :'Boolean'
|
|
51
41
|
}
|
|
@@ -73,18 +63,6 @@ module Authentik::Api
|
|
|
73
63
|
h[k.to_sym] = v
|
|
74
64
|
}
|
|
75
65
|
|
|
76
|
-
if attributes.key?(:'core_default_app_access')
|
|
77
|
-
self.core_default_app_access = attributes[:'core_default_app_access']
|
|
78
|
-
else
|
|
79
|
-
self.core_default_app_access = nil
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
if attributes.key?(:'enterprise_audit_include_expanded_diff')
|
|
83
|
-
self.enterprise_audit_include_expanded_diff = attributes[:'enterprise_audit_include_expanded_diff']
|
|
84
|
-
else
|
|
85
|
-
self.enterprise_audit_include_expanded_diff = nil
|
|
86
|
-
end
|
|
87
|
-
|
|
88
66
|
if attributes.key?(:'flows_continuous_login')
|
|
89
67
|
self.flows_continuous_login = attributes[:'flows_continuous_login']
|
|
90
68
|
else
|
|
@@ -103,14 +81,6 @@ module Authentik::Api
|
|
|
103
81
|
def list_invalid_properties
|
|
104
82
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
105
83
|
invalid_properties = Array.new
|
|
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.')
|
|
108
|
-
end
|
|
109
|
-
|
|
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.')
|
|
112
|
-
end
|
|
113
|
-
|
|
114
84
|
if @flows_continuous_login.nil?
|
|
115
85
|
invalid_properties.push('invalid value for "flows_continuous_login", flows_continuous_login cannot be nil.')
|
|
116
86
|
end
|
|
@@ -126,33 +96,11 @@ module Authentik::Api
|
|
|
126
96
|
# @return true if the model is valid
|
|
127
97
|
def valid?
|
|
128
98
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
129
|
-
return false if @core_default_app_access.nil?
|
|
130
|
-
return false if @enterprise_audit_include_expanded_diff.nil?
|
|
131
99
|
return false if @flows_continuous_login.nil?
|
|
132
100
|
return false if @flows_refresh_others.nil?
|
|
133
101
|
true
|
|
134
102
|
end
|
|
135
103
|
|
|
136
|
-
# Custom attribute writer method with validation
|
|
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'
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
@core_default_app_access = core_default_app_access
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
# Custom attribute writer method with validation
|
|
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'
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
@enterprise_audit_include_expanded_diff = enterprise_audit_include_expanded_diff
|
|
154
|
-
end
|
|
155
|
-
|
|
156
104
|
# Custom attribute writer method with validation
|
|
157
105
|
# @param [Object] flows_continuous_login Value to be assigned
|
|
158
106
|
def flows_continuous_login=(flows_continuous_login)
|
|
@@ -178,8 +126,6 @@ module Authentik::Api
|
|
|
178
126
|
def ==(o)
|
|
179
127
|
return true if self.equal?(o)
|
|
180
128
|
self.class == o.class &&
|
|
181
|
-
core_default_app_access == o.core_default_app_access &&
|
|
182
|
-
enterprise_audit_include_expanded_diff == o.enterprise_audit_include_expanded_diff &&
|
|
183
129
|
flows_continuous_login == o.flows_continuous_login &&
|
|
184
130
|
flows_refresh_others == o.flows_refresh_others
|
|
185
131
|
end
|
|
@@ -193,7 +139,7 @@ module Authentik::Api
|
|
|
193
139
|
# Calculates hash code according to all attributes.
|
|
194
140
|
# @return [Integer] Hash code
|
|
195
141
|
def hash
|
|
196
|
-
[
|
|
142
|
+
[flows_continuous_login, flows_refresh_others].hash
|
|
197
143
|
end
|
|
198
144
|
|
|
199
145
|
# Builds the object from hash
|
|
@@ -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)
|
|
@@ -82,18 +82,12 @@ module Authentik::Api
|
|
|
82
82
|
# Principal to authenticate to kadmin for sync.
|
|
83
83
|
attr_accessor :sync_principal
|
|
84
84
|
|
|
85
|
-
# Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual
|
|
86
|
-
attr_accessor :sync_ccache
|
|
87
|
-
|
|
88
85
|
# Get cached source connectivity
|
|
89
86
|
attr_accessor :connectivity
|
|
90
87
|
|
|
91
88
|
# Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname
|
|
92
89
|
attr_accessor :spnego_server_name
|
|
93
90
|
|
|
94
|
-
# Credential cache to use for SPNEGO in form type:residual
|
|
95
|
-
attr_accessor :spnego_ccache
|
|
96
|
-
|
|
97
91
|
# If enabled, the authentik-stored password will be updated upon login with the Kerberos password backend
|
|
98
92
|
attr_accessor :password_login_update_internal_password
|
|
99
93
|
|
|
@@ -152,10 +146,8 @@ module Authentik::Api
|
|
|
152
146
|
:'sync_users' => :'sync_users',
|
|
153
147
|
:'sync_users_password' => :'sync_users_password',
|
|
154
148
|
:'sync_principal' => :'sync_principal',
|
|
155
|
-
:'sync_ccache' => :'sync_ccache',
|
|
156
149
|
:'connectivity' => :'connectivity',
|
|
157
150
|
:'spnego_server_name' => :'spnego_server_name',
|
|
158
|
-
:'spnego_ccache' => :'spnego_ccache',
|
|
159
151
|
:'password_login_update_internal_password' => :'password_login_update_internal_password',
|
|
160
152
|
:'sync_outgoing_trigger_mode' => :'sync_outgoing_trigger_mode'
|
|
161
153
|
}
|
|
@@ -201,10 +193,8 @@ module Authentik::Api
|
|
|
201
193
|
:'sync_users' => :'Boolean',
|
|
202
194
|
:'sync_users_password' => :'Boolean',
|
|
203
195
|
:'sync_principal' => :'String',
|
|
204
|
-
:'sync_ccache' => :'String',
|
|
205
196
|
:'connectivity' => :'Hash<String, String>',
|
|
206
197
|
:'spnego_server_name' => :'String',
|
|
207
|
-
:'spnego_ccache' => :'String',
|
|
208
198
|
:'password_login_update_internal_password' => :'Boolean',
|
|
209
199
|
:'sync_outgoing_trigger_mode' => :'SyncOutgoingTriggerModeEnum'
|
|
210
200
|
}
|
|
@@ -371,10 +361,6 @@ module Authentik::Api
|
|
|
371
361
|
self.sync_principal = attributes[:'sync_principal']
|
|
372
362
|
end
|
|
373
363
|
|
|
374
|
-
if attributes.key?(:'sync_ccache')
|
|
375
|
-
self.sync_ccache = attributes[:'sync_ccache']
|
|
376
|
-
end
|
|
377
|
-
|
|
378
364
|
if attributes.key?(:'connectivity')
|
|
379
365
|
if (value = attributes[:'connectivity']).is_a?(Hash)
|
|
380
366
|
self.connectivity = value
|
|
@@ -387,10 +373,6 @@ module Authentik::Api
|
|
|
387
373
|
self.spnego_server_name = attributes[:'spnego_server_name']
|
|
388
374
|
end
|
|
389
375
|
|
|
390
|
-
if attributes.key?(:'spnego_ccache')
|
|
391
|
-
self.spnego_ccache = attributes[:'spnego_ccache']
|
|
392
|
-
end
|
|
393
|
-
|
|
394
376
|
if attributes.key?(:'password_login_update_internal_password')
|
|
395
377
|
self.password_login_update_internal_password = attributes[:'password_login_update_internal_password']
|
|
396
378
|
end
|
|
@@ -593,10 +575,8 @@ module Authentik::Api
|
|
|
593
575
|
sync_users == o.sync_users &&
|
|
594
576
|
sync_users_password == o.sync_users_password &&
|
|
595
577
|
sync_principal == o.sync_principal &&
|
|
596
|
-
sync_ccache == o.sync_ccache &&
|
|
597
578
|
connectivity == o.connectivity &&
|
|
598
579
|
spnego_server_name == o.spnego_server_name &&
|
|
599
|
-
spnego_ccache == o.spnego_ccache &&
|
|
600
580
|
password_login_update_internal_password == o.password_login_update_internal_password &&
|
|
601
581
|
sync_outgoing_trigger_mode == o.sync_outgoing_trigger_mode
|
|
602
582
|
end
|
|
@@ -610,7 +590,7 @@ module Authentik::Api
|
|
|
610
590
|
# Calculates hash code according to all attributes.
|
|
611
591
|
# @return [Integer] Hash code
|
|
612
592
|
def hash
|
|
613
|
-
[pk, name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, component, verbose_name, verbose_name_plural, meta_model_name, policy_engine_mode, user_matching_mode, managed, user_path_template, icon, icon_url, icon_themed_urls, group_matching_mode, realm, krb5_conf, kadmin_type, sync_users, sync_users_password, sync_principal,
|
|
593
|
+
[pk, name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, component, verbose_name, verbose_name_plural, meta_model_name, policy_engine_mode, user_matching_mode, managed, user_path_template, icon, icon_url, icon_themed_urls, group_matching_mode, realm, krb5_conf, kadmin_type, sync_users, sync_users_password, sync_principal, connectivity, spnego_server_name, password_login_update_internal_password, sync_outgoing_trigger_mode].hash
|
|
614
594
|
end
|
|
615
595
|
|
|
616
596
|
# Builds the object from hash
|
|
@@ -39,8 +39,6 @@ module Authentik::Api
|
|
|
39
39
|
|
|
40
40
|
attr_accessor :client_id
|
|
41
41
|
|
|
42
|
-
attr_accessor :client_secret
|
|
43
|
-
|
|
44
42
|
attr_accessor :tenant_id
|
|
45
43
|
|
|
46
44
|
attr_accessor :exclude_users_service_account
|
|
@@ -96,7 +94,6 @@ module Authentik::Api
|
|
|
96
94
|
:'verbose_name_plural' => :'verbose_name_plural',
|
|
97
95
|
:'meta_model_name' => :'meta_model_name',
|
|
98
96
|
:'client_id' => :'client_id',
|
|
99
|
-
:'client_secret' => :'client_secret',
|
|
100
97
|
:'tenant_id' => :'tenant_id',
|
|
101
98
|
:'exclude_users_service_account' => :'exclude_users_service_account',
|
|
102
99
|
:'filter_group' => :'filter_group',
|
|
@@ -132,7 +129,6 @@ module Authentik::Api
|
|
|
132
129
|
:'verbose_name_plural' => :'String',
|
|
133
130
|
:'meta_model_name' => :'String',
|
|
134
131
|
:'client_id' => :'String',
|
|
135
|
-
:'client_secret' => :'String',
|
|
136
132
|
:'tenant_id' => :'String',
|
|
137
133
|
:'exclude_users_service_account' => :'Boolean',
|
|
138
134
|
:'filter_group' => :'String',
|
|
@@ -235,12 +231,6 @@ module Authentik::Api
|
|
|
235
231
|
self.client_id = nil
|
|
236
232
|
end
|
|
237
233
|
|
|
238
|
-
if attributes.key?(:'client_secret')
|
|
239
|
-
self.client_secret = attributes[:'client_secret']
|
|
240
|
-
else
|
|
241
|
-
self.client_secret = nil
|
|
242
|
-
end
|
|
243
|
-
|
|
244
234
|
if attributes.key?(:'tenant_id')
|
|
245
235
|
self.tenant_id = attributes[:'tenant_id']
|
|
246
236
|
else
|
|
@@ -309,10 +299,6 @@ module Authentik::Api
|
|
|
309
299
|
invalid_properties.push('invalid value for "client_id", client_id cannot be nil.')
|
|
310
300
|
end
|
|
311
301
|
|
|
312
|
-
if @client_secret.nil?
|
|
313
|
-
invalid_properties.push('invalid value for "client_secret", client_secret cannot be nil.')
|
|
314
|
-
end
|
|
315
|
-
|
|
316
302
|
if @tenant_id.nil?
|
|
317
303
|
invalid_properties.push('invalid value for "tenant_id", tenant_id cannot be nil.')
|
|
318
304
|
end
|
|
@@ -339,7 +325,6 @@ module Authentik::Api
|
|
|
339
325
|
return false if @verbose_name_plural.nil?
|
|
340
326
|
return false if @meta_model_name.nil?
|
|
341
327
|
return false if @client_id.nil?
|
|
342
|
-
return false if @client_secret.nil?
|
|
343
328
|
return false if @tenant_id.nil?
|
|
344
329
|
return false if !@sync_page_size.nil? && @sync_page_size > 2147483647
|
|
345
330
|
return false if !@sync_page_size.nil? && @sync_page_size < 1
|
|
@@ -416,16 +401,6 @@ module Authentik::Api
|
|
|
416
401
|
@client_id = client_id
|
|
417
402
|
end
|
|
418
403
|
|
|
419
|
-
# Custom attribute writer method with validation
|
|
420
|
-
# @param [Object] client_secret Value to be assigned
|
|
421
|
-
def client_secret=(client_secret)
|
|
422
|
-
if client_secret.nil?
|
|
423
|
-
fail ArgumentError, 'client_secret cannot be nil'
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
@client_secret = client_secret
|
|
427
|
-
end
|
|
428
|
-
|
|
429
404
|
# Custom attribute writer method with validation
|
|
430
405
|
# @param [Object] tenant_id Value to be assigned
|
|
431
406
|
def tenant_id=(tenant_id)
|
|
@@ -470,7 +445,6 @@ module Authentik::Api
|
|
|
470
445
|
verbose_name_plural == o.verbose_name_plural &&
|
|
471
446
|
meta_model_name == o.meta_model_name &&
|
|
472
447
|
client_id == o.client_id &&
|
|
473
|
-
client_secret == o.client_secret &&
|
|
474
448
|
tenant_id == o.tenant_id &&
|
|
475
449
|
exclude_users_service_account == o.exclude_users_service_account &&
|
|
476
450
|
filter_group == o.filter_group &&
|
|
@@ -490,7 +464,7 @@ module Authentik::Api
|
|
|
490
464
|
# Calculates hash code according to all attributes.
|
|
491
465
|
# @return [Integer] Hash code
|
|
492
466
|
def hash
|
|
493
|
-
[pk, name, property_mappings, property_mappings_group, component, assigned_backchannel_application_slug, assigned_backchannel_application_name, verbose_name, verbose_name_plural, meta_model_name, client_id,
|
|
467
|
+
[pk, name, property_mappings, property_mappings_group, component, assigned_backchannel_application_slug, assigned_backchannel_application_name, verbose_name, verbose_name_plural, meta_model_name, client_id, tenant_id, exclude_users_service_account, filter_group, user_delete_action, group_delete_action, sync_page_size, sync_page_timeout, dry_run].hash
|
|
494
468
|
end
|
|
495
469
|
|
|
496
470
|
# Builds the object from hash
|
|
@@ -42,9 +42,6 @@ module Authentik::Api
|
|
|
42
42
|
|
|
43
43
|
attr_accessor :verify_certificates
|
|
44
44
|
|
|
45
|
-
# Authentication token
|
|
46
|
-
attr_accessor :token
|
|
47
|
-
|
|
48
45
|
attr_accessor :auth_mode
|
|
49
46
|
|
|
50
47
|
# OAuth Source used for authentication
|
|
@@ -118,7 +115,6 @@ module Authentik::Api
|
|
|
118
115
|
:'meta_model_name' => :'meta_model_name',
|
|
119
116
|
:'url' => :'url',
|
|
120
117
|
:'verify_certificates' => :'verify_certificates',
|
|
121
|
-
:'token' => :'token',
|
|
122
118
|
:'auth_mode' => :'auth_mode',
|
|
123
119
|
:'auth_oauth' => :'auth_oauth',
|
|
124
120
|
:'auth_oauth_params' => :'auth_oauth_params',
|
|
@@ -161,7 +157,6 @@ module Authentik::Api
|
|
|
161
157
|
:'meta_model_name' => :'String',
|
|
162
158
|
:'url' => :'String',
|
|
163
159
|
:'verify_certificates' => :'Boolean',
|
|
164
|
-
:'token' => :'String',
|
|
165
160
|
:'auth_mode' => :'SCIMAuthenticationModeEnum',
|
|
166
161
|
:'auth_oauth' => :'String',
|
|
167
162
|
:'auth_oauth_params' => :'Hash<String, Object>',
|
|
@@ -278,10 +273,6 @@ module Authentik::Api
|
|
|
278
273
|
self.verify_certificates = attributes[:'verify_certificates']
|
|
279
274
|
end
|
|
280
275
|
|
|
281
|
-
if attributes.key?(:'token')
|
|
282
|
-
self.token = attributes[:'token']
|
|
283
|
-
end
|
|
284
|
-
|
|
285
276
|
if attributes.key?(:'auth_mode')
|
|
286
277
|
self.auth_mode = attributes[:'auth_mode']
|
|
287
278
|
end
|
|
@@ -516,7 +507,6 @@ module Authentik::Api
|
|
|
516
507
|
meta_model_name == o.meta_model_name &&
|
|
517
508
|
url == o.url &&
|
|
518
509
|
verify_certificates == o.verify_certificates &&
|
|
519
|
-
token == o.token &&
|
|
520
510
|
auth_mode == o.auth_mode &&
|
|
521
511
|
auth_oauth == o.auth_oauth &&
|
|
522
512
|
auth_oauth_params == o.auth_oauth_params &&
|
|
@@ -542,7 +532,7 @@ module Authentik::Api
|
|
|
542
532
|
# Calculates hash code according to all attributes.
|
|
543
533
|
# @return [Integer] Hash code
|
|
544
534
|
def 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,
|
|
535
|
+
[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, 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
|
|
546
536
|
end
|
|
547
537
|
|
|
548
538
|
# Builds the object from hash
|
|
@@ -99,12 +99,6 @@ describe Authentik::Api::AuthenticatorEmailStage do
|
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "password"' do
|
|
103
|
-
it 'should work' do
|
|
104
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
102
|
describe 'test attribute "use_tls"' do
|
|
109
103
|
it 'should work' do
|
|
110
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -93,18 +93,6 @@ describe Authentik::Api::AuthenticatorSMSStage do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "auth"' do
|
|
97
|
-
it 'should work' do
|
|
98
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
describe 'test attribute "auth_password"' do
|
|
103
|
-
it 'should work' do
|
|
104
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
96
|
describe 'test attribute "auth_type"' do
|
|
109
97
|
it 'should work' do
|
|
110
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -21,18 +21,6 @@ describe Authentik::Api::CurrentBrandFlags do
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
describe 'test attribute "core_default_app_access"' do
|
|
25
|
-
it 'should work' do
|
|
26
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "enterprise_audit_include_expanded_diff"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
24
|
describe 'test attribute "flows_continuous_login"' do
|
|
37
25
|
it 'should work' do
|
|
38
26
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -183,12 +183,6 @@ describe Authentik::Api::KerberosSource do
|
|
|
183
183
|
end
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
describe 'test attribute "sync_ccache"' do
|
|
187
|
-
it 'should work' do
|
|
188
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
189
|
-
end
|
|
190
|
-
end
|
|
191
|
-
|
|
192
186
|
describe 'test attribute "connectivity"' do
|
|
193
187
|
it 'should work' do
|
|
194
188
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -201,12 +195,6 @@ describe Authentik::Api::KerberosSource do
|
|
|
201
195
|
end
|
|
202
196
|
end
|
|
203
197
|
|
|
204
|
-
describe 'test attribute "spnego_ccache"' do
|
|
205
|
-
it 'should work' do
|
|
206
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
|
|
210
198
|
describe 'test attribute "password_login_update_internal_password"' do
|
|
211
199
|
it 'should work' do
|
|
212
200
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -87,12 +87,6 @@ describe Authentik::Api::MicrosoftEntraProvider do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "client_secret"' do
|
|
91
|
-
it 'should work' do
|
|
92
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
90
|
describe 'test attribute "tenant_id"' do
|
|
97
91
|
it 'should work' do
|
|
98
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -93,12 +93,6 @@ describe Authentik::Api::SCIMProvider do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "token"' do
|
|
97
|
-
it 'should work' do
|
|
98
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
96
|
describe 'test attribute "auth_mode"' do
|
|
103
97
|
it 'should work' do
|
|
104
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|