authentik-api 2026.8.0.rc6 → 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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README_API.md +22 -5
  3. data/lib/authentik/api/api/agents_api.rb +410 -0
  4. data/lib/authentik/api/api/endpoints_api.rb +3 -0
  5. data/lib/authentik/api/api/requests_api.rb +72 -0
  6. data/lib/authentik/api/models/agent.rb +450 -0
  7. data/lib/authentik/api/models/agent_create_request.rb +203 -0
  8. data/lib/authentik/api/models/agent_created.rb +185 -0
  9. data/lib/authentik/api/models/agent_grant_request_create_request.rb +161 -0
  10. data/lib/authentik/api/models/agent_grant_request_created.rb +185 -0
  11. data/lib/authentik/api/models/agent_request.rb +303 -0
  12. data/lib/authentik/api/models/app_enum.rb +2 -2
  13. data/lib/authentik/api/models/capabilities_enum.rb +3 -1
  14. data/lib/authentik/api/models/endpoint_device.rb +1 -15
  15. data/lib/authentik/api/models/endpoint_device_details.rb +1 -15
  16. data/lib/authentik/api/models/grant_request.rb +14 -16
  17. data/lib/authentik/api/models/model_enum.rb +3 -1
  18. data/lib/authentik/api/models/paginated_agent_list.rb +214 -0
  19. data/lib/authentik/api/models/patched_agent_request.rb +289 -0
  20. data/lib/authentik/api/models/patched_source_stage_request.rb +16 -4
  21. data/lib/authentik/api/models/policy_behavior_enum.rb +35 -0
  22. data/lib/authentik/api/models/resume_on_match_failures_enum.rb +33 -0
  23. data/lib/authentik/api/models/source_stage.rb +16 -4
  24. data/lib/authentik/api/models/source_stage_request.rb +16 -4
  25. data/lib/authentik/api/version.rb +1 -1
  26. data/spec/api/agents_api_spec.rb +101 -0
  27. data/spec/api/endpoints_api_spec.rb +1 -0
  28. data/spec/api/requests_api_spec.rb +13 -0
  29. data/spec/models/agent_create_request_spec.rb +54 -0
  30. data/spec/models/agent_created_spec.rb +36 -0
  31. data/spec/models/agent_grant_request_create_request_spec.rb +30 -0
  32. data/spec/models/agent_grant_request_created_spec.rb +36 -0
  33. data/spec/models/agent_request_spec.rb +72 -0
  34. data/spec/models/agent_spec.rb +108 -0
  35. data/spec/models/grant_request_spec.rb +6 -0
  36. data/spec/models/paginated_agent_list_spec.rb +42 -0
  37. data/spec/models/patched_agent_request_spec.rb +72 -0
  38. data/spec/models/patched_source_stage_request_spec.rb +6 -0
  39. data/spec/models/policy_behavior_enum_spec.rb +24 -0
  40. data/spec/models/resume_on_match_failures_enum_spec.rb +24 -0
  41. data/spec/models/source_stage_request_spec.rb +6 -0
  42. data/spec/models/source_stage_spec.rb +6 -0
  43. metadata +34 -1
@@ -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::PolicyBehaviorEnum
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::PolicyBehaviorEnum do
15
+ #let(:instance) { Authentik::Api::PolicyBehaviorEnum.new }
16
+
17
+ describe 'test an instance of PolicyBehaviorEnum' do
18
+ it 'should create an instance of PolicyBehaviorEnum' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::PolicyBehaviorEnum)
21
+ end
22
+ end
23
+
24
+ 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.rc6
4
+ version: 2026.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Uhlig
@@ -106,6 +106,7 @@ files:
106
106
  - Rakefile
107
107
  - lib/authentik/api.rb
108
108
  - lib/authentik/api/api/admin_api.rb
109
+ - lib/authentik/api/api/agents_api.rb
109
110
  - lib/authentik/api/api/authenticators_api.rb
110
111
  - lib/authentik/api/api/core_api.rb
111
112
  - lib/authentik/api/api/crypto_api.rb
@@ -139,13 +140,19 @@ files:
139
140
  - lib/authentik/api/models/access_denied_challenge.rb
140
141
  - lib/authentik/api/models/account_lockdown_stage.rb
141
142
  - lib/authentik/api/models/account_lockdown_stage_request.rb
143
+ - lib/authentik/api/models/agent.rb
142
144
  - lib/authentik/api/models/agent_authentication_response.rb
143
145
  - lib/authentik/api/models/agent_config.rb
144
146
  - lib/authentik/api/models/agent_connector.rb
145
147
  - lib/authentik/api/models/agent_connector_request.rb
148
+ - lib/authentik/api/models/agent_create_request.rb
149
+ - lib/authentik/api/models/agent_created.rb
150
+ - lib/authentik/api/models/agent_grant_request_create_request.rb
151
+ - lib/authentik/api/models/agent_grant_request_created.rb
146
152
  - lib/authentik/api/models/agent_psso_device_registration_request.rb
