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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dc906ae7c91acc87b82ae67c4e91548ce7660fedc47aa4aa33873a445d8deb7
|
|
4
|
+
data.tar.gz: 7f1e0d03464bba1e6066aa4a502eabd8bb5dbd2250ea005b4cf4f906ad30cec1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d29d6bc82fc2e01e52d5946ae3aeb8d9de5502e203b8b745b8f32b5bc4fef2cff205f64fb33d7932bceb25fbff906f24c298ba5d1a4928b4bb59a5c05274a4a8
|
|
7
|
+
data.tar.gz: b202e3241f83bbfb2ac265ae8823f778fce67cc1f04d6dc45c633f04fd40e11c373da02ebfbadf9a3b2f08ce07fdc2fc2058917f26c433cf3b8236866a49ca2c
|
data/README_API.md
CHANGED
|
@@ -6,8 +6,8 @@ Making authentication simple.
|
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
|
-
- API version:
|
|
10
|
-
- Package version:
|
|
9
|
+
- API version: 2026.2.1
|
|
10
|
+
- Package version: 2026.2.1
|
|
11
11
|
- Generator version: 7.22.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build authentik-api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./authentik-api-
|
|
27
|
+
gem install ./authentik-api-2026.2.1.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./authentik-api-
|
|
30
|
+
(for development, run `gem install --dev ./authentik-api-2026.2.1.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', '~>
|
|
36
|
+
gem 'authentik-api', '~> 2026.2.1'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -194,6 +194,7 @@ Class | Method | HTTP request | Description
|
|
|
194
194
|
*Authentik::Api::CoreApi* | [**core_applications_retrieve**](docs/CoreApi.md#core_applications_retrieve) | **GET** /core/applications/{slug}/ |
|
|
195
195
|
*Authentik::Api::CoreApi* | [**core_applications_update**](docs/CoreApi.md#core_applications_update) | **PUT** /core/applications/{slug}/ |
|
|
196
196
|
*Authentik::Api::CoreApi* | [**core_applications_used_by_list**](docs/CoreApi.md#core_applications_used_by_list) | **GET** /core/applications/{slug}/used_by/ |
|
|
197
|
+
*Authentik::Api::CoreApi* | [**core_authenticated_sessions_bulk_delete_destroy**](docs/CoreApi.md#core_authenticated_sessions_bulk_delete_destroy) | **DELETE** /core/authenticated_sessions/bulk_delete/ |
|
|
197
198
|
*Authentik::Api::CoreApi* | [**core_authenticated_sessions_destroy**](docs/CoreApi.md#core_authenticated_sessions_destroy) | **DELETE** /core/authenticated_sessions/{uuid}/ |
|
|
198
199
|
*Authentik::Api::CoreApi* | [**core_authenticated_sessions_list**](docs/CoreApi.md#core_authenticated_sessions_list) | **GET** /core/authenticated_sessions/ |
|
|
199
200
|
*Authentik::Api::CoreApi* | [**core_authenticated_sessions_retrieve**](docs/CoreApi.md#core_authenticated_sessions_retrieve) | **GET** /core/authenticated_sessions/{uuid}/ |
|
|
@@ -304,6 +305,13 @@ Class | Method | HTTP request | Description
|
|
|
304
305
|
*Authentik::Api::EndpointsApi* | [**endpoints_devices_summary_retrieve**](docs/EndpointsApi.md#endpoints_devices_summary_retrieve) | **GET** /endpoints/devices/summary/ |
|
|
305
306
|
*Authentik::Api::EndpointsApi* | [**endpoints_devices_update**](docs/EndpointsApi.md#endpoints_devices_update) | **PUT** /endpoints/devices/{device_uuid}/ |
|
|
306
307
|
*Authentik::Api::EndpointsApi* | [**endpoints_devices_used_by_list**](docs/EndpointsApi.md#endpoints_devices_used_by_list) | **GET** /endpoints/devices/{device_uuid}/used_by/ |
|
|
308
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_create**](docs/EndpointsApi.md#endpoints_fleet_connectors_create) | **POST** /endpoints/fleet/connectors/ |
|
|
309
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_destroy**](docs/EndpointsApi.md#endpoints_fleet_connectors_destroy) | **DELETE** /endpoints/fleet/connectors/{connector_uuid}/ |
|
|
310
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_list**](docs/EndpointsApi.md#endpoints_fleet_connectors_list) | **GET** /endpoints/fleet/connectors/ |
|
|
311
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_partial_update**](docs/EndpointsApi.md#endpoints_fleet_connectors_partial_update) | **PATCH** /endpoints/fleet/connectors/{connector_uuid}/ |
|
|
312
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_retrieve**](docs/EndpointsApi.md#endpoints_fleet_connectors_retrieve) | **GET** /endpoints/fleet/connectors/{connector_uuid}/ |
|
|
313
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_update**](docs/EndpointsApi.md#endpoints_fleet_connectors_update) | **PUT** /endpoints/fleet/connectors/{connector_uuid}/ |
|
|
314
|
+
*Authentik::Api::EndpointsApi* | [**endpoints_fleet_connectors_used_by_list**](docs/EndpointsApi.md#endpoints_fleet_connectors_used_by_list) | **GET** /endpoints/fleet/connectors/{connector_uuid}/used_by/ |
|
|
307
315
|
*Authentik::Api::EnterpriseApi* | [**enterprise_license_create**](docs/EnterpriseApi.md#enterprise_license_create) | **POST** /enterprise/license/ |
|
|
308
316
|
*Authentik::Api::EnterpriseApi* | [**enterprise_license_destroy**](docs/EnterpriseApi.md#enterprise_license_destroy) | **DELETE** /enterprise/license/{license_uuid}/ |
|
|
309
317
|
*Authentik::Api::EnterpriseApi* | [**enterprise_license_forecast_retrieve**](docs/EnterpriseApi.md#enterprise_license_forecast_retrieve) | **GET** /enterprise/license/forecast/ |
|
|
@@ -369,6 +377,16 @@ Class | Method | HTTP request | Description
|
|
|
369
377
|
*Authentik::Api::FlowsApi* | [**flows_instances_retrieve**](docs/FlowsApi.md#flows_instances_retrieve) | **GET** /flows/instances/{slug}/ |
|
|
370
378
|
*Authentik::Api::FlowsApi* | [**flows_instances_update**](docs/FlowsApi.md#flows_instances_update) | **PUT** /flows/instances/{slug}/ |
|
|
371
379
|
*Authentik::Api::FlowsApi* | [**flows_instances_used_by_list**](docs/FlowsApi.md#flows_instances_used_by_list) | **GET** /flows/instances/{slug}/used_by/ |
|
|
380
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_iterations_create**](docs/LifecycleApi.md#lifecycle_iterations_create) | **POST** /lifecycle/iterations/ |
|
|
381
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_iterations_latest_retrieve**](docs/LifecycleApi.md#lifecycle_iterations_latest_retrieve) | **GET** /lifecycle/iterations/latest/{content_type}/{object_id}/ |
|
|
382
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_iterations_list_open**](docs/LifecycleApi.md#lifecycle_iterations_list_open) | **GET** /lifecycle/iterations/open/ |
|
|
383
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_reviews_create**](docs/LifecycleApi.md#lifecycle_reviews_create) | **POST** /lifecycle/reviews/ |
|
|
384
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_rules_create**](docs/LifecycleApi.md#lifecycle_rules_create) | **POST** /lifecycle/rules/ |
|
|
385
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_rules_destroy**](docs/LifecycleApi.md#lifecycle_rules_destroy) | **DELETE** /lifecycle/rules/{id}/ |
|
|
386
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_rules_list**](docs/LifecycleApi.md#lifecycle_rules_list) | **GET** /lifecycle/rules/ |
|
|
387
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_rules_partial_update**](docs/LifecycleApi.md#lifecycle_rules_partial_update) | **PATCH** /lifecycle/rules/{id}/ |
|
|
388
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_rules_retrieve**](docs/LifecycleApi.md#lifecycle_rules_retrieve) | **GET** /lifecycle/rules/{id}/ |
|
|
389
|
+
*Authentik::Api::LifecycleApi* | [**lifecycle_rules_update**](docs/LifecycleApi.md#lifecycle_rules_update) | **PUT** /lifecycle/rules/{id}/ |
|
|
372
390
|
*Authentik::Api::ManagedApi* | [**managed_blueprints_apply_create**](docs/ManagedApi.md#managed_blueprints_apply_create) | **POST** /managed/blueprints/{instance_uuid}/apply/ |
|
|
373
391
|
*Authentik::Api::ManagedApi* | [**managed_blueprints_available_list**](docs/ManagedApi.md#managed_blueprints_available_list) | **GET** /managed/blueprints/available/ |
|
|
374
392
|
*Authentik::Api::ManagedApi* | [**managed_blueprints_create**](docs/ManagedApi.md#managed_blueprints_create) | **POST** /managed/blueprints/ |
|
|
@@ -727,6 +745,15 @@ Class | Method | HTTP request | Description
|
|
|
727
745
|
*Authentik::Api::ProvidersApi* | [**providers_ssf_retrieve**](docs/ProvidersApi.md#providers_ssf_retrieve) | **GET** /providers/ssf/{id}/ |
|
|
728
746
|
*Authentik::Api::ProvidersApi* | [**providers_ssf_update**](docs/ProvidersApi.md#providers_ssf_update) | **PUT** /providers/ssf/{id}/ |
|
|
729
747
|
*Authentik::Api::ProvidersApi* | [**providers_ssf_used_by_list**](docs/ProvidersApi.md#providers_ssf_used_by_list) | **GET** /providers/ssf/{id}/used_by/ |
|
|
748
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_create**](docs/ProvidersApi.md#providers_wsfed_create) | **POST** /providers/wsfed/ |
|
|
749
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_destroy**](docs/ProvidersApi.md#providers_wsfed_destroy) | **DELETE** /providers/wsfed/{id}/ |
|
|
750
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_list**](docs/ProvidersApi.md#providers_wsfed_list) | **GET** /providers/wsfed/ |
|
|
751
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_metadata_retrieve**](docs/ProvidersApi.md#providers_wsfed_metadata_retrieve) | **GET** /providers/wsfed/{id}/metadata/ |
|
|
752
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_partial_update**](docs/ProvidersApi.md#providers_wsfed_partial_update) | **PATCH** /providers/wsfed/{id}/ |
|
|
753
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_preview_user_retrieve**](docs/ProvidersApi.md#providers_wsfed_preview_user_retrieve) | **GET** /providers/wsfed/{id}/preview_user/ |
|
|
754
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_retrieve**](docs/ProvidersApi.md#providers_wsfed_retrieve) | **GET** /providers/wsfed/{id}/ |
|
|
755
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_update**](docs/ProvidersApi.md#providers_wsfed_update) | **PUT** /providers/wsfed/{id}/ |
|
|
756
|
+
*Authentik::Api::ProvidersApi* | [**providers_wsfed_used_by_list**](docs/ProvidersApi.md#providers_wsfed_used_by_list) | **GET** /providers/wsfed/{id}/used_by/ |
|
|
730
757
|
*Authentik::Api::RacApi* | [**rac_connection_tokens_destroy**](docs/RacApi.md#rac_connection_tokens_destroy) | **DELETE** /rac/connection_tokens/{connection_token_uuid}/ |
|
|
731
758
|
*Authentik::Api::RacApi* | [**rac_connection_tokens_list**](docs/RacApi.md#rac_connection_tokens_list) | **GET** /rac/connection_tokens/ |
|
|
732
759
|
*Authentik::Api::RacApi* | [**rac_connection_tokens_partial_update**](docs/RacApi.md#rac_connection_tokens_partial_update) | **PATCH** /rac/connection_tokens/{connection_token_uuid}/ |
|
|
@@ -1243,6 +1270,7 @@ Class | Method | HTTP request | Description
|
|
|
1243
1270
|
- [Authentik::Api::BlueprintInstanceStatusEnum](docs/BlueprintInstanceStatusEnum.md)
|
|
1244
1271
|
- [Authentik::Api::Brand](docs/Brand.md)
|
|
1245
1272
|
- [Authentik::Api::BrandRequest](docs/BrandRequest.md)
|
|
1273
|
+
- [Authentik::Api::BulkDeleteSessionResponse](docs/BulkDeleteSessionResponse.md)
|
|
1246
1274
|
- [Authentik::Api::Cache](docs/Cache.md)
|
|
1247
1275
|
- [Authentik::Api::CapabilitiesEnum](docs/CapabilitiesEnum.md)
|
|
1248
1276
|
- [Authentik::Api::CaptchaChallenge](docs/CaptchaChallenge.md)
|
|
@@ -1268,6 +1296,7 @@ Class | Method | HTTP request | Description
|
|
|
1268
1296
|
- [Authentik::Api::ConsentStageModeEnum](docs/ConsentStageModeEnum.md)
|
|
1269
1297
|
- [Authentik::Api::ConsentStageRequest](docs/ConsentStageRequest.md)
|
|
1270
1298
|
- [Authentik::Api::ContentType](docs/ContentType.md)
|
|
1299
|
+
- [Authentik::Api::ContentTypeEnum](docs/ContentTypeEnum.md)
|
|
1271
1300
|
- [Authentik::Api::ContextualFlowInfo](docs/ContextualFlowInfo.md)
|
|
1272
1301
|
- [Authentik::Api::ContextualFlowInfoLayoutEnum](docs/ContextualFlowInfoLayoutEnum.md)
|
|
1273
1302
|
- [Authentik::Api::CountryCodeEnum](docs/CountryCodeEnum.md)
|
|
@@ -1350,6 +1379,8 @@ Class | Method | HTTP request | Description
|
|
|
1350
1379
|
- [Authentik::Api::ExpressionPolicyRequest](docs/ExpressionPolicyRequest.md)
|
|
1351
1380
|
- [Authentik::Api::ExtraRoleObjectPermission](docs/ExtraRoleObjectPermission.md)
|
|
1352
1381
|
- [Authentik::Api::FileList](docs/FileList.md)
|
|
1382
|
+
- [Authentik::Api::FleetConnector](docs/FleetConnector.md)
|
|
1383
|
+
- [Authentik::Api::FleetConnectorRequest](docs/FleetConnectorRequest.md)
|
|
1353
1384
|
- [Authentik::Api::Flow](docs/Flow.md)
|
|
1354
1385
|
- [Authentik::Api::FlowChallengeResponseRequest](docs/FlowChallengeResponseRequest.md)
|
|
1355
1386
|
- [Authentik::Api::FlowDesignationEnum](docs/FlowDesignationEnum.md)
|
|
@@ -1443,6 +1474,11 @@ Class | Method | HTTP request | Description
|
|
|
1443
1474
|
- [Authentik::Api::LicenseStatusEnum](docs/LicenseStatusEnum.md)
|
|
1444
1475
|
- [Authentik::Api::LicenseSummary](docs/LicenseSummary.md)
|
|
1445
1476
|
- [Authentik::Api::LicenseSummaryStatusEnum](docs/LicenseSummaryStatusEnum.md)
|
|
1477
|
+
- [Authentik::Api::LifecycleIteration](docs/LifecycleIteration.md)
|
|
1478
|
+
- [Authentik::Api::LifecycleIterationRequest](docs/LifecycleIterationRequest.md)
|
|
1479
|
+
- [Authentik::Api::LifecycleIterationStateEnum](docs/LifecycleIterationStateEnum.md)
|
|
1480
|
+
- [Authentik::Api::LifecycleRule](docs/LifecycleRule.md)
|
|
1481
|
+
- [Authentik::Api::LifecycleRuleRequest](docs/LifecycleRuleRequest.md)
|
|
1446
1482
|
- [Authentik::Api::Link](docs/Link.md)
|
|
1447
1483
|
- [Authentik::Api::LogEvent](docs/LogEvent.md)
|
|
1448
1484
|
- [Authentik::Api::LogLevelEnum](docs/LogLevelEnum.md)
|
|
@@ -1543,6 +1579,7 @@ Class | Method | HTTP request | Description
|
|
|
1543
1579
|
- [Authentik::Api::PaginatedExpiringBaseGrantModelList](docs/PaginatedExpiringBaseGrantModelList.md)
|
|
1544
1580
|
- [Authentik::Api::PaginatedExpressionPolicyList](docs/PaginatedExpressionPolicyList.md)
|
|
1545
1581
|
- [Authentik::Api::PaginatedExtraRoleObjectPermissionList](docs/PaginatedExtraRoleObjectPermissionList.md)
|
|
1582
|
+
- [Authentik::Api::PaginatedFleetConnectorList](docs/PaginatedFleetConnectorList.md)
|
|
1546
1583
|
- [Authentik::Api::PaginatedFlowList](docs/PaginatedFlowList.md)
|
|
1547
1584
|
- [Authentik::Api::PaginatedFlowStageBindingList](docs/PaginatedFlowStageBindingList.md)
|
|
1548
1585
|
- [Authentik::Api::PaginatedGeoIPPolicyList](docs/PaginatedGeoIPPolicyList.md)
|
|
@@ -1571,6 +1608,8 @@ Class | Method | HTTP request | Description
|
|
|
1571
1608
|
- [Authentik::Api::PaginatedLDAPSourceList](docs/PaginatedLDAPSourceList.md)
|
|
1572
1609
|
- [Authentik::Api::PaginatedLDAPSourcePropertyMappingList](docs/PaginatedLDAPSourcePropertyMappingList.md)
|
|
1573
1610
|
- [Authentik::Api::PaginatedLicenseList](docs/PaginatedLicenseList.md)
|
|
1611
|
+
- [Authentik::Api::PaginatedLifecycleIterationList](docs/PaginatedLifecycleIterationList.md)
|
|
1612
|
+
- [Authentik::Api::PaginatedLifecycleRuleList](docs/PaginatedLifecycleRuleList.md)
|
|
1574
1613
|
- [Authentik::Api::PaginatedMicrosoftEntraProviderGroupList](docs/PaginatedMicrosoftEntraProviderGroupList.md)
|
|
1575
1614
|
- [Authentik::Api::PaginatedMicrosoftEntraProviderList](docs/PaginatedMicrosoftEntraProviderList.md)
|
|
1576
1615
|
- [Authentik::Api::PaginatedMicrosoftEntraProviderMappingList](docs/PaginatedMicrosoftEntraProviderMappingList.md)
|
|
@@ -1651,6 +1690,7 @@ Class | Method | HTTP request | Description
|
|
|
1651
1690
|
- [Authentik::Api::PaginatedUserSourceConnectionList](docs/PaginatedUserSourceConnectionList.md)
|
|
1652
1691
|
- [Authentik::Api::PaginatedUserTelegramSourceConnectionList](docs/PaginatedUserTelegramSourceConnectionList.md)
|
|
1653
1692
|
- [Authentik::Api::PaginatedUserWriteStageList](docs/PaginatedUserWriteStageList.md)
|
|
1693
|
+
- [Authentik::Api::PaginatedWSFederationProviderList](docs/PaginatedWSFederationProviderList.md)
|
|
1654
1694
|
- [Authentik::Api::PaginatedWebAuthnDeviceList](docs/PaginatedWebAuthnDeviceList.md)
|
|
1655
1695
|
- [Authentik::Api::PaginatedWebAuthnDeviceTypeList](docs/PaginatedWebAuthnDeviceTypeList.md)
|
|
1656
1696
|
- [Authentik::Api::Pagination](docs/Pagination.md)
|
|
@@ -1698,6 +1738,7 @@ Class | Method | HTTP request | Description
|
|
|
1698
1738
|
- [Authentik::Api::PatchedEventMatcherPolicyRequest](docs/PatchedEventMatcherPolicyRequest.md)
|
|
1699
1739
|
- [Authentik::Api::PatchedEventRequest](docs/PatchedEventRequest.md)
|
|
1700
1740
|
- [Authentik::Api::PatchedExpressionPolicyRequest](docs/PatchedExpressionPolicyRequest.md)
|
|
1741
|
+
- [Authentik::Api::PatchedFleetConnectorRequest](docs/PatchedFleetConnectorRequest.md)
|
|
1701
1742
|
- [Authentik::Api::PatchedFlowRequest](docs/PatchedFlowRequest.md)
|
|
1702
1743
|
- [Authentik::Api::PatchedFlowStageBindingRequest](docs/PatchedFlowStageBindingRequest.md)
|
|
1703
1744
|
- [Authentik::Api::PatchedGeoIPPolicyRequest](docs/PatchedGeoIPPolicyRequest.md)
|
|
@@ -1723,6 +1764,7 @@ Class | Method | HTTP request | Description
|
|
|
1723
1764
|
- [Authentik::Api::PatchedLDAPSourcePropertyMappingRequest](docs/PatchedLDAPSourcePropertyMappingRequest.md)
|
|
1724
1765
|
- [Authentik::Api::PatchedLDAPSourceRequest](docs/PatchedLDAPSourceRequest.md)
|
|
1725
1766
|
- [Authentik::Api::PatchedLicenseRequest](docs/PatchedLicenseRequest.md)
|
|
1767
|
+
- [Authentik::Api::PatchedLifecycleRuleRequest](docs/PatchedLifecycleRuleRequest.md)
|
|
1726
1768
|
- [Authentik::Api::PatchedMicrosoftEntraProviderMappingRequest](docs/PatchedMicrosoftEntraProviderMappingRequest.md)
|
|
1727
1769
|
- [Authentik::Api::PatchedMicrosoftEntraProviderRequest](docs/PatchedMicrosoftEntraProviderRequest.md)
|
|
1728
1770
|
- [Authentik::Api::PatchedMutualTLSStageRequest](docs/PatchedMutualTLSStageRequest.md)
|
|
@@ -1787,6 +1829,7 @@ Class | Method | HTTP request | Description
|
|
|
1787
1829
|
- [Authentik::Api::PatchedUserSourceConnectionRequest](docs/PatchedUserSourceConnectionRequest.md)
|
|
1788
1830
|
- [Authentik::Api::PatchedUserTelegramSourceConnectionRequest](docs/PatchedUserTelegramSourceConnectionRequest.md)
|
|
1789
1831
|
- [Authentik::Api::PatchedUserWriteStageRequest](docs/PatchedUserWriteStageRequest.md)
|
|
1832
|
+
- [Authentik::Api::PatchedWSFederationProviderRequest](docs/PatchedWSFederationProviderRequest.md)
|
|
1790
1833
|
- [Authentik::Api::PatchedWebAuthnDeviceRequest](docs/PatchedWebAuthnDeviceRequest.md)
|
|
1791
1834
|
- [Authentik::Api::Permission](docs/Permission.md)
|
|
1792
1835
|
- [Authentik::Api::PermissionAssignRequest](docs/PermissionAssignRequest.md)
|
|
@@ -1849,18 +1892,22 @@ Class | Method | HTTP request | Description
|
|
|
1849
1892
|
- [Authentik::Api::ReputationPolicy](docs/ReputationPolicy.md)
|
|
1850
1893
|
- [Authentik::Api::ReputationPolicyRequest](docs/ReputationPolicyRequest.md)
|
|
1851
1894
|
- [Authentik::Api::ResidentKeyRequirementEnum](docs/ResidentKeyRequirementEnum.md)
|
|
1895
|
+
- [Authentik::Api::Review](docs/Review.md)
|
|
1896
|
+
- [Authentik::Api::ReviewRequest](docs/ReviewRequest.md)
|
|
1897
|
+
- [Authentik::Api::ReviewerGroup](docs/ReviewerGroup.md)
|
|
1898
|
+
- [Authentik::Api::ReviewerUser](docs/ReviewerUser.md)
|
|
1852
1899
|
- [Authentik::Api::Role](docs/Role.md)
|
|
1853
1900
|
- [Authentik::Api::RoleAssignedObjectPermission](docs/RoleAssignedObjectPermission.md)
|
|
1854
1901
|
- [Authentik::Api::RoleModelPermission](docs/RoleModelPermission.md)
|
|
1855
1902
|
- [Authentik::Api::RoleObjectPermission](docs/RoleObjectPermission.md)
|
|
1856
1903
|
- [Authentik::Api::RoleRequest](docs/RoleRequest.md)
|
|
1857
1904
|
- [Authentik::Api::SAMLBindingsEnum](docs/SAMLBindingsEnum.md)
|
|
1905
|
+
- [Authentik::Api::SAMLLogoutMethods](docs/SAMLLogoutMethods.md)
|
|
1858
1906
|
- [Authentik::Api::SAMLMetadata](docs/SAMLMetadata.md)
|
|
1859
1907
|
- [Authentik::Api::SAMLNameIDPolicyEnum](docs/SAMLNameIDPolicyEnum.md)
|
|
1860
1908
|
- [Authentik::Api::SAMLPropertyMapping](docs/SAMLPropertyMapping.md)
|
|
1861
1909
|
- [Authentik::Api::SAMLPropertyMappingRequest](docs/SAMLPropertyMappingRequest.md)
|
|
1862
1910
|
- [Authentik::Api::SAMLProvider](docs/SAMLProvider.md)
|
|
1863
|
-
- [Authentik::Api::SAMLProviderLogoutMethodEnum](docs/SAMLProviderLogoutMethodEnum.md)
|
|
1864
1911
|
- [Authentik::Api::SAMLProviderRequest](docs/SAMLProviderRequest.md)
|
|
1865
1912
|
- [Authentik::Api::SAMLSource](docs/SAMLSource.md)
|
|
1866
1913
|
- [Authentik::Api::SAMLSourcePropertyMapping](docs/SAMLSourcePropertyMapping.md)
|
|
@@ -1911,7 +1958,6 @@ Class | Method | HTTP request | Description
|
|
|
1911
1958
|
- [Authentik::Api::Stage](docs/Stage.md)
|
|
1912
1959
|
- [Authentik::Api::StageModeEnum](docs/StageModeEnum.md)
|
|
1913
1960
|
- [Authentik::Api::StagePrompt](docs/StagePrompt.md)
|
|
1914
|
-
- [Authentik::Api::StateEnum](docs/StateEnum.md)
|
|
1915
1961
|
- [Authentik::Api::StaticDevice](docs/StaticDevice.md)
|
|
1916
1962
|
- [Authentik::Api::StaticDeviceRequest](docs/StaticDeviceRequest.md)
|
|
1917
1963
|
- [Authentik::Api::StaticDeviceToken](docs/StaticDeviceToken.md)
|
|
@@ -1927,6 +1973,7 @@ Class | Method | HTTP request | Description
|
|
|
1927
1973
|
- [Authentik::Api::TOTPDeviceRequest](docs/TOTPDeviceRequest.md)
|
|
1928
1974
|
- [Authentik::Api::Task](docs/Task.md)
|
|
1929
1975
|
- [Authentik::Api::TaskAggregatedStatusEnum](docs/TaskAggregatedStatusEnum.md)
|
|
1976
|
+
- [Authentik::Api::TaskStateEnum](docs/TaskStateEnum.md)
|
|
1930
1977
|
- [Authentik::Api::TelegramAuthRequest](docs/TelegramAuthRequest.md)
|
|
1931
1978
|
- [Authentik::Api::TelegramChallengeResponseRequest](docs/TelegramChallengeResponseRequest.md)
|
|
1932
1979
|
- [Authentik::Api::TelegramLoginChallenge](docs/TelegramLoginChallenge.md)
|
|
@@ -1980,6 +2027,8 @@ Class | Method | HTTP request | Description
|
|
|
1980
2027
|
- [Authentik::Api::UserPath](docs/UserPath.md)
|
|
1981
2028
|
- [Authentik::Api::UserPlexSourceConnection](docs/UserPlexSourceConnection.md)
|
|
1982
2029
|
- [Authentik::Api::UserPlexSourceConnectionRequest](docs/UserPlexSourceConnectionRequest.md)
|
|
2030
|
+
- [Authentik::Api::UserRecoveryEmailRequest](docs/UserRecoveryEmailRequest.md)
|
|
2031
|
+
- [Authentik::Api::UserRecoveryLinkRequest](docs/UserRecoveryLinkRequest.md)
|
|
1983
2032
|
- [Authentik::Api::UserRequest](docs/UserRequest.md)
|
|
1984
2033
|
- [Authentik::Api::UserSAMLSourceConnection](docs/UserSAMLSourceConnection.md)
|
|
1985
2034
|
- [Authentik::Api::UserSAMLSourceConnectionRequest](docs/UserSAMLSourceConnectionRequest.md)
|
|
@@ -1998,8 +2047,11 @@ Class | Method | HTTP request | Description
|
|
|
1998
2047
|
- [Authentik::Api::UserWriteStage](docs/UserWriteStage.md)
|
|
1999
2048
|
- [Authentik::Api::UserWriteStageRequest](docs/UserWriteStageRequest.md)
|
|
2000
2049
|
- [Authentik::Api::ValidationError](docs/ValidationError.md)
|
|
2050
|
+
- [Authentik::Api::VendorEnum](docs/VendorEnum.md)
|
|
2001
2051
|
- [Authentik::Api::Version](docs/Version.md)
|
|
2002
2052
|
- [Authentik::Api::VersionHistory](docs/VersionHistory.md)
|
|
2053
|
+
- [Authentik::Api::WSFederationProvider](docs/WSFederationProvider.md)
|
|
2054
|
+
- [Authentik::Api::WSFederationProviderRequest](docs/WSFederationProviderRequest.md)
|
|
2003
2055
|
- [Authentik::Api::WebAuthnDevice](docs/WebAuthnDevice.md)
|
|
2004
2056
|
- [Authentik::Api::WebAuthnDeviceRequest](docs/WebAuthnDeviceRequest.md)
|
|
2005
2057
|
- [Authentik::Api::WebAuthnDeviceType](docs/WebAuthnDeviceType.md)
|
|
@@ -1025,6 +1025,68 @@ module Authentik::Api
|
|
|
1025
1025
|
return data, status_code, headers
|
|
1026
1026
|
end
|
|
1027
1027
|
|
|
1028
|
+
# Bulk revoke all sessions for multiple users
|
|
1029
|
+
# @param user_pks [Array<Integer>] List of user IDs to revoke all sessions for
|
|
1030
|
+
# @param [Hash] opts the optional parameters
|
|
1031
|
+
# @return [BulkDeleteSessionResponse]
|
|
1032
|
+
def core_authenticated_sessions_bulk_delete_destroy(user_pks, opts = {})
|
|
1033
|
+
data, _status_code, _headers = core_authenticated_sessions_bulk_delete_destroy_with_http_info(user_pks, opts)
|
|
1034
|
+
data
|
|
1035
|
+
end
|
|
1036
|
+
|
|
1037
|
+
# Bulk revoke all sessions for multiple users
|
|
1038
|
+
# @param user_pks [Array<Integer>] List of user IDs to revoke all sessions for
|
|
1039
|
+
# @param [Hash] opts the optional parameters
|
|
1040
|
+
# @return [Array<(BulkDeleteSessionResponse, Integer, Hash)>] BulkDeleteSessionResponse data, response status code and response headers
|
|
1041
|
+
def core_authenticated_sessions_bulk_delete_destroy_with_http_info(user_pks, opts = {})
|
|
1042
|
+
if @api_client.config.debugging
|
|
1043
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.core_authenticated_sessions_bulk_delete_destroy ...'
|
|
1044
|
+
end
|
|
1045
|
+
# verify the required parameter 'user_pks' is set
|
|
1046
|
+
if @api_client.config.client_side_validation && user_pks.nil?
|
|
1047
|
+
fail ArgumentError, "Missing the required parameter 'user_pks' when calling CoreApi.core_authenticated_sessions_bulk_delete_destroy"
|
|
1048
|
+
end
|
|
1049
|
+
# resource path
|
|
1050
|
+
local_var_path = '/core/authenticated_sessions/bulk_delete/'
|
|
1051
|
+
|
|
1052
|
+
# query parameters
|
|
1053
|
+
query_params = opts[:query_params] || {}
|
|
1054
|
+
query_params[:'user_pks'] = @api_client.build_collection_param(user_pks, :multi)
|
|
1055
|
+
|
|
1056
|
+
# header parameters
|
|
1057
|
+
header_params = opts[:header_params] || {}
|
|
1058
|
+
# HTTP header 'Accept' (if needed)
|
|
1059
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1060
|
+
|
|
1061
|
+
# form parameters
|
|
1062
|
+
form_params = opts[:form_params] || {}
|
|
1063
|
+
|
|
1064
|
+
# http body (model)
|
|
1065
|
+
post_body = opts[:debug_body]
|
|
1066
|
+
|
|
1067
|
+
# return_type
|
|
1068
|
+
return_type = opts[:debug_return_type] || 'BulkDeleteSessionResponse'
|
|
1069
|
+
|
|
1070
|
+
# auth_names
|
|
1071
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1072
|
+
|
|
1073
|
+
new_options = opts.merge(
|
|
1074
|
+
:operation => :"CoreApi.core_authenticated_sessions_bulk_delete_destroy",
|
|
1075
|
+
:header_params => header_params,
|
|
1076
|
+
:query_params => query_params,
|
|
1077
|
+
:form_params => form_params,
|
|
1078
|
+
:body => post_body,
|
|
1079
|
+
:auth_names => auth_names,
|
|
1080
|
+
:return_type => return_type
|
|
1081
|
+
)
|
|
1082
|
+
|
|
1083
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1084
|
+
if @api_client.config.debugging
|
|
1085
|
+
@api_client.config.logger.debug "API called: CoreApi#core_authenticated_sessions_bulk_delete_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1086
|
+
end
|
|
1087
|
+
return data, status_code, headers
|
|
1088
|
+
end
|
|
1089
|
+
|
|
1028
1090
|
# AuthenticatedSession Viewset
|
|
1029
1091
|
# @param uuid [String]
|
|
1030
1092
|
# @param [Hash] opts the optional parameters
|
|
@@ -3553,6 +3615,10 @@ module Authentik::Api
|
|
|
3553
3615
|
# @option opts [Array<String>] :groups_by_pk
|
|
3554
3616
|
# @option opts [Boolean] :is_active
|
|
3555
3617
|
# @option opts [Boolean] :is_superuser
|
|
3618
|
+
# @option opts [Time] :last_login
|
|
3619
|
+
# @option opts [Time] :last_login__gt
|
|
3620
|
+
# @option opts [Boolean] :last_login__isnull
|
|
3621
|
+
# @option opts [Time] :last_login__lt
|
|
3556
3622
|
# @option opts [Time] :last_updated
|
|
3557
3623
|
# @option opts [Time] :last_updated__gt
|
|
3558
3624
|
# @option opts [Time] :last_updated__lt
|
|
@@ -3583,6 +3649,10 @@ module Authentik::Api
|
|
|
3583
3649
|
# @option opts [Array<String>] :groups_by_pk
|
|
3584
3650
|
# @option opts [Boolean] :is_active
|
|
3585
3651
|
# @option opts [Boolean] :is_superuser
|
|
3652
|
+
# @option opts [Time] :last_login
|
|
3653
|
+
# @option opts [Time] :last_login__gt
|
|
3654
|
+
# @option opts [Boolean] :last_login__isnull
|
|
3655
|
+
# @option opts [Time] :last_login__lt
|
|
3586
3656
|
# @option opts [Time] :last_updated
|
|
3587
3657
|
# @option opts [Time] :last_updated__gt
|
|
3588
3658
|
# @option opts [Time] :last_updated__lt
|
|
@@ -3619,6 +3689,10 @@ module Authentik::Api
|
|
|
3619
3689
|
query_params[:'groups_by_pk'] = @api_client.build_collection_param(opts[:'groups_by_pk'], :multi) if !opts[:'groups_by_pk'].nil?
|
|
3620
3690
|
query_params[:'is_active'] = opts[:'is_active'] if !opts[:'is_active'].nil?
|
|
3621
3691
|
query_params[:'is_superuser'] = opts[:'is_superuser'] if !opts[:'is_superuser'].nil?
|
|
3692
|
+
query_params[:'last_login'] = opts[:'last_login'] if !opts[:'last_login'].nil?
|
|
3693
|
+
query_params[:'last_login__gt'] = opts[:'last_login__gt'] if !opts[:'last_login__gt'].nil?
|
|
3694
|
+
query_params[:'last_login__isnull'] = opts[:'last_login__isnull'] if !opts[:'last_login__isnull'].nil?
|
|
3695
|
+
query_params[:'last_login__lt'] = opts[:'last_login__lt'] if !opts[:'last_login__lt'].nil?
|
|
3622
3696
|
query_params[:'last_updated'] = opts[:'last_updated'] if !opts[:'last_updated'].nil?
|
|
3623
3697
|
query_params[:'last_updated__gt'] = opts[:'last_updated__gt'] if !opts[:'last_updated__gt'].nil?
|
|
3624
3698
|
query_params[:'last_updated__lt'] = opts[:'last_updated__lt'] if !opts[:'last_updated__lt'].nil?
|
|
@@ -3807,6 +3881,10 @@ module Authentik::Api
|
|
|
3807
3881
|
# @option opts [Boolean] :include_roles (default to true)
|
|
3808
3882
|
# @option opts [Boolean] :is_active
|
|
3809
3883
|
# @option opts [Boolean] :is_superuser
|
|
3884
|
+
# @option opts [Time] :last_login
|
|
3885
|
+
# @option opts [Time] :last_login__gt
|
|
3886
|
+
# @option opts [Boolean] :last_login__isnull
|
|
3887
|
+
# @option opts [Time] :last_login__lt
|
|
3810
3888
|
# @option opts [Time] :last_updated
|
|
3811
3889
|
# @option opts [Time] :last_updated__gt
|
|
3812
3890
|
# @option opts [Time] :last_updated__lt
|
|
@@ -3841,6 +3919,10 @@ module Authentik::Api
|
|
|
3841
3919
|
# @option opts [Boolean] :include_roles (default to true)
|
|
3842
3920
|
# @option opts [Boolean] :is_active
|
|
3843
3921
|
# @option opts [Boolean] :is_superuser
|
|
3922
|
+
# @option opts [Time] :last_login
|
|
3923
|
+
# @option opts [Time] :last_login__gt
|
|
3924
|
+
# @option opts [Boolean] :last_login__isnull
|
|
3925
|
+
# @option opts [Time] :last_login__lt
|
|
3844
3926
|
# @option opts [Time] :last_updated
|
|
3845
3927
|
# @option opts [Time] :last_updated__gt
|
|
3846
3928
|
# @option opts [Time] :last_updated__lt
|
|
@@ -3881,6 +3963,10 @@ module Authentik::Api
|
|
|
3881
3963
|
query_params[:'include_roles'] = opts[:'include_roles'] if !opts[:'include_roles'].nil?
|
|
3882
3964
|
query_params[:'is_active'] = opts[:'is_active'] if !opts[:'is_active'].nil?
|
|
3883
3965
|
query_params[:'is_superuser'] = opts[:'is_superuser'] if !opts[:'is_superuser'].nil?
|
|
3966
|
+
query_params[:'last_login'] = opts[:'last_login'] if !opts[:'last_login'].nil?
|
|
3967
|
+
query_params[:'last_login__gt'] = opts[:'last_login__gt'] if !opts[:'last_login__gt'].nil?
|
|
3968
|
+
query_params[:'last_login__isnull'] = opts[:'last_login__isnull'] if !opts[:'last_login__isnull'].nil?
|
|
3969
|
+
query_params[:'last_login__lt'] = opts[:'last_login__lt'] if !opts[:'last_login__lt'].nil?
|
|
3884
3970
|
query_params[:'last_updated'] = opts[:'last_updated'] if !opts[:'last_updated'].nil?
|
|
3885
3971
|
query_params[:'last_updated__gt'] = opts[:'last_updated__gt'] if !opts[:'last_updated__gt'].nil?
|
|
3886
3972
|
query_params[:'last_updated__lt'] = opts[:'last_updated__lt'] if !opts[:'last_updated__lt'].nil?
|
|
@@ -4115,6 +4201,7 @@ module Authentik::Api
|
|
|
4115
4201
|
# Create a temporary link that a user can use to recover their account
|
|
4116
4202
|
# @param id [Integer] A unique integer value identifying this User.
|
|
4117
4203
|
# @param [Hash] opts the optional parameters
|
|
4204
|
+
# @option opts [UserRecoveryLinkRequest] :user_recovery_link_request
|
|
4118
4205
|
# @return [Link]
|
|
4119
4206
|
def core_users_recovery_create(id, opts = {})
|
|
4120
4207
|
data, _status_code, _headers = core_users_recovery_create_with_http_info(id, opts)
|
|
@@ -4124,6 +4211,7 @@ module Authentik::Api
|
|
|
4124
4211
|
# Create a temporary link that a user can use to recover their account
|
|
4125
4212
|
# @param id [Integer] A unique integer value identifying this User.
|
|
4126
4213
|
# @param [Hash] opts the optional parameters
|
|
4214
|
+
# @option opts [UserRecoveryLinkRequest] :user_recovery_link_request
|
|
4127
4215
|
# @return [Array<(Link, Integer, Hash)>] Link data, response status code and response headers
|
|
4128
4216
|
def core_users_recovery_create_with_http_info(id, opts = {})
|
|
4129
4217
|
if @api_client.config.debugging
|
|
@@ -4143,12 +4231,17 @@ module Authentik::Api
|
|
|
4143
4231
|
header_params = opts[:header_params] || {}
|
|
4144
4232
|
# HTTP header 'Accept' (if needed)
|
|
4145
4233
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
4234
|
+
# HTTP header 'Content-Type'
|
|
4235
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
4236
|
+
if !content_type.nil?
|
|
4237
|
+
header_params['Content-Type'] = content_type
|
|
4238
|
+
end
|
|
4146
4239
|
|
|
4147
4240
|
# form parameters
|
|
4148
4241
|
form_params = opts[:form_params] || {}
|
|
4149
4242
|
|
|
4150
4243
|
# http body (model)
|
|
4151
|
-
post_body = opts[:debug_body]
|
|
4244
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'user_recovery_link_request'])
|
|
4152
4245
|
|
|
4153
4246
|
# return_type
|
|
4154
4247
|
return_type = opts[:debug_return_type] || 'Link'
|
|
@@ -4174,49 +4267,53 @@ module Authentik::Api
|
|
|
4174
4267
|
end
|
|
4175
4268
|
|
|
4176
4269
|
# Send an email with a temporary link that a user can use to recover their account
|
|
4177
|
-
# @param email_stage [String]
|
|
4178
4270
|
# @param id [Integer] A unique integer value identifying this User.
|
|
4271
|
+
# @param user_recovery_email_request [UserRecoveryEmailRequest]
|
|
4179
4272
|
# @param [Hash] opts the optional parameters
|
|
4180
4273
|
# @return [nil]
|
|
4181
|
-
def core_users_recovery_email_create(
|
|
4182
|
-
core_users_recovery_email_create_with_http_info(
|
|
4274
|
+
def core_users_recovery_email_create(id, user_recovery_email_request, opts = {})
|
|
4275
|
+
core_users_recovery_email_create_with_http_info(id, user_recovery_email_request, opts)
|
|
4183
4276
|
nil
|
|
4184
4277
|
end
|
|
4185
4278
|
|
|
4186
4279
|
# Send an email with a temporary link that a user can use to recover their account
|
|
4187
|
-
# @param email_stage [String]
|
|
4188
4280
|
# @param id [Integer] A unique integer value identifying this User.
|
|
4281
|
+
# @param user_recovery_email_request [UserRecoveryEmailRequest]
|
|
4189
4282
|
# @param [Hash] opts the optional parameters
|
|
4190
4283
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4191
|
-
def core_users_recovery_email_create_with_http_info(
|
|
4284
|
+
def core_users_recovery_email_create_with_http_info(id, user_recovery_email_request, opts = {})
|
|
4192
4285
|
if @api_client.config.debugging
|
|
4193
4286
|
@api_client.config.logger.debug 'Calling API: CoreApi.core_users_recovery_email_create ...'
|
|
4194
4287
|
end
|
|
4195
|
-
# verify the required parameter 'email_stage' is set
|
|
4196
|
-
if @api_client.config.client_side_validation && email_stage.nil?
|
|
4197
|
-
fail ArgumentError, "Missing the required parameter 'email_stage' when calling CoreApi.core_users_recovery_email_create"
|
|
4198
|
-
end
|
|
4199
4288
|
# verify the required parameter 'id' is set
|
|
4200
4289
|
if @api_client.config.client_side_validation && id.nil?
|
|
4201
4290
|
fail ArgumentError, "Missing the required parameter 'id' when calling CoreApi.core_users_recovery_email_create"
|
|
4202
4291
|
end
|
|
4292
|
+
# verify the required parameter 'user_recovery_email_request' is set
|
|
4293
|
+
if @api_client.config.client_side_validation && user_recovery_email_request.nil?
|
|
4294
|
+
fail ArgumentError, "Missing the required parameter 'user_recovery_email_request' when calling CoreApi.core_users_recovery_email_create"
|
|
4295
|
+
end
|
|
4203
4296
|
# resource path
|
|
4204
4297
|
local_var_path = '/core/users/{id}/recovery_email/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
4205
4298
|
|
|
4206
4299
|
# query parameters
|
|
4207
4300
|
query_params = opts[:query_params] || {}
|
|
4208
|
-
query_params[:'email_stage'] = email_stage
|
|
4209
4301
|
|
|
4210
4302
|
# header parameters
|
|
4211
4303
|
header_params = opts[:header_params] || {}
|
|
4212
4304
|
# HTTP header 'Accept' (if needed)
|
|
4213
4305
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
4306
|
+
# HTTP header 'Content-Type'
|
|
4307
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
4308
|
+
if !content_type.nil?
|
|
4309
|
+
header_params['Content-Type'] = content_type
|
|
4310
|
+
end
|
|
4214
4311
|
|
|
4215
4312
|
# form parameters
|
|
4216
4313
|
form_params = opts[:form_params] || {}
|
|
4217
4314
|
|
|
4218
4315
|
# http body (model)
|
|
4219
|
-
post_body = opts[:debug_body]
|
|
4316
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(user_recovery_email_request)
|
|
4220
4317
|
|
|
4221
4318
|
# return_type
|
|
4222
4319
|
return_type = opts[:debug_return_type]
|
|
@@ -209,7 +209,6 @@ module Authentik::Api
|
|
|
209
209
|
# CertificateKeyPair Viewset
|
|
210
210
|
# @param [Hash] opts the optional parameters
|
|
211
211
|
# @option opts [Boolean] :has_key Only return certificate-key pairs with keys
|
|
212
|
-
# @option opts [Boolean] :include_details (default to true)
|
|
213
212
|
# @option opts [Array<String>] :key_type Filter by key algorithm type (RSA, EC, DSA, etc). Can be specified multiple times (e.g. '?key_type=rsa&key_type=ec')
|
|
214
213
|
# @option opts [String] :managed
|
|
215
214
|
# @option opts [String] :name
|
|
@@ -226,7 +225,6 @@ module Authentik::Api
|
|
|
226
225
|
# CertificateKeyPair Viewset
|
|
227
226
|
# @param [Hash] opts the optional parameters
|
|
228
227
|
# @option opts [Boolean] :has_key Only return certificate-key pairs with keys
|
|
229
|
-
# @option opts [Boolean] :include_details (default to true)
|
|
230
228
|
# @option opts [Array<String>] :key_type Filter by key algorithm type (RSA, EC, DSA, etc). Can be specified multiple times (e.g. '?key_type=rsa&key_type=ec')
|
|
231
229
|
# @option opts [String] :managed
|
|
232
230
|
# @option opts [String] :name
|
|
@@ -249,7 +247,6 @@ module Authentik::Api
|
|
|
249
247
|
# query parameters
|
|
250
248
|
query_params = opts[:query_params] || {}
|
|
251
249
|
query_params[:'has_key'] = opts[:'has_key'] if !opts[:'has_key'].nil?
|
|
252
|
-
query_params[:'include_details'] = opts[:'include_details'] if !opts[:'include_details'].nil?
|
|
253
250
|
query_params[:'key_type'] = @api_client.build_collection_param(opts[:'key_type'], :multi) if !opts[:'key_type'].nil?
|
|
254
251
|
query_params[:'managed'] = opts[:'managed'] if !opts[:'managed'].nil?
|
|
255
252
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|