authentik-api 2025.12.4 → 2026.2.1.1
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 +59 -7
- data/lib/authentik/api/api/core_api.rb +109 -12
- data/lib/authentik/api/api/crypto_api.rb +0 -3
- data/lib/authentik/api/api/endpoints_api.rb +459 -0
- data/lib/authentik/api/api/events_api.rb +3 -3
- data/lib/authentik/api/api/lifecycle_api.rb +681 -0
- data/lib/authentik/api/api/policies_api.rb +1 -1
- data/lib/authentik/api/api/providers_api.rb +705 -3
- data/lib/authentik/api/api/rbac_api.rb +6 -9
- data/lib/authentik/api/api/stages_api.rb +1 -1
- data/lib/authentik/api/models/alg_enum.rb +3 -1
- data/lib/authentik/api/models/app_enum.rb +4 -1
- data/lib/authentik/api/models/bulk_delete_session_response.rb +158 -0
- data/lib/authentik/api/models/certificate_key_pair.rb +5 -4
- data/lib/authentik/api/models/content_type_enum.rb +35 -0
- data/lib/authentik/api/models/contextual_flow_info_layout_enum.rb +3 -1
- data/lib/authentik/api/models/current_brand_flags.rb +27 -1
- data/lib/authentik/api/models/device_access_group.rb +15 -4
- data/lib/authentik/api/models/device_access_group_request.rb +15 -4
- data/lib/authentik/api/models/device_fact_snapshot.rb +53 -5
- data/lib/authentik/api/models/event_actions.rb +6 -1
- data/lib/authentik/api/models/fleet_connector.rb +349 -0
- data/lib/authentik/api/models/fleet_connector_request.rb +294 -0
- data/lib/authentik/api/models/flow_layout_enum.rb +3 -1
- data/lib/authentik/api/models/identification_challenge.rb +11 -1
- data/lib/authentik/api/models/lifecycle_iteration.rb +525 -0
- data/lib/authentik/api/models/lifecycle_iteration_request.rb +181 -0
- data/lib/authentik/api/models/lifecycle_iteration_state_enum.rb +36 -0
- data/lib/authentik/api/models/lifecycle_rule.rb +440 -0
- data/lib/authentik/api/models/lifecycle_rule_request.rb +394 -0
- data/lib/authentik/api/models/model_enum.rb +6 -1
- data/lib/authentik/api/models/model_request.rb +4 -2
- data/lib/authentik/api/models/operating_system.rb +3 -0
- data/lib/authentik/api/models/operating_system_request.rb +3 -0
- data/lib/authentik/api/models/paginated_fleet_connector_list.rb +214 -0
- data/lib/authentik/api/models/paginated_lifecycle_iteration_list.rb +214 -0
- data/lib/authentik/api/models/paginated_lifecycle_rule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ws_federation_provider_list.rb +214 -0
- data/lib/authentik/api/models/patched_device_access_group_request.rb +15 -4
- data/lib/authentik/api/models/patched_fleet_connector_request.rb +273 -0
- data/lib/authentik/api/models/patched_lifecycle_rule_request.rb +353 -0
- data/lib/authentik/api/models/patched_role_request.rb +0 -9
- data/lib/authentik/api/models/patched_saml_provider_request.rb +1 -1
- data/lib/authentik/api/models/patched_scim_provider_request.rb +13 -11
- data/lib/authentik/api/models/patched_settings_request_flags.rb +27 -1
- data/lib/authentik/api/models/patched_ws_federation_provider_request.rb +457 -0
- data/lib/authentik/api/models/provider_model_enum.rb +2 -1
- data/lib/authentik/api/models/review.rb +247 -0
- data/lib/authentik/api/models/review_request.rb +184 -0
- data/lib/authentik/api/models/reviewer_group.rb +184 -0
- data/lib/authentik/api/models/reviewer_user.rb +258 -0
- data/lib/authentik/api/models/role.rb +0 -9
- data/lib/authentik/api/models/role_request.rb +0 -9
- data/lib/authentik/api/models/{saml_provider_logout_method_enum.rb → saml_logout_methods.rb} +3 -3
- data/lib/authentik/api/models/saml_provider.rb +1 -1
- data/lib/authentik/api/models/saml_provider_request.rb +1 -1
- data/lib/authentik/api/models/scim_provider.rb +13 -11
- data/lib/authentik/api/models/scim_provider_request.rb +13 -11
- data/lib/authentik/api/models/task.rb +1 -1
- data/lib/authentik/api/models/{state_enum.rb → task_state_enum.rb} +3 -3
- data/lib/authentik/api/models/user_recovery_email_request.rb +187 -0
- data/lib/authentik/api/models/user_recovery_link_request.rb +161 -0
- data/lib/authentik/api/models/vendor_enum.rb +35 -0
- data/lib/authentik/api/models/ws_federation_provider.rb +668 -0
- data/lib/authentik/api/models/ws_federation_provider_request.rb +512 -0
- data/lib/authentik/api/version.rb +1 -1
- data/spec/api/core_api_spec.rb +21 -1
- data/spec/api/crypto_api_spec.rb +0 -1
- data/spec/api/endpoints_api_spec.rb +83 -0
- data/spec/api/lifecycle_api_spec.rb +144 -0
- data/spec/api/providers_api_spec.rb +137 -1
- data/spec/api/rbac_api_spec.rb +2 -3
- data/spec/models/bulk_delete_session_response_spec.rb +30 -0
- data/spec/models/content_type_enum_spec.rb +24 -0
- data/spec/models/current_brand_flags_spec.rb +6 -0
- data/spec/models/device_access_group_request_spec.rb +6 -0
- data/spec/models/device_access_group_spec.rb +6 -0
- data/spec/models/device_fact_snapshot_spec.rb +6 -0
- data/spec/models/fleet_connector_request_spec.rb +72 -0
- data/spec/models/fleet_connector_spec.rb +90 -0
- data/spec/models/identification_challenge_spec.rb +6 -0
- data/spec/models/lifecycle_iteration_request_spec.rb +30 -0
- data/spec/models/lifecycle_iteration_spec.rb +108 -0
- data/spec/models/lifecycle_iteration_state_enum_spec.rb +24 -0
- data/spec/models/lifecycle_rule_request_spec.rb +84 -0
- data/spec/models/lifecycle_rule_spec.rb +108 -0
- data/spec/models/paginated_fleet_connector_list_spec.rb +42 -0
- data/spec/models/paginated_lifecycle_iteration_list_spec.rb +42 -0
- data/spec/models/paginated_lifecycle_rule_list_spec.rb +42 -0
- data/spec/models/paginated_ws_federation_provider_list_spec.rb +42 -0
- data/spec/models/patched_device_access_group_request_spec.rb +6 -0
- data/spec/models/patched_fleet_connector_request_spec.rb +72 -0
- data/spec/models/patched_lifecycle_rule_request_spec.rb +84 -0
- data/spec/models/patched_scim_provider_request_spec.rb +3 -3
- data/spec/models/patched_settings_request_flags_spec.rb +6 -0
- data/spec/models/patched_ws_federation_provider_request_spec.rb +138 -0
- data/spec/models/review_request_spec.rb +36 -0
- data/spec/models/review_spec.rb +54 -0
- data/spec/models/reviewer_group_spec.rb +36 -0
- data/spec/models/reviewer_user_spec.rb +48 -0
- data/spec/models/saml_logout_methods_spec.rb +24 -0
- data/spec/models/scim_provider_request_spec.rb +3 -3
- data/spec/models/scim_provider_spec.rb +3 -3
- data/spec/models/task_state_enum_spec.rb +24 -0
- data/spec/models/user_recovery_email_request_spec.rb +36 -0
- data/spec/models/user_recovery_link_request_spec.rb +30 -0
- data/spec/models/{state_enum_spec.rb → vendor_enum_spec.rb} +6 -6
- data/spec/models/ws_federation_provider_request_spec.rb +138 -0
- data/spec/models/ws_federation_provider_spec.rb +204 -0
- metadata +85 -7
- data/spec/models/saml_provider_logout_method_enum_spec.rb +0 -24
|
@@ -0,0 +1,144 @@
|
|
|
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
|
+
|
|
10
|
+
# Unit tests for Authentik::Api::LifecycleApi
|
|
11
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
12
|
+
# Please update as you see appropriate
|
|
13
|
+
describe 'LifecycleApi' do
|
|
14
|
+
before do
|
|
15
|
+
# run before each test
|
|
16
|
+
@api_instance = Authentik::Api::LifecycleApi.new
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
after do
|
|
20
|
+
# run after each test
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LifecycleApi' do
|
|
24
|
+
it 'should create an instance of LifecycleApi' do
|
|
25
|
+
expect(@api_instance).to be_instance_of(Authentik::Api::LifecycleApi)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# unit tests for lifecycle_iterations_create
|
|
30
|
+
# Mixin to validate that a valid enterprise license exists before allowing to save the object
|
|
31
|
+
# @param lifecycle_iteration_request
|
|
32
|
+
# @param [Hash] opts the optional parameters
|
|
33
|
+
# @return [LifecycleIteration]
|
|
34
|
+
describe 'lifecycle_iterations_create test' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# unit tests for lifecycle_iterations_latest_retrieve
|
|
41
|
+
# Mixin to validate that a valid enterprise license exists before allowing to save the object
|
|
42
|
+
# @param content_type
|
|
43
|
+
# @param obj_id
|
|
44
|
+
# @param [Hash] opts the optional parameters
|
|
45
|
+
# @return [LifecycleIteration]
|
|
46
|
+
describe 'lifecycle_iterations_latest_retrieve test' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# unit tests for lifecycle_iterations_list_open
|
|
53
|
+
# Mixin to validate that a valid enterprise license exists before allowing to save the object
|
|
54
|
+
# @param [Hash] opts the optional parameters
|
|
55
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
56
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
57
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
58
|
+
# @option opts [String] :search A search term.
|
|
59
|
+
# @option opts [Boolean] :user_is_reviewer
|
|
60
|
+
# @return [PaginatedLifecycleIterationList]
|
|
61
|
+
describe 'lifecycle_iterations_list_open test' do
|
|
62
|
+
it 'should work' do
|
|
63
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# unit tests for lifecycle_reviews_create
|
|
68
|
+
# Mixin to validate that a valid enterprise license exists before allowing to save the object
|
|
69
|
+
# @param review_request
|
|
70
|
+
# @param [Hash] opts the optional parameters
|
|
71
|
+
# @return [Review]
|
|
72
|
+
describe 'lifecycle_reviews_create test' 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
|
+
|
|
78
|
+
# unit tests for lifecycle_rules_create
|
|
79
|
+
# @param lifecycle_rule_request
|
|
80
|
+
# @param [Hash] opts the optional parameters
|
|
81
|
+
# @return [LifecycleRule]
|
|
82
|
+
describe 'lifecycle_rules_create test' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# unit tests for lifecycle_rules_destroy
|
|
89
|
+
# @param id A UUID string identifying this lifecycle rule.
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @return [nil]
|
|
92
|
+
describe 'lifecycle_rules_destroy test' do
|
|
93
|
+
it 'should work' do
|
|
94
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# unit tests for lifecycle_rules_list
|
|
99
|
+
# @param [Hash] opts the optional parameters
|
|
100
|
+
# @option opts [String] :content_type__model
|
|
101
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
102
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
103
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
104
|
+
# @option opts [String] :search A search term.
|
|
105
|
+
# @return [PaginatedLifecycleRuleList]
|
|
106
|
+
describe 'lifecycle_rules_list test' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# unit tests for lifecycle_rules_partial_update
|
|
113
|
+
# @param id A UUID string identifying this lifecycle rule.
|
|
114
|
+
# @param [Hash] opts the optional parameters
|
|
115
|
+
# @option opts [PatchedLifecycleRuleRequest] :patched_lifecycle_rule_request
|
|
116
|
+
# @return [LifecycleRule]
|
|
117
|
+
describe 'lifecycle_rules_partial_update test' do
|
|
118
|
+
it 'should work' do
|
|
119
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# unit tests for lifecycle_rules_retrieve
|
|
124
|
+
# @param id A UUID string identifying this lifecycle rule.
|
|
125
|
+
# @param [Hash] opts the optional parameters
|
|
126
|
+
# @return [LifecycleRule]
|
|
127
|
+
describe 'lifecycle_rules_retrieve test' do
|
|
128
|
+
it 'should work' do
|
|
129
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# unit tests for lifecycle_rules_update
|
|
134
|
+
# @param id A UUID string identifying this lifecycle rule.
|
|
135
|
+
# @param lifecycle_rule_request
|
|
136
|
+
# @param [Hash] opts the optional parameters
|
|
137
|
+
# @return [LifecycleRule]
|
|
138
|
+
describe 'lifecycle_rules_update test' 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
|
+
|
|
144
|
+
end
|
|
@@ -1259,7 +1259,7 @@ describe 'ProvidersApi' do
|
|
|
1259
1259
|
# SCIMProvider Viewset
|
|
1260
1260
|
# @param [Hash] opts the optional parameters
|
|
1261
1261
|
# @option opts [Boolean] :exclude_users_service_account
|
|
1262
|
-
# @option opts [String] :
|
|
1262
|
+
# @option opts [Array<String>] :group_filters
|
|
1263
1263
|
# @option opts [String] :name
|
|
1264
1264
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1265
1265
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -1487,4 +1487,140 @@ describe 'ProvidersApi' do
|
|
|
1487
1487
|
end
|
|
1488
1488
|
end
|
|
1489
1489
|
|
|
1490
|
+
# unit tests for providers_wsfed_create
|
|
1491
|
+
# WSFederationProvider Viewset
|
|
1492
|
+
# @param ws_federation_provider_request
|
|
1493
|
+
# @param [Hash] opts the optional parameters
|
|
1494
|
+
# @return [WSFederationProvider]
|
|
1495
|
+
describe 'providers_wsfed_create test' do
|
|
1496
|
+
it 'should work' do
|
|
1497
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1498
|
+
end
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1501
|
+
# unit tests for providers_wsfed_destroy
|
|
1502
|
+
# WSFederationProvider Viewset
|
|
1503
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1504
|
+
# @param [Hash] opts the optional parameters
|
|
1505
|
+
# @return [nil]
|
|
1506
|
+
describe 'providers_wsfed_destroy test' do
|
|
1507
|
+
it 'should work' do
|
|
1508
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1509
|
+
end
|
|
1510
|
+
end
|
|
1511
|
+
|
|
1512
|
+
# unit tests for providers_wsfed_list
|
|
1513
|
+
# WSFederationProvider Viewset
|
|
1514
|
+
# @param [Hash] opts the optional parameters
|
|
1515
|
+
# @option opts [String] :acs_url
|
|
1516
|
+
# @option opts [String] :assertion_valid_not_before
|
|
1517
|
+
# @option opts [String] :assertion_valid_not_on_or_after
|
|
1518
|
+
# @option opts [String] :audience
|
|
1519
|
+
# @option opts [String] :authentication_flow
|
|
1520
|
+
# @option opts [String] :authn_context_class_ref_mapping
|
|
1521
|
+
# @option opts [String] :authorization_flow
|
|
1522
|
+
# @option opts [String] :backchannel_application
|
|
1523
|
+
# @option opts [String] :default_name_id_policy
|
|
1524
|
+
# @option opts [String] :default_relay_state
|
|
1525
|
+
# @option opts [String] :digest_algorithm
|
|
1526
|
+
# @option opts [String] :encryption_kp
|
|
1527
|
+
# @option opts [String] :invalidation_flow
|
|
1528
|
+
# @option opts [Boolean] :is_backchannel
|
|
1529
|
+
# @option opts [String] :issuer
|
|
1530
|
+
# @option opts [String] :logout_method Method to use for logout. Front-channel iframe loads all logout URLs simultaneously in hidden iframes. Front-channel native uses your active browser tab to send post requests and redirect to providers. Back-channel sends logout requests directly from the server without user interaction (requires POST SLS binding).
|
|
1531
|
+
# @option opts [String] :name
|
|
1532
|
+
# @option opts [String] :name_id_mapping
|
|
1533
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1534
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1535
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1536
|
+
# @option opts [Array<String>] :property_mappings
|
|
1537
|
+
# @option opts [String] :search A search term.
|
|
1538
|
+
# @option opts [String] :session_valid_not_on_or_after
|
|
1539
|
+
# @option opts [Boolean] :sign_assertion
|
|
1540
|
+
# @option opts [Boolean] :sign_logout_request
|
|
1541
|
+
# @option opts [Boolean] :sign_response
|
|
1542
|
+
# @option opts [String] :signature_algorithm
|
|
1543
|
+
# @option opts [String] :signing_kp
|
|
1544
|
+
# @option opts [String] :sls_binding This determines how authentik sends the logout response back to the Service Provider.
|
|
1545
|
+
# @option opts [String] :sls_url
|
|
1546
|
+
# @option opts [String] :sp_binding This determines how authentik sends the response back to the Service Provider.
|
|
1547
|
+
# @option opts [String] :verification_kp
|
|
1548
|
+
# @return [PaginatedWSFederationProviderList]
|
|
1549
|
+
describe 'providers_wsfed_list test' do
|
|
1550
|
+
it 'should work' do
|
|
1551
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1552
|
+
end
|
|
1553
|
+
end
|
|
1554
|
+
|
|
1555
|
+
# unit tests for providers_wsfed_metadata_retrieve
|
|
1556
|
+
# Return metadata as XML string
|
|
1557
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1558
|
+
# @param [Hash] opts the optional parameters
|
|
1559
|
+
# @option opts [Boolean] :download
|
|
1560
|
+
# @option opts [String] :force_binding Optionally force the metadata to only include one binding.
|
|
1561
|
+
# @return [SAMLMetadata]
|
|
1562
|
+
describe 'providers_wsfed_metadata_retrieve test' do
|
|
1563
|
+
it 'should work' do
|
|
1564
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1565
|
+
end
|
|
1566
|
+
end
|
|
1567
|
+
|
|
1568
|
+
# unit tests for providers_wsfed_partial_update
|
|
1569
|
+
# WSFederationProvider Viewset
|
|
1570
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1571
|
+
# @param [Hash] opts the optional parameters
|
|
1572
|
+
# @option opts [PatchedWSFederationProviderRequest] :patched_ws_federation_provider_request
|
|
1573
|
+
# @return [WSFederationProvider]
|
|
1574
|
+
describe 'providers_wsfed_partial_update test' do
|
|
1575
|
+
it 'should work' do
|
|
1576
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1577
|
+
end
|
|
1578
|
+
end
|
|
1579
|
+
|
|
1580
|
+
# unit tests for providers_wsfed_preview_user_retrieve
|
|
1581
|
+
# Preview user data for provider
|
|
1582
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1583
|
+
# @param [Hash] opts the optional parameters
|
|
1584
|
+
# @option opts [Integer] :for_user
|
|
1585
|
+
# @return [PropertyMappingPreview]
|
|
1586
|
+
describe 'providers_wsfed_preview_user_retrieve test' do
|
|
1587
|
+
it 'should work' do
|
|
1588
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1589
|
+
end
|
|
1590
|
+
end
|
|
1591
|
+
|
|
1592
|
+
# unit tests for providers_wsfed_retrieve
|
|
1593
|
+
# WSFederationProvider Viewset
|
|
1594
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1595
|
+
# @param [Hash] opts the optional parameters
|
|
1596
|
+
# @return [WSFederationProvider]
|
|
1597
|
+
describe 'providers_wsfed_retrieve test' do
|
|
1598
|
+
it 'should work' do
|
|
1599
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1600
|
+
end
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
# unit tests for providers_wsfed_update
|
|
1604
|
+
# WSFederationProvider Viewset
|
|
1605
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1606
|
+
# @param ws_federation_provider_request
|
|
1607
|
+
# @param [Hash] opts the optional parameters
|
|
1608
|
+
# @return [WSFederationProvider]
|
|
1609
|
+
describe 'providers_wsfed_update test' do
|
|
1610
|
+
it 'should work' do
|
|
1611
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1612
|
+
end
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
# unit tests for providers_wsfed_used_by_list
|
|
1616
|
+
# Get a list of all objects that use this object
|
|
1617
|
+
# @param id A unique integer value identifying this WS-Federation Provider.
|
|
1618
|
+
# @param [Hash] opts the optional parameters
|
|
1619
|
+
# @return [Array<UsedBy>]
|
|
1620
|
+
describe 'providers_wsfed_used_by_list test' do
|
|
1621
|
+
it 'should work' do
|
|
1622
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1623
|
+
end
|
|
1624
|
+
end
|
|
1625
|
+
|
|
1490
1626
|
end
|
data/spec/api/rbac_api_spec.rb
CHANGED
|
@@ -160,7 +160,6 @@ describe 'RbacApi' do
|
|
|
160
160
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
161
161
|
# @option opts [String] :role
|
|
162
162
|
# @option opts [String] :search A search term.
|
|
163
|
-
# @option opts [Integer] :user
|
|
164
163
|
# @return [PaginatedPermissionList]
|
|
165
164
|
describe 'rbac_permissions_list test' do
|
|
166
165
|
it 'should work' do
|
|
@@ -231,8 +230,8 @@ describe 'RbacApi' do
|
|
|
231
230
|
# unit tests for rbac_roles_list
|
|
232
231
|
# Role viewset
|
|
233
232
|
# @param [Hash] opts the optional parameters
|
|
234
|
-
# @option opts [String] :
|
|
235
|
-
# @option opts [Boolean] :inherited Include inherited roles (requires users or
|
|
233
|
+
# @option opts [String] :groups
|
|
234
|
+
# @option opts [Boolean] :inherited Include inherited roles (requires users or groups filter)
|
|
236
235
|
# @option opts [Array<String>] :managed
|
|
237
236
|
# @option opts [Boolean] :managed__isnull
|
|
238
237
|
# @option opts [String] :name
|
|
@@ -0,0 +1,30 @@
|
|
|
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::BulkDeleteSessionResponse
|
|
12
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
13
|
+
# Please update as you see appropriate
|
|
14
|
+
describe Authentik::Api::BulkDeleteSessionResponse do
|
|
15
|
+
#let(:instance) { Authentik::Api::BulkDeleteSessionResponse.new }
|
|
16
|
+
|
|
17
|
+
describe 'test an instance of BulkDeleteSessionResponse' do
|
|
18
|
+
it 'should create an instance of BulkDeleteSessionResponse' do
|
|
19
|
+
# uncomment below to test the instance creation
|
|
20
|
+
#expect(instance).to be_instance_of(Authentik::Api::BulkDeleteSessionResponse)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
describe 'test attribute "deleted"' 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
|
+
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::ContentTypeEnum
|
|
12
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
13
|
+
# Please update as you see appropriate
|
|
14
|
+
describe Authentik::Api::ContentTypeEnum do
|
|
15
|
+
#let(:instance) { Authentik::Api::ContentTypeEnum.new }
|
|
16
|
+
|
|
17
|
+
describe 'test an instance of ContentTypeEnum' do
|
|
18
|
+
it 'should create an instance of ContentTypeEnum' do
|
|
19
|
+
# uncomment below to test the instance creation
|
|
20
|
+
#expect(instance).to be_instance_of(Authentik::Api::ContentTypeEnum)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
end
|
|
@@ -21,6 +21,12 @@ describe Authentik::Api::CurrentBrandFlags do
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
+
describe 'test attribute "enterprise_audit_include_expanded_diff"' 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
|
+
|
|
24
30
|
describe 'test attribute "policies_buffered_access_view"' do
|
|
25
31
|
it 'should work' do
|
|
26
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,4 +27,10 @@ describe Authentik::Api::DeviceAccessGroupRequest do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "attributes"' 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
|
+
|
|
30
36
|
end
|
|
@@ -0,0 +1,72 @@
|
|
|
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::FleetConnectorRequest
|
|
12
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
13
|
+
# Please update as you see appropriate
|
|
14
|
+
describe Authentik::Api::FleetConnectorRequest do
|
|
15
|
+
#let(:instance) { Authentik::Api::FleetConnectorRequest.new }
|
|
16
|
+
|
|
17
|
+
describe 'test an instance of FleetConnectorRequest' do
|
|
18
|
+
it 'should create an instance of FleetConnectorRequest' do
|
|
19
|
+
# uncomment below to test the instance creation
|
|
20
|
+
#expect(instance).to be_instance_of(Authentik::Api::FleetConnectorRequest)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
describe 'test attribute "connector_uuid"' 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 "name"' 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
|
+
describe 'test attribute "enabled"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "url"' 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
|
+
|
|
48
|
+
describe 'test attribute "token"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "headers_mapping"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "map_users"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "map_teams_access_group"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
end
|
|
@@ -0,0 +1,90 @@
|
|
|
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::FleetConnector
|
|
12
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
13
|
+
# Please update as you see appropriate
|
|
14
|
+
describe Authentik::Api::FleetConnector do
|
|
15
|
+
#let(:instance) { Authentik::Api::FleetConnector.new }
|
|
16
|
+
|
|
17
|
+
describe 'test an instance of FleetConnector' do
|
|
18
|
+
it 'should create an instance of FleetConnector' do
|
|
19
|
+
# uncomment below to test the instance creation
|
|
20
|
+
#expect(instance).to be_instance_of(Authentik::Api::FleetConnector)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
describe 'test attribute "connector_uuid"' 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 "name"' 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
|
+
describe 'test attribute "enabled"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "component"' 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
|
+
|
|
48
|
+
describe 'test attribute "verbose_name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "verbose_name_plural"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "meta_model_name"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "url"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "headers_mapping"' 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
|
+
|
|
78
|
+
describe 'test attribute "map_users"' 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
|
+
|
|
84
|
+
describe 'test attribute "map_teams_access_group"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
end
|
|
@@ -45,6 +45,12 @@ describe Authentik::Api::IdentificationChallenge do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "pending_user_identifier"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
48
54
|
describe 'test attribute "password_fields"' do
|
|
49
55
|
it 'should work' do
|
|
50
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,30 @@
|
|
|
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::LifecycleIterationRequest
|
|
12
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
13
|
+
# Please update as you see appropriate
|
|
14
|
+
describe Authentik::Api::LifecycleIterationRequest do
|
|
15
|
+
#let(:instance) { Authentik::Api::LifecycleIterationRequest.new }
|
|
16
|
+
|
|
17
|
+
describe 'test an instance of LifecycleIterationRequest' do
|
|
18
|
+
it 'should create an instance of LifecycleIterationRequest' do
|
|
19
|
+
# uncomment below to test the instance creation
|
|
20
|
+
#expect(instance).to be_instance_of(Authentik::Api::LifecycleIterationRequest)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
describe 'test attribute "content_type"' 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
|
+
end
|