147
153
  - lib/authentik/api/models/agent_psso_device_registration_response.rb
148
154
  - lib/authentik/api/models/agent_psso_user_registration_request.rb
155
+ - lib/authentik/api/models/agent_request.rb
149
156
  - lib/authentik/api/models/agent_token_response.rb
150
157
  - lib/authentik/api/models/alg_enum.rb
151
158
  - lib/authentik/api/models/app.rb
@@ -501,6 +508,7 @@ files:
501
508
  - lib/authentik/api/models/outpost_type_enum.rb
502
509
  - lib/authentik/api/models/paginated_account_lockdown_stage_list.rb
503
510
  - lib/authentik/api/models/paginated_agent_connector_list.rb
511
+ - lib/authentik/api/models/paginated_agent_list.rb
504
512
  - lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb
505
513
  - lib/authentik/api/models/paginated_application_entitlement_list.rb
506
514
  - lib/authentik/api/models/paginated_application_list.rb
@@ -676,6 +684,7 @@ files:
676
684
  - lib/authentik/api/models/password_stage_request.rb
677
685
  - lib/authentik/api/models/patched_account_lockdown_stage_request.rb
678
686
  - lib/authentik/api/models/patched_agent_connector_request.rb
687
+ - lib/authentik/api/models/patched_agent_request.rb
679
688
  - lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb
680
689
  - lib/authentik/api/models/patched_application_entitlement_request.rb
681
690
  - lib/authentik/api/models/patched_application_request.rb
@@ -822,6 +831,7 @@ files:
822
831
  - lib/authentik/api/models/plex_source_request.rb
823
832
  - lib/authentik/api/models/plex_token_redeem_request.rb
824
833
  - lib/authentik/api/models/policy.rb
834
+ - lib/authentik/api/models/policy_behavior_enum.rb
825
835
  - lib/authentik/api/models/policy_binding.rb
826
836
  - lib/authentik/api/models/policy_binding_request.rb
827
837
  - lib/authentik/api/models/policy_engine_mode.rb
@@ -883,6 +893,7 @@ files:
883
893
  - lib/authentik/api/models/request_rule_request.rb
884
894
  - lib/authentik/api/models/request_status.rb
885
895
  - lib/authentik/api/models/requestable_target.rb
896
+ - lib/authentik/api/models/resume_on_match_failures_enum.rb
886
897
  - lib/authentik/api/models/review.rb
887
898
  - lib/authentik/api/models/review_request.rb
888
899
  - lib/authentik/api/models/role.rb
@@ -1059,6 +1070,7 @@ files:
1059
1070
  - lib/authentik/api/models/ws_federation_provider_request.rb
1060
1071
  - lib/authentik/api/version.rb
1061
1072
  - spec/api/admin_api_spec.rb
1073
+ - spec/api/agents_api_spec.rb
1062
1074
  - spec/api/authenticators_api_spec.rb
1063
1075
  - spec/api/core_api_spec.rb
1064
1076
  - spec/api/crypto_api_spec.rb
@@ -1091,9 +1103,15 @@ files:
1091
1103
  - spec/models/agent_config_spec.rb
1092
1104
  - spec/models/agent_connector_request_spec.rb
1093
1105
  - spec/models/agent_connector_spec.rb
1106
+ - spec/models/agent_create_request_spec.rb
1107
+ - spec/models/agent_created_spec.rb
1108
+ - spec/models/agent_grant_request_create_request_spec.rb
1109
+ - spec/models/agent_grant_request_created_spec.rb
1094
1110
  - spec/models/agent_psso_device_registration_request_spec.rb
1095
1111
  - spec/models/agent_psso_device_registration_response_spec.rb
1096
1112
  - spec/models/agent_psso_user_registration_request_spec.rb
1113
+ - spec/models/agent_request_spec.rb
1114
+ - spec/models/agent_spec.rb
1097
1115
  - spec/models/agent_token_response_spec.rb
1098
1116
  - spec/models/alg_enum_spec.rb
1099
1117
  - spec/models/app_enum_spec.rb
@@ -1449,6 +1467,7 @@ files:
1449
1467
  - spec/models/outpost_type_enum_spec.rb
1450
1468
  - spec/models/paginated_account_lockdown_stage_list_spec.rb
1451
1469
  - spec/models/paginated_agent_connector_list_spec.rb
1470
+ - spec/models/paginated_agent_list_spec.rb
1452
1471
  - spec/models/paginated_apple_independent_secure_enclave_list_spec.rb
1453
1472
  - spec/models/paginated_application_entitlement_list_spec.rb
1454
1473
  - spec/models/paginated_application_list_spec.rb
@@ -1624,6 +1643,7 @@ files:
1624
1643
  - spec/models/password_stage_spec.rb
1625
1644
  - spec/models/patched_account_lockdown_stage_request_spec.rb
1626
1645
  - spec/models/patched_agent_connector_request_spec.rb
1646
+ - spec/models/patched_agent_request_spec.rb
1627
1647
  - spec/models/patched_apple_independent_secure_enclave_request_spec.rb
1628
1648
  - spec/models/patched_application_entitlement_request_spec.rb
1629
1649
  - spec/models/patched_application_request_spec.rb
@@ -1769,6 +1789,7 @@ files:
1769
1789
  - spec/models/plex_source_request_spec.rb
1770
1790
  - spec/models/plex_source_spec.rb
1771
1791
  - spec/models/plex_token_redeem_request_spec.rb
1792
+ - spec/models/policy_behavior_enum_spec.rb
1772
1793
  - spec/models/policy_binding_request_spec.rb
1773
1794
  - spec/models/policy_binding_spec.rb
1774
1795
  - spec/models/policy_engine_mode_spec.rb
@@ -1831,6 +1852,7 @@ files:
1831
1852
  - spec/models/request_rule_spec.rb
1832
1853
  - spec/models/request_status_spec.rb
1833
1854
  - spec/models/requestable_target_spec.rb
1855
+ - spec/models/resume_on_match_failures_enum_spec.rb
1834
1856
  - spec/models/review_request_spec.rb
1835
1857
  - spec/models/review_spec.rb
1836
1858
  - spec/models/role_assigned_object_permission_spec.rb
@@ -2031,6 +2053,7 @@ specification_version: 4
2031
2053
  summary: API client to talk to authentik's API.
2032
2054
  test_files:
2033
2055
  - spec/api/admin_api_spec.rb
2056
+ - spec/api/agents_api_spec.rb
2034
2057
  - spec/api/authenticators_api_spec.rb
2035
2058
  - spec/api/core_api_spec.rb
2036
2059
  - spec/api/crypto_api_spec.rb
@@ -2063,9 +2086,15 @@ test_files:
2063
2086
  - spec/models/agent_config_spec.rb
2064
2087
  - spec/models/agent_connector_request_spec.rb
2065
2088
  - spec/models/agent_connector_spec.rb
2089
+ - spec/models/agent_create_request_spec.rb
2090
+ - spec/models/agent_created_spec.rb
2091
+ - spec/models/agent_grant_request_create_request_spec.rb
2092
+ - spec/models/agent_grant_request_created_spec.rb
2066
2093
  - spec/models/agent_psso_device_registration_request_spec.rb
2067
2094
  - spec/models/agent_psso_device_registration_response_spec.rb
2068
2095
  - spec/models/agent_psso_user_registration_request_spec.rb
2096
+ - spec/models/agent_request_spec.rb
2097
+ - spec/models/agent_spec.rb
2069
2098
  - spec/models/agent_token_response_spec.rb
2070
2099
  - spec/models/alg_enum_spec.rb
2071
2100
  - spec/models/app_enum_spec.rb
@@ -2421,6 +2450,7 @@ test_files:
2421
2450
  - spec/models/outpost_type_enum_spec.rb
2422
2451
  - spec/models/paginated_account_lockdown_stage_list_spec.rb
2423
2452
  - spec/models/paginated_agent_connector_list_spec.rb
2453
+ - spec/models/paginated_agent_list_spec.rb
2424
2454
  - spec/models/paginated_apple_independent_secure_enclave_list_spec.rb
2425
2455
  - spec/models/paginated_application_entitlement_list_spec.rb
2426
2456
  - spec/models/paginated_application_list_spec.rb
@@ -2596,6 +2626,7 @@ test_files:
2596
2626
  - spec/models/password_stage_spec.rb
2597
2627
  - spec/models/patched_account_lockdown_stage_request_spec.rb
2598
2628
  - spec/models/patched_agent_connector_request_spec.rb
2629
+ - spec/models/patched_agent_request_spec.rb
2599
2630
  - spec/models/patched_apple_independent_secure_enclave_request_spec.rb
2600
2631
  - spec/models/patched_application_entitlement_request_spec.rb
2601
2632
  - spec/models/patched_application_request_spec.rb
@@ -2741,6 +2772,7 @@ test_files:
2741
2772
  - spec/models/plex_source_request_spec.rb
2742
2773
  - spec/models/plex_source_spec.rb
2743
2774
  - spec/models/plex_token_redeem_request_spec.rb
2775
+ - spec/models/policy_behavior_enum_spec.rb
2744
2776
  - spec/models/policy_binding_request_spec.rb
2745
2777
  - spec/models/policy_binding_spec.rb
2746
2778
  - spec/models/policy_engine_mode_spec.rb
@@ -2803,6 +2835,7 @@ test_files:
2803
2835
  - spec/models/request_rule_spec.rb
2804
2836
  - spec/models/request_status_spec.rb
2805
2837
  - spec/models/requestable_target_spec.rb
2838
+ - spec/models/resume_on_match_failures_enum_spec.rb
2806
2839
  - spec/models/review_request_spec.rb
2807
2840
  - spec/models/review_spec.rb
2808
2841
  - spec/models/role_assigned_object_permission_spec.rb