diff --git a/Cargo.toml b/Cargo.toml index c9f63f0..afe557f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "keycloak" -version = "26.3.202" +version = "26.4.0" authors = ["Alexander Korolev "] edition = "2021" categories = ["api-bindings", "asynchronous"] diff --git a/README.md b/README.md index 81cf838..6366020 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Dual-licensed under `MIT` or the [UNLICENSE](http://unlicense.org/). ## Features -Implements [Keycloak Admin REST API version 26.3.2](https://www.keycloak.org/docs-api/26.3.2/rest-api/index.html). +Implements [Keycloak Admin REST API version 26.4.0](https://www.keycloak.org/docs-api/26.4.0/rest-api/index.html). ### Feature flags @@ -26,7 +26,7 @@ Add dependency to Cargo.toml: ```toml [dependencies] -keycloak = "~26.3" +keycloak = "~26.4" ``` ```rust diff --git a/api/openapi.json b/api/openapi.json index adf2663..5750a93 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -45,6 +45,9 @@ "name" : "Scope Mappings" }, { "name" : "Users" + }, { + "name" : "Workflow Steps", + "description" : "Manage steps within workflows" } ], "paths" : { "/admin/realms" : { @@ -478,6 +481,9 @@ "responses" : { "201" : { "description" : "Created" + }, + "409" : { + "description" : "Conflict" } }, "deprecated" : true @@ -715,6 +721,9 @@ "responses" : { "201" : { "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -866,6 +875,9 @@ "responses" : { "201" : { "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -907,6 +919,9 @@ "responses" : { "201" : { "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -973,6 +988,9 @@ "responses" : { "204" : { "description" : "No Content" + }, + "409" : { + "description" : "Conflict" } } }, @@ -1051,6 +1069,9 @@ "responses" : { "201" : { "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -1113,6 +1134,9 @@ "responses" : { "204" : { "description" : "No Content" + }, + "409" : { + "description" : "Conflict" } } }, @@ -1983,8 +2007,11 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "201" : { + "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -2767,8 +2794,11 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "201" : { + "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -3432,6 +3462,9 @@ "responses" : { "201" : { "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -3556,8 +3589,14 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "204" : { + "description" : "No Content" + }, + "400" : { + "description" : "Bad Request" + }, + "409" : { + "description" : "Conflict" } } }, @@ -6541,8 +6580,11 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "201" : { + "description" : "Created" + }, + "409" : { + "description" : "Conflict" } } }, @@ -6846,6 +6888,9 @@ "404" : { "description" : "Not Found" }, + "409" : { + "description" : "Conflict" + }, "500" : { "description" : "Internal Server Error" } @@ -8789,6 +8834,12 @@ }, "204" : { "description" : "No Content" + }, + "400" : { + "description" : "Bad Request" + }, + "409" : { + "description" : "Conflict" } } }, @@ -8876,8 +8927,14 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "204" : { + "description" : "No Content" + }, + "400" : { + "description" : "Bad Request" + }, + "409" : { + "description" : "Conflict" } } }, @@ -8989,8 +9046,17 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "201" : { + "description" : "Created" + }, + "204" : { + "description" : "No Content" + }, + "400" : { + "description" : "Bad Request" + }, + "409" : { + "description" : "Conflict" } } }, @@ -9661,8 +9727,14 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "201" : { + "description" : "Created" + }, + "400" : { + "description" : "Bad Request" + }, + "409" : { + "description" : "Conflict" } } }, @@ -9706,8 +9778,14 @@ } }, "responses" : { - "200" : { - "description" : "OK" + "204" : { + "description" : "No Content" + }, + "400" : { + "description" : "Bad Request" + }, + "409" : { + "description" : "Conflict" } } }, @@ -11360,6 +11438,9 @@ "404" : { "description" : "Not Found" }, + "409" : { + "description" : "Conflict" + }, "500" : { "description" : "Internal Server Error" } @@ -12615,13 +12696,14 @@ "parameters" : [ { "name" : "email", "in" : "query", - "description" : "email filter", + "description" : "A String contained in email, or the complete email, if param \"exact\" is true", "schema" : { "type" : "string" } }, { "name" : "emailVerified", "in" : "query", + "description" : "whether the email has been verified", "schema" : { "type" : "boolean" } @@ -12632,37 +12714,59 @@ "schema" : { "type" : "boolean" } + }, { + "name" : "exact", + "in" : "query", + "description" : "Boolean which defines whether the params \"last\", \"first\", \"email\" and \"username\" must match exactly", + "schema" : { + "type" : "boolean" + } }, { "name" : "firstName", "in" : "query", - "description" : "first name filter", + "description" : "A String contained in firstName, or the complete firstName, if param \"exact\" is true", + "schema" : { + "type" : "string" + } + }, { + "name" : "idpAlias", + "in" : "query", + "description" : "The alias of an Identity Provider linked to the user", + "schema" : { + "type" : "string" + } + }, { + "name" : "idpUserId", + "in" : "query", + "description" : "The userId at an Identity Provider linked to the user", "schema" : { "type" : "string" } }, { "name" : "lastName", "in" : "query", - "description" : "last name filter", + "description" : "A String contained in lastName, or the complete lastName, if param \"exact\" is true", "schema" : { "type" : "string" } }, { "name" : "q", "in" : "query", + "description" : "A query to search for custom attributes, in the format 'key1:value2 key2:value2'", "schema" : { "type" : "string" } }, { "name" : "search", "in" : "query", - "description" : "arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and \"foo\" for exact search.", + "description" : "A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and \"foo\" for exact search.", "schema" : { "type" : "string" } }, { "name" : "username", "in" : "query", - "description" : "username filter", + "description" : "A String contained in username, or the complete username, if param \"exact\" is true", "schema" : { "type" : "string" } @@ -13394,6 +13498,15 @@ "type" : "string" } } ], + "requestBody" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/FederatedIdentityRepresentation" + } + } + } + }, "responses" : { "204" : { "description" : "No Content" @@ -15708,6 +15821,12 @@ "$ref" : "#/components/schemas/ConfigPropertyRepresentation" } }, + "clientProperties" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/ConfigPropertyRepresentation" + } + }, "metadata" : { "type" : "object", "additionalProperties" : { } @@ -16408,7 +16527,7 @@ } }, "KeyUse" : { - "enum" : [ "SIG", "ENC" ], + "enum" : [ "SIG", "ENC", "JWT_SVID" ], "type" : "string" }, "KeysMetadataRepresentation" : { @@ -17949,14 +18068,6 @@ "$ref" : "#/components/schemas/ClientTemplateRepresentation" }, "deprecated" : true - }, - "oAuth2DeviceCodeLifespan" : { - "format" : "int32", - "type" : "integer" - }, - "oAuth2DevicePollingInterval" : { - "format" : "int32", - "type" : "integer" } } }, @@ -18335,6 +18446,9 @@ }, "multivalued" : { "type" : "boolean" + }, + "defaultValue" : { + "type" : "string" } } }, @@ -18570,6 +18684,9 @@ }, "multivalued" : { "type" : "boolean" + }, + "defaultValue" : { + "type" : "string" } } }, @@ -18762,6 +18879,114 @@ "type" : "boolean" } } + }, + "WorkflowConditionRepresentation" : { + "type" : "object", + "properties" : { + "uses" : { + "type" : "string" + }, + "id" : { + "type" : "string" + }, + "config" : { + "$ref" : "#/components/schemas/MultivaluedHashMapStringString" + } + } + }, + "WorkflowRepresentation" : { + "type" : "object", + "properties" : { + "id" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "uses" : { + "type" : "string" + }, + "enabled" : { + "type" : "boolean" + }, + "on" : { }, + "reset-on" : { }, + "recurring" : { + "type" : "boolean" + }, + "if" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/WorkflowConditionRepresentation" + } + }, + "steps" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/WorkflowStepRepresentation" + } + }, + "state" : { + "$ref" : "#/components/schemas/WorkflowStateRepresentation" + }, + "with" : { + "$ref" : "#/components/schemas/MultivaluedHashMapStringString" + }, + "onValues" : { + "type" : "array", + "items" : { + "type" : "string" + } + }, + "onEventsReset" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } + }, + "WorkflowSetRepresentation" : { + "type" : "object", + "properties" : { + "workflows" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/WorkflowRepresentation" + } + } + } + }, + "WorkflowStateRepresentation" : { + "type" : "object", + "properties" : { + "errors" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } + }, + "WorkflowStepRepresentation" : { + "type" : "object", + "properties" : { + "id" : { + "type" : "string" + }, + "uses" : { + "type" : "string" + }, + "after" : { + "type" : "string" + }, + "priority" : { + "type" : "string" + }, + "config" : { + "$ref" : "#/components/schemas/MultivaluedHashMapStringString" + } + } } } } diff --git a/src/lib.rs b/src/lib.rs index 2e3d392..0f67c05 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,7 +7,7 @@ Dual-licensed under `MIT` or the [UNLICENSE](http://unlicense.org/). ## Features -Implements [Keycloak Admin REST API version 26.3.2](https://www.keycloak.org/docs-api/26.3.2/rest-api/index.html). +Implements [Keycloak Admin REST API version 26.4.0](https://www.keycloak.org/docs-api/26.4.0/rest-api/index.html). ### Feature flags @@ -27,7 +27,7 @@ Add dependency to Cargo.toml: ```toml [dependencies] -keycloak = "~26.3" +keycloak = "~26.4" ``` ```rust, no_run diff --git a/src/resource/attack_detection.rs b/src/resource/attack_detection.rs index 1ab0167..90352b5 100644 --- a/src/resource/attack_detection.rs +++ b/src/resource/attack_detection.rs @@ -14,7 +14,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/attack-detection/brute-force/users` /// - /// Documentation: + /// Documentation: pub fn attack_detection_brute_force_users_delete( &'a self, ) -> impl Future> + use<'a, TS> { @@ -33,7 +33,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/attack-detection/brute-force/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/attack-detection/brute-force/users/{userId}` pub fn attack_detection_brute_force_users_with_user_id_get( @@ -57,7 +57,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/attack-detection/brute-force/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/attack-detection/brute-force/users/{userId}` pub fn attack_detection_brute_force_users_with_user_id_delete( diff --git a/src/resource/authentication_management.rs b/src/resource/authentication_management.rs index 065bd9c..3308e7e 100644 --- a/src/resource/authentication_management.rs +++ b/src/resource/authentication_management.rs @@ -12,7 +12,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/authenticator-providers` /// - /// Documentation: + /// Documentation: pub fn authentication_authenticator_providers_get( &'a self, ) -> impl Future>, KeycloakError>> + use<'a, TS> @@ -31,7 +31,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/client-authenticator-providers` /// - /// Documentation: + /// Documentation: pub fn authentication_client_authenticator_providers_get( &'a self, ) -> impl Future>, KeycloakError>> + use<'a, TS> @@ -53,7 +53,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/config` /// - /// Documentation: + /// Documentation: #[deprecated] pub fn authentication_config_post( &'a self, @@ -74,7 +74,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/config-description/{provider_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/config-description/{providerId}` pub fn authentication_config_description_with_provider_id_get( @@ -97,7 +97,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: pub fn authentication_config_with_id_get( &'a self, id: &'a str, @@ -121,7 +121,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: pub fn authentication_config_with_id_put( &'a self, id: &'a str, @@ -144,7 +144,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: pub fn authentication_config_with_id_delete( &'a self, id: &'a str, @@ -166,7 +166,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/executions` /// - /// Documentation: + /// Documentation: pub fn authentication_executions_post( &'a self, body: AuthenticationExecutionRepresentation, @@ -186,7 +186,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/executions/{execution_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/executions/{executionId}` pub fn authentication_executions_with_execution_id_get( @@ -211,7 +211,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/authentication/executions/{execution_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/authentication/executions/{executionId}` pub fn authentication_executions_with_execution_id_delete( @@ -236,7 +236,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/config` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/config` pub fn authentication_executions_with_execution_id_config_post( @@ -264,7 +264,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/executions/{execution_id}/config/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/executions/{executionId}/config/{id}` #[deprecated] @@ -295,7 +295,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/lower-priority` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/lower-priority` pub fn authentication_executions_with_execution_id_lower_priority_post( @@ -322,7 +322,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/raise-priority` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/raise-priority` pub fn authentication_executions_with_execution_id_raise_priority_post( @@ -346,7 +346,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/flows` /// - /// Documentation: + /// Documentation: pub fn authentication_flows_get( &'a self, ) -> impl Future, KeycloakError>> @@ -367,7 +367,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/flows` /// - /// Documentation: + /// Documentation: pub fn authentication_flows_post( &'a self, body: AuthenticationFlowRepresentation, @@ -389,7 +389,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/copy` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/copy` pub fn authentication_flows_with_flow_alias_copy_post( @@ -412,7 +412,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/flows/{flow_alias}/executions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/flows/{flowAlias}/executions` pub fn authentication_flows_with_flow_alias_executions_get( @@ -439,7 +439,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/authentication/flows/{flow_alias}/executions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/authentication/flows/{flowAlias}/executions` pub fn authentication_flows_with_flow_alias_executions_put( @@ -465,7 +465,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/executions/execution` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution` pub fn authentication_flows_with_flow_alias_executions_execution_post( @@ -493,7 +493,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/executions/flow` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow` pub fn authentication_flows_with_flow_alias_executions_flow_post( @@ -518,7 +518,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: pub fn authentication_flows_with_id_get( &'a self, id: &'a str, @@ -542,7 +542,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: pub fn authentication_flows_with_id_put( &'a self, id: &'a str, @@ -565,7 +565,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: pub fn authentication_flows_with_id_delete( &'a self, id: &'a str, @@ -584,7 +584,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/form-action-providers` /// - /// Documentation: + /// Documentation: pub fn authentication_form_action_providers_get( &'a self, ) -> impl Future>, KeycloakError>> + use<'a, TS> @@ -603,7 +603,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/form-providers` /// - /// Documentation: + /// Documentation: pub fn authentication_form_providers_get( &'a self, ) -> impl Future>, KeycloakError>> + use<'a, TS> @@ -622,7 +622,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/per-client-config-description` /// - /// Documentation: + /// Documentation: pub fn authentication_per_client_config_description_get( &'a self, ) -> impl Future< @@ -645,7 +645,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/register-required-action` /// - /// Documentation: + /// Documentation: pub fn authentication_register_required_action_post( &'a self, body: RequiredActionProviderRepresentation, @@ -664,7 +664,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/required-actions` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_get( &'a self, ) -> impl Future, KeycloakError>> @@ -684,7 +684,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_get( &'a self, alias: &'a str, @@ -708,7 +708,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_put( &'a self, alias: &'a str, @@ -731,7 +731,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_delete( &'a self, alias: &'a str, @@ -751,7 +751,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_config_get( &'a self, alias: &'a str, @@ -775,7 +775,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_config_put( &'a self, alias: &'a str, @@ -798,7 +798,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_config_delete( &'a self, alias: &'a str, @@ -818,7 +818,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}/config-description` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_config_description_get( &'a self, alias: &'a str, @@ -843,7 +843,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_lower_priority_post( &'a self, alias: &'a str, @@ -865,7 +865,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority` /// - /// Documentation: + /// Documentation: pub fn authentication_required_actions_with_alias_raise_priority_post( &'a self, alias: &'a str, @@ -884,7 +884,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/authentication/unregistered-required-actions` /// - /// Documentation: + /// Documentation: pub fn authentication_unregistered_required_actions_get( &'a self, ) -> impl Future, KeycloakError>> diff --git a/src/resource/client_attribute_certificate.rs b/src/resource/client_attribute_certificate.rs index 13a2185..678103d 100644 --- a/src/resource/client_attribute_certificate.rs +++ b/src/resource/client_attribute_certificate.rs @@ -14,7 +14,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}` pub fn clients_with_client_uuid_certificates_with_attr_get( @@ -43,7 +43,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/download` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/download` pub fn clients_with_client_uuid_certificates_with_attr_download_post( @@ -73,7 +73,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/generate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate` pub fn clients_with_client_uuid_certificates_with_attr_generate_post( @@ -105,7 +105,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/generate-and-download` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate-and-download` pub fn clients_with_client_uuid_certificates_with_attr_generate_and_download_post( @@ -135,7 +135,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/upload` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload` pub fn clients_with_client_uuid_certificates_with_attr_upload_post( @@ -163,7 +163,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/upload-certificate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload-certificate` pub fn clients_with_client_uuid_certificates_with_attr_upload_certificate_post( diff --git a/src/resource/client_initial_access.rs b/src/resource/client_initial_access.rs index 01bfef7..5b4b44f 100644 --- a/src/resource/client_initial_access.rs +++ b/src/resource/client_initial_access.rs @@ -10,7 +10,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients-initial-access` /// - /// Documentation: + /// Documentation: pub fn clients_initial_access_get( &'a self, ) -> impl Future, KeycloakError>> @@ -29,7 +29,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients-initial-access` /// - /// Documentation: + /// Documentation: pub fn clients_initial_access_post( &'a self, body: ClientInitialAccessCreatePresentation, @@ -50,7 +50,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients-initial-access/{id}` /// - /// Documentation: + /// Documentation: pub fn clients_initial_access_with_id_delete( &'a self, id: &'a str, diff --git a/src/resource/client_registration_policy.rs b/src/resource/client_registration_policy.rs index ed5e3a3..840dec9 100644 --- a/src/resource/client_registration_policy.rs +++ b/src/resource/client_registration_policy.rs @@ -12,7 +12,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-registration-policy/providers` /// - /// Documentation: + /// Documentation: pub fn client_registration_policy_providers_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> diff --git a/src/resource/client_role_mappings.rs b/src/resource/client_role_mappings.rs index ee6b855..f1efcf6 100644 --- a/src/resource/client_role_mappings.rs +++ b/src/resource/client_role_mappings.rs @@ -14,7 +14,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}` pub fn groups_with_group_id_role_mappings_clients_with_client_id_get( @@ -44,7 +44,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}` pub fn groups_with_group_id_role_mappings_clients_with_client_id_post( @@ -74,7 +74,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}` pub fn groups_with_group_id_role_mappings_clients_with_client_id_delete( @@ -101,7 +101,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/available` pub fn groups_with_group_id_role_mappings_clients_with_client_id_available_get( @@ -129,7 +129,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/composite` pub fn groups_with_group_id_role_mappings_clients_with_client_id_composite_get( @@ -156,7 +156,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}` pub fn users_with_user_id_role_mappings_clients_with_client_id_get( @@ -186,7 +186,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}` pub fn users_with_user_id_role_mappings_clients_with_client_id_post( @@ -216,7 +216,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}` pub fn users_with_user_id_role_mappings_clients_with_client_id_delete( @@ -243,7 +243,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/available` pub fn users_with_user_id_role_mappings_clients_with_client_id_available_get( @@ -271,7 +271,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/composite` pub fn users_with_user_id_role_mappings_clients_with_client_id_composite_get( diff --git a/src/resource/client_scopes.rs b/src/resource/client_scopes.rs index feb6457..dd4b3f9 100644 --- a/src/resource/client_scopes.rs +++ b/src/resource/client_scopes.rs @@ -12,7 +12,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes` /// - /// Documentation: + /// Documentation: pub fn client_scopes_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> @@ -33,7 +33,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-scopes` /// - /// Documentation: + /// Documentation: pub fn client_scopes_post( &'a self, body: ClientScopeRepresentation, @@ -52,7 +52,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}` pub fn client_scopes_with_client_scope_id_get( @@ -77,7 +77,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-scopes/{client-scope-id}` pub fn client_scopes_with_client_scope_id_put( @@ -102,7 +102,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}` pub fn client_scopes_with_client_scope_id_delete( @@ -123,7 +123,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates` /// - /// Documentation: + /// Documentation: pub fn client_templates_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> @@ -144,7 +144,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-templates` /// - /// Documentation: + /// Documentation: pub fn client_templates_post( &'a self, body: ClientScopeRepresentation, @@ -163,7 +163,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}` pub fn client_templates_with_client_scope_id_get( @@ -188,7 +188,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-templates/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-templates/{client-scope-id}` pub fn client_templates_with_client_scope_id_put( @@ -216,7 +216,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}` pub fn client_templates_with_client_scope_id_delete( diff --git a/src/resource/clients.rs b/src/resource/clients.rs index c55a52f..dda3d9f 100644 --- a/src/resource/clients.rs +++ b/src/resource/clients.rs @@ -18,7 +18,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients` /// - /// Documentation: + /// Documentation: pub fn clients_get(&'a self) -> RealmClientsGet<'a, TS> { RealmClientsGet { realm_admin: self } } @@ -36,7 +36,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients` /// - /// Documentation: + /// Documentation: pub fn clients_post( &'a self, body: ClientRepresentation, @@ -55,7 +55,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}` pub fn clients_with_client_uuid_get( @@ -80,7 +80,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}` pub fn clients_with_client_uuid_put( @@ -105,7 +105,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}` pub fn clients_with_client_uuid_delete( @@ -127,7 +127,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/client-secret` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/client-secret` pub fn clients_with_client_uuid_client_secret_get( @@ -149,7 +149,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/client-secret` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/client-secret` pub fn clients_with_client_uuid_client_secret_post( @@ -171,7 +171,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/client-secret/rotated` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated` pub fn clients_with_client_uuid_client_secret_rotated_get( @@ -195,7 +195,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/client-secret/rotated` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated` pub fn clients_with_client_uuid_client_secret_rotated_delete( @@ -217,7 +217,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/default-client-scopes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes` pub fn clients_with_client_uuid_default_client_scopes_get( @@ -241,7 +241,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}` pub fn clients_with_client_uuid_default_client_scopes_with_client_scope_id_put( @@ -269,7 +269,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}` pub fn clients_with_client_uuid_default_client_scopes_with_client_scope_id_delete( @@ -299,7 +299,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/generate-example-access-token` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-access-token` pub fn clients_with_client_uuid_evaluate_scopes_generate_example_access_token_get( @@ -326,7 +326,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/generate-example-id-token` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-id-token` pub fn clients_with_client_uuid_evaluate_scopes_generate_example_id_token_get( @@ -352,7 +352,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/generate-example-userinfo` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-userinfo` pub fn clients_with_client_uuid_evaluate_scopes_generate_example_userinfo_get( @@ -377,7 +377,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/protocol-mappers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/protocol-mappers` pub fn clients_with_client_uuid_evaluate_scopes_protocol_mappers_get( @@ -403,7 +403,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/scope-mappings/{role_container_id}/granted` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/granted` pub fn clients_with_client_uuid_evaluate_scopes_scope_mappings_with_role_container_id_granted_get( @@ -432,7 +432,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/scope-mappings/{role_container_id}/not-granted` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/not-granted` pub fn clients_with_client_uuid_evaluate_scopes_scope_mappings_with_role_container_id_not_granted_get( @@ -460,7 +460,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/installation/providers/{provider_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/installation/providers/{providerId}` pub fn clients_with_client_uuid_installation_providers_with_provider_id_get( @@ -487,7 +487,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/management/permissions` pub fn clients_with_client_uuid_management_permissions_get( @@ -511,7 +511,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/management/permissions` pub fn clients_with_client_uuid_management_permissions_put( @@ -542,7 +542,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/nodes` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/nodes` pub fn clients_with_client_uuid_nodes_post( @@ -568,7 +568,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/nodes/{node}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/nodes/{node}` pub fn clients_with_client_uuid_nodes_with_node_delete( @@ -591,7 +591,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/offline-session-count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/offline-session-count` pub fn clients_with_client_uuid_offline_session_count_get( @@ -615,7 +615,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/offline-sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/offline-sessions` pub fn clients_with_client_uuid_offline_sessions_get( @@ -639,7 +639,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/optional-client-scopes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes` pub fn clients_with_client_uuid_optional_client_scopes_get( @@ -663,7 +663,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}` pub fn clients_with_client_uuid_optional_client_scopes_with_client_scope_id_put( @@ -691,7 +691,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}` pub fn clients_with_client_uuid_optional_client_scopes_with_client_scope_id_delete( @@ -718,7 +718,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/push-revocation` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/push-revocation` pub fn clients_with_client_uuid_push_revocation_post( @@ -740,7 +740,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/registration-access-token` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/registration-access-token` pub fn clients_with_client_uuid_registration_access_token_post( @@ -762,7 +762,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/service-account-user` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/service-account-user` pub fn clients_with_client_uuid_service_account_user_get( @@ -784,7 +784,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/session-count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/session-count` pub fn clients_with_client_uuid_session_count_get( @@ -806,7 +806,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/test-nodes-available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/test-nodes-available` pub fn clients_with_client_uuid_test_nodes_available_get( @@ -830,7 +830,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/user-sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/user-sessions` pub fn clients_with_client_uuid_user_sessions_get( diff --git a/src/resource/component.rs b/src/resource/component.rs index 264bb50..3e471d5 100644 --- a/src/resource/component.rs +++ b/src/resource/component.rs @@ -13,7 +13,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/components` /// - /// Documentation: + /// Documentation: pub fn components_get(&'a self) -> RealmComponentsGet<'a, TS> { RealmComponentsGet { realm_admin: self } } @@ -29,7 +29,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/components` /// - /// Documentation: + /// Documentation: pub fn components_post( &'a self, body: ComponentRepresentation, @@ -46,7 +46,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: pub fn components_with_id_get( &'a self, id: &'a str, @@ -66,7 +66,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: pub fn components_with_id_put( &'a self, id: &'a str, @@ -87,7 +87,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: pub fn components_with_id_delete( &'a self, id: &'a str, @@ -107,7 +107,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/components/{id}/sub-component-types` /// - /// Documentation: + /// Documentation: pub fn components_with_id_sub_component_types_get( &'a self, id: &'a str, diff --git a/src/resource/groups.rs b/src/resource/groups.rs index 8dad455..39a99bf 100644 --- a/src/resource/groups.rs +++ b/src/resource/groups.rs @@ -20,7 +20,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups` /// - /// Documentation: + /// Documentation: pub fn groups_get(&'a self) -> RealmGroupsGet<'a, TS> { RealmGroupsGet { realm_admin: self } } @@ -38,7 +38,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/groups` /// - /// Documentation: + /// Documentation: pub fn groups_post( &'a self, body: GroupRepresentation, @@ -58,7 +58,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/count` /// - /// Documentation: + /// Documentation: pub fn groups_count_get(&'a self) -> RealmGroupsCountGet<'a, TS> { RealmGroupsCountGet { realm_admin: self } } @@ -72,7 +72,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}` pub fn groups_with_group_id_get( @@ -97,7 +97,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/groups/{group-id}` pub fn groups_with_group_id_put( @@ -120,7 +120,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}` pub fn groups_with_group_id_delete( @@ -148,7 +148,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/children` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/children` pub fn groups_with_group_id_children_get( @@ -175,7 +175,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/groups/{group_id}/children` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/children` pub fn groups_with_group_id_children_post( @@ -198,7 +198,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/management/permissions` pub fn groups_with_group_id_management_permissions_get( @@ -222,7 +222,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/groups/{group_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/groups/{group-id}/management/permissions` pub fn groups_with_group_id_management_permissions_put( @@ -249,7 +249,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/members` pub fn groups_with_group_id_members_get( diff --git a/src/resource/identity_providers.rs b/src/resource/identity_providers.rs index eac2b35..f85fe01 100644 --- a/src/resource/identity_providers.rs +++ b/src/resource/identity_providers.rs @@ -13,7 +13,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/identity-provider/import-config` /// - /// Documentation: + /// Documentation: pub fn identity_provider_import_config_post( &'a self, body: TypeMap, @@ -38,7 +38,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_get(&'a self) -> RealmIdentityProviderInstancesGet<'a, TS> { RealmIdentityProviderInstancesGet { realm_admin: self } } @@ -56,7 +56,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/identity-provider/instances` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_post( &'a self, body: IdentityProviderRepresentation, @@ -76,7 +76,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_get( &'a self, alias: &'a str, @@ -100,7 +100,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_put( &'a self, alias: &'a str, @@ -123,7 +123,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_delete( &'a self, alias: &'a str, @@ -146,7 +146,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/export` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_export_get( &'a self, alias: &'a str, @@ -168,7 +168,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_management_permissions_get( &'a self, alias: &'a str, @@ -192,7 +192,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_management_permissions_put( &'a self, alias: &'a str, @@ -216,7 +216,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mapper-types` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_mapper_types_get( &'a self, alias: &'a str, @@ -238,7 +238,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_mappers_get( &'a self, alias: &'a str, @@ -262,7 +262,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/identity-provider/instances/{alias}/mappers` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_mappers_post( &'a self, alias: &'a str, @@ -284,7 +284,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_mappers_with_id_get( &'a self, alias: &'a str, @@ -310,7 +310,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_mappers_with_id_put( &'a self, alias: &'a str, @@ -337,7 +337,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_mappers_with_id_delete( &'a self, alias: &'a str, @@ -360,7 +360,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/reload-keys` /// - /// Documentation: + /// Documentation: pub fn identity_provider_instances_with_alias_reload_keys_get( &'a self, alias: &'a str, @@ -380,7 +380,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/identity-provider/providers/{provider_id}` /// - /// Documentation: + /// Documentation: pub fn identity_provider_providers_with_provider_id_get( &'a self, provider_id: &'a str, diff --git a/src/resource/key.rs b/src/resource/key.rs index c232c26..01dc544 100644 --- a/src/resource/key.rs +++ b/src/resource/key.rs @@ -10,7 +10,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/keys` /// - /// Documentation: + /// Documentation: pub fn keys_get( &'a self, ) -> impl Future> + use<'a, TS> { diff --git a/src/resource/mod.rs b/src/resource/mod.rs index c35de5d..119adee 100644 --- a/src/resource/mod.rs +++ b/src/resource/mod.rs @@ -73,3 +73,6 @@ pub mod scope_mappings; /// Users #[cfg(feature = "tag-users")] pub mod users; +/// Workflow Steps +#[cfg(feature = "tag-workflow-steps")] +pub mod workflow_steps; diff --git a/src/resource/organizations.rs b/src/resource/organizations.rs index 9fe969a..95e0151 100644 --- a/src/resource/organizations.rs +++ b/src/resource/organizations.rs @@ -18,7 +18,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations` /// - /// Documentation: + /// Documentation: pub fn organizations_get(&'a self) -> RealmOrganizationsGet<'a, TS> { RealmOrganizationsGet { realm_admin: self } } @@ -36,7 +36,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/organizations` /// - /// Documentation: + /// Documentation: pub fn organizations_post( &'a self, body: OrganizationRepresentation, @@ -57,7 +57,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/count` /// - /// Documentation: + /// Documentation: pub fn organizations_count_get(&'a self) -> RealmOrganizationsCountGet<'a, TS> { RealmOrganizationsCountGet { realm_admin: self } } @@ -74,7 +74,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/members/{member_id}/organizations` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/members/{member-id}/organizations` pub fn organizations_members_with_member_id_organizations_get( @@ -98,7 +98,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}` pub fn organizations_with_org_id_get( @@ -123,7 +123,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/organizations/{org_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/organizations/{org-id}` pub fn organizations_with_org_id_put( @@ -148,7 +148,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/organizations/{org_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/organizations/{org-id}` pub fn organizations_with_org_id_delete( @@ -170,7 +170,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/identity-providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/identity-providers` pub fn organizations_with_org_id_identity_providers_get( @@ -196,7 +196,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/identity-providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/identity-providers` pub fn organizations_with_org_id_identity_providers_post( @@ -220,7 +220,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/identity-providers/{alias}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}` pub fn organizations_with_org_id_identity_providers_with_alias_get( @@ -249,7 +249,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/organizations/{org_id}/identity-providers/{alias}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}` pub fn organizations_with_org_id_identity_providers_with_alias_delete( @@ -279,7 +279,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members` pub fn organizations_with_org_id_members_get( @@ -306,7 +306,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/members` pub fn organizations_with_org_id_members_post( @@ -329,7 +329,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members/count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members/count` pub fn organizations_with_org_id_members_count_get( @@ -354,7 +354,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/members/invite-existing-user` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user` pub fn organizations_with_org_id_members_invite_existing_user_post( @@ -382,7 +382,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/members/invite-user` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/members/invite-user` pub fn organizations_with_org_id_members_invite_user_post( @@ -406,7 +406,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members/{member_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id}` pub fn organizations_with_org_id_members_with_member_id_get( @@ -434,7 +434,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/organizations/{org_id}/members/{member_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/organizations/{org-id}/members/{member-id}` pub fn organizations_with_org_id_members_with_member_id_delete( @@ -461,7 +461,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members/{member_id}/organizations` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations` pub fn organizations_with_org_id_members_with_member_id_organizations_get( diff --git a/src/resource/other_methods.rs b/src/resource/other_methods.rs index f3b5380..59b2e17 100644 --- a/src/resource/other_methods.rs +++ b/src/resource/other_methods.rs @@ -9,7 +9,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server` pub fn clients_with_client_uuid_authz_resource_server_get( @@ -31,7 +31,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server` pub fn clients_with_client_uuid_authz_resource_server_put( @@ -53,7 +53,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/import` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/import` pub fn clients_with_client_uuid_authz_resource_server_import_post( @@ -87,7 +87,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission` pub fn clients_with_client_uuid_authz_resource_server_permission_get( @@ -110,7 +110,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission` pub fn clients_with_client_uuid_authz_resource_server_permission_post( @@ -134,7 +134,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission/evaluate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/evaluate` pub fn clients_with_client_uuid_authz_resource_server_permission_evaluate_post( @@ -157,7 +157,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission/providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/providers` pub fn clients_with_client_uuid_authz_resource_server_permission_providers_get( @@ -181,7 +181,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/search` pub fn clients_with_client_uuid_authz_resource_server_permission_search_get( @@ -212,7 +212,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy` pub fn clients_with_client_uuid_authz_resource_server_policy_get( @@ -235,7 +235,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy` pub fn clients_with_client_uuid_authz_resource_server_policy_post( @@ -259,7 +259,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy/evaluate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/evaluate` pub fn clients_with_client_uuid_authz_resource_server_policy_evaluate_post( @@ -282,7 +282,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy/providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/providers` pub fn clients_with_client_uuid_authz_resource_server_policy_providers_get( @@ -306,7 +306,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/search` pub fn clients_with_client_uuid_authz_resource_server_policy_search_get( @@ -337,7 +337,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource` pub fn clients_with_client_uuid_authz_resource_server_resource_get( @@ -369,7 +369,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource` pub fn clients_with_client_uuid_authz_resource_server_resource_post( @@ -402,7 +402,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/search` pub fn clients_with_client_uuid_authz_resource_server_resource_search_get( @@ -434,7 +434,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}` pub fn clients_with_client_uuid_authz_resource_server_resource_with_resource_id_get( @@ -471,7 +471,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}` pub fn clients_with_client_uuid_authz_resource_server_resource_with_resource_id_put( @@ -509,7 +509,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}` pub fn clients_with_client_uuid_authz_resource_server_resource_with_resource_id_delete( @@ -545,7 +545,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}/attributes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/attributes` pub fn clients_with_client_uuid_authz_resource_server_resource_with_resource_id_attributes_get( @@ -580,7 +580,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/permissions` pub fn clients_with_client_uuid_authz_resource_server_resource_with_resource_id_permissions_get( @@ -615,7 +615,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}/scopes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/scopes` pub fn clients_with_client_uuid_authz_resource_server_resource_with_resource_id_scopes_get( @@ -641,7 +641,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope` pub fn clients_with_client_uuid_authz_resource_server_scope_get( @@ -664,7 +664,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope` pub fn clients_with_client_uuid_authz_resource_server_scope_post( @@ -688,7 +688,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/search` pub fn clients_with_client_uuid_authz_resource_server_scope_search_get( @@ -709,7 +709,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}` pub fn clients_with_client_uuid_authz_resource_server_scope_with_scope_id_get( @@ -736,7 +736,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}` pub fn clients_with_client_uuid_authz_resource_server_scope_with_scope_id_put( @@ -764,7 +764,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}` pub fn clients_with_client_uuid_authz_resource_server_scope_with_scope_id_delete( @@ -788,7 +788,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/permissions` pub fn clients_with_client_uuid_authz_resource_server_scope_with_scope_id_permissions_get( @@ -813,7 +813,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}/resources` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/resources` pub fn clients_with_client_uuid_authz_resource_server_scope_with_scope_id_resources_get( @@ -837,7 +837,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/settings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/settings` pub fn clients_with_client_uuid_authz_resource_server_settings_get( diff --git a/src/resource/protocol_mappers.rs b/src/resource/protocol_mappers.rs index 46d254f..e8fde46 100644 --- a/src/resource/protocol_mappers.rs +++ b/src/resource/protocol_mappers.rs @@ -16,7 +16,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/add-models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models` pub fn client_scopes_with_client_scope_id_protocol_mappers_add_models_post( @@ -43,7 +43,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models` pub fn client_scopes_with_client_scope_id_protocol_mappers_models_get( @@ -72,7 +72,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models` pub fn client_scopes_with_client_scope_id_protocol_mappers_models_post( @@ -100,7 +100,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}` pub fn client_scopes_with_client_scope_id_protocol_mappers_models_with_id_get( @@ -132,7 +132,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}` pub fn client_scopes_with_client_scope_id_protocol_mappers_models_with_id_put( @@ -164,7 +164,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}` pub fn client_scopes_with_client_scope_id_protocol_mappers_models_with_id_delete( @@ -192,7 +192,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/protocol/{protocol}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol}` pub fn client_scopes_with_client_scope_id_protocol_mappers_protocol_with_protocol_get( @@ -223,7 +223,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/add-models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models` pub fn client_templates_with_client_scope_id_protocol_mappers_add_models_post( @@ -250,7 +250,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models` pub fn client_templates_with_client_scope_id_protocol_mappers_models_get( @@ -279,7 +279,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models` pub fn client_templates_with_client_scope_id_protocol_mappers_models_post( @@ -307,7 +307,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}` pub fn client_templates_with_client_scope_id_protocol_mappers_models_with_id_get( @@ -339,7 +339,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}` pub fn client_templates_with_client_scope_id_protocol_mappers_models_with_id_put( @@ -371,7 +371,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}` pub fn client_templates_with_client_scope_id_protocol_mappers_models_with_id_delete( @@ -399,7 +399,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/protocol/{protocol}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol}` pub fn client_templates_with_client_scope_id_protocol_mappers_protocol_with_protocol_get( @@ -430,7 +430,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/add-models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models` pub fn clients_with_client_uuid_protocol_mappers_add_models_post( @@ -457,7 +457,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models` pub fn clients_with_client_uuid_protocol_mappers_models_get( @@ -483,7 +483,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models` pub fn clients_with_client_uuid_protocol_mappers_models_post( @@ -511,7 +511,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}` pub fn clients_with_client_uuid_protocol_mappers_models_with_id_get( @@ -543,7 +543,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}` pub fn clients_with_client_uuid_protocol_mappers_models_with_id_put( @@ -575,7 +575,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}` pub fn clients_with_client_uuid_protocol_mappers_models_with_id_delete( @@ -603,7 +603,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/protocol/{protocol}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/protocol/{protocol}` pub fn clients_with_client_uuid_protocol_mappers_protocol_with_protocol_get( diff --git a/src/resource/realms_admin.rs b/src/resource/realms_admin.rs index 8ce29f5..5a870ff 100644 --- a/src/resource/realms_admin.rs +++ b/src/resource/realms_admin.rs @@ -12,7 +12,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: pub fn get( &'a self, ) -> impl Future> + use<'a, TS> { @@ -32,7 +32,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: pub fn put( &'a self, body: RealmRepresentation, @@ -52,7 +52,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: pub fn delete( &'a self, ) -> impl Future> + use<'a, TS> { @@ -81,7 +81,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/admin-events` /// - /// Documentation: + /// Documentation: pub fn admin_events_get(&'a self) -> RealmAdminEventsGet<'a, TS> { RealmAdminEventsGet { realm_admin: self } } @@ -98,7 +98,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/admin-events` /// - /// Documentation: + /// Documentation: pub fn admin_events_delete( &'a self, ) -> impl Future> + use<'a, TS> { @@ -116,7 +116,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-description-converter` /// - /// Documentation: + /// Documentation: pub fn client_description_converter_post( &'a self, body: String, @@ -134,7 +134,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-policies/policies` /// - /// Documentation: + /// Documentation: pub fn client_policies_policies_get(&'a self) -> RealmClientPoliciesPoliciesGet<'a, TS> { RealmClientPoliciesPoliciesGet { realm_admin: self } } @@ -150,7 +150,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-policies/policies` /// - /// Documentation: + /// Documentation: pub fn client_policies_policies_put( &'a self, body: ClientPoliciesRepresentation, @@ -168,7 +168,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-policies/profiles` /// - /// Documentation: + /// Documentation: pub fn client_policies_profiles_get(&'a self) -> RealmClientPoliciesProfilesGet<'a, TS> { RealmClientPoliciesProfilesGet { realm_admin: self } } @@ -184,7 +184,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-policies/profiles` /// - /// Documentation: + /// Documentation: pub fn client_policies_profiles_put( &'a self, body: ClientProfilesRepresentation, @@ -203,7 +203,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-session-stats` /// - /// Documentation: + /// Documentation: pub fn client_session_stats_get( &'a self, ) -> impl Future>, KeycloakError>> + use<'a, TS> @@ -221,7 +221,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-types` /// - /// Documentation: + /// Documentation: pub fn client_types_get( &'a self, ) -> impl Future> + use<'a, TS> { @@ -241,7 +241,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/client-types` /// - /// Documentation: + /// Documentation: pub fn client_types_put( &'a self, body: ClientTypesRepresentation, @@ -257,7 +257,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/credential-registrators` /// - /// Documentation: + /// Documentation: pub fn credential_registrators_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> { @@ -274,7 +274,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/default-default-client-scopes` /// - /// Documentation: + /// Documentation: pub fn default_default_client_scopes_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> @@ -294,7 +294,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/default-default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}` pub fn default_default_client_scopes_with_client_scope_id_put( @@ -319,7 +319,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/default-default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}` pub fn default_default_client_scopes_with_client_scope_id_delete( @@ -343,7 +343,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/default-groups` /// - /// Documentation: + /// Documentation: pub fn default_groups_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> @@ -362,7 +362,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/default-groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-groups/{groupId}` pub fn default_groups_with_group_id_put( @@ -384,7 +384,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/default-groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-groups/{groupId}` pub fn default_groups_with_group_id_delete( @@ -405,7 +405,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/default-optional-client-scopes` /// - /// Documentation: + /// Documentation: pub fn default_optional_client_scopes_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> @@ -425,7 +425,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/default-optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}` pub fn default_optional_client_scopes_with_client_scope_id_put( @@ -450,7 +450,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/default-optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}` pub fn default_optional_client_scopes_with_client_scope_id_delete( @@ -483,7 +483,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/events` /// - /// Documentation: + /// Documentation: pub fn events_get(&'a self) -> RealmEventsGet<'a, TS> { RealmEventsGet { realm_admin: self } } @@ -500,7 +500,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/events` /// - /// Documentation: + /// Documentation: pub fn events_delete( &'a self, ) -> impl Future> + use<'a, TS> { @@ -517,7 +517,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/events/config` /// - /// Documentation: + /// Documentation: pub fn events_config_get( &'a self, ) -> impl Future> + use<'a, TS> @@ -536,7 +536,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/events/config` /// - /// Documentation: + /// Documentation: pub fn events_config_put( &'a self, body: RealmEventsConfigRepresentation, @@ -553,7 +553,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/group-by-path/{path}` /// - /// Documentation: + /// Documentation: pub fn group_by_path_with_path_get( &'a self, path: &'a str, @@ -570,7 +570,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/localization` /// - /// Documentation: + /// Documentation: pub fn localization_get( &'a self, ) -> impl Future, KeycloakError>> + use<'a, TS> { @@ -587,7 +587,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: pub fn localization_with_locale_get( &'a self, locale: &'a str, @@ -612,7 +612,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: pub fn localization_with_locale_post( &'a self, locale: &'a str, @@ -633,7 +633,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: pub fn localization_with_locale_delete( &'a self, locale: &'a str, @@ -652,7 +652,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: pub fn localization_with_locale_with_key_get( &'a self, key: &'a str, @@ -675,7 +675,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: pub fn localization_with_locale_with_key_put( &'a self, key: &'a str, @@ -698,7 +698,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: pub fn localization_with_locale_with_key_delete( &'a self, key: &'a str, @@ -718,7 +718,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/logout-all` /// - /// Documentation: + /// Documentation: pub fn logout_all_post( &'a self, ) -> impl Future> + use<'a, TS> { @@ -737,7 +737,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/partial-export` /// - /// Documentation: + /// Documentation: pub fn partial_export_post(&'a self) -> RealmPartialExportPost<'a, TS> { RealmPartialExportPost { realm_admin: self } } @@ -753,7 +753,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/partialImport` /// - /// Documentation: + /// Documentation: pub fn partial_import_post( &'a self, body: RealmRepresentation, @@ -771,7 +771,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/push-revocation` /// - /// Documentation: + /// Documentation: pub fn push_revocation_post( &'a self, ) -> impl Future> + use<'a, TS> { @@ -792,7 +792,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/sessions/{session}` /// - /// Documentation: + /// Documentation: pub fn sessions_with_session_delete( &'a self, session: &'a str, @@ -816,7 +816,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/testSMTPConnection` /// - /// Documentation: + /// Documentation: #[deprecated] pub fn test_smtp_connection_post( &'a self, @@ -833,7 +833,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users-management-permissions` /// - /// Documentation: + /// Documentation: pub fn users_management_permissions_get( &'a self, ) -> impl Future> + use<'a, TS> @@ -851,7 +851,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users-management-permissions` /// - /// Documentation: + /// Documentation: pub fn users_management_permissions_put( &'a self, body: ManagementPermissionReference, diff --git a/src/resource/role_mapper.rs b/src/resource/role_mapper.rs index 34178d2..abcc465 100644 --- a/src/resource/role_mapper.rs +++ b/src/resource/role_mapper.rs @@ -13,7 +13,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings` pub fn groups_with_group_id_role_mappings_get( @@ -35,7 +35,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm` pub fn groups_with_group_id_role_mappings_realm_get( @@ -61,7 +61,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/groups/{group_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/role-mappings/realm` pub fn groups_with_group_id_role_mappings_realm_post( @@ -87,7 +87,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}/role-mappings/realm` pub fn groups_with_group_id_role_mappings_realm_delete( @@ -110,7 +110,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm/available` pub fn groups_with_group_id_role_mappings_realm_available_get( @@ -134,7 +134,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm/composite` pub fn groups_with_group_id_role_mappings_realm_composite_get( @@ -158,7 +158,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings` pub fn users_with_user_id_role_mappings_get( @@ -180,7 +180,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm` pub fn users_with_user_id_role_mappings_realm_get( @@ -206,7 +206,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/role-mappings/realm` pub fn users_with_user_id_role_mappings_realm_post( @@ -232,7 +232,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/role-mappings/realm` pub fn users_with_user_id_role_mappings_realm_delete( @@ -255,7 +255,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/available` pub fn users_with_user_id_role_mappings_realm_available_get( @@ -279,7 +279,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite` pub fn users_with_user_id_role_mappings_realm_composite_get( diff --git a/src/resource/roles.rs b/src/resource/roles.rs index 0489baa..22cb025 100644 --- a/src/resource/roles.rs +++ b/src/resource/roles.rs @@ -17,7 +17,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles` pub fn clients_with_client_uuid_roles_get( @@ -44,7 +44,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/roles` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/roles` pub fn clients_with_client_uuid_roles_post( @@ -68,7 +68,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}` pub fn clients_with_client_uuid_roles_with_role_name_get( @@ -99,7 +99,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}` pub fn clients_with_client_uuid_roles_with_role_name_put( @@ -131,7 +131,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}` pub fn clients_with_client_uuid_roles_with_role_name_delete( @@ -159,7 +159,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites` pub fn clients_with_client_uuid_roles_with_role_name_composites_get( @@ -191,7 +191,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites` pub fn clients_with_client_uuid_roles_with_role_name_composites_post( @@ -224,7 +224,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites` pub fn clients_with_client_uuid_roles_with_role_name_composites_delete( @@ -254,7 +254,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/clients/{client-uuid}` pub fn clients_with_client_uuid_roles_with_role_name_composites_clients_with_client_uuid_get( @@ -283,7 +283,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/realm` pub fn clients_with_client_uuid_roles_with_role_name_composites_realm_get( @@ -315,7 +315,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/groups` pub fn clients_with_client_uuid_roles_with_role_name_groups_get( @@ -342,7 +342,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions` pub fn clients_with_client_uuid_roles_with_role_name_management_permissions_get( @@ -372,7 +372,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions` pub fn clients_with_client_uuid_roles_with_role_name_management_permissions_put( @@ -406,7 +406,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/users` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/users` pub fn clients_with_client_uuid_roles_with_role_name_users_get( @@ -435,7 +435,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles` /// - /// Documentation: + /// Documentation: pub fn roles_get(&'a self) -> RealmRolesGet<'a, TS> { RealmRolesGet { realm_admin: self } } @@ -453,7 +453,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/roles` /// - /// Documentation: + /// Documentation: pub fn roles_post( &'a self, body: RoleRepresentation, @@ -472,7 +472,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}` pub fn roles_with_role_name_get( @@ -497,7 +497,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles/{role-name}` pub fn roles_with_role_name_put( @@ -522,7 +522,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles/{role-name}` pub fn roles_with_role_name_delete( @@ -544,7 +544,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites` pub fn roles_with_role_name_composites_get( @@ -570,7 +570,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/roles/{role-name}/composites` pub fn roles_with_role_name_composites_post( @@ -596,7 +596,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles/{role-name}/composites` pub fn roles_with_role_name_composites_delete( @@ -620,7 +620,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites/clients/{client-uuid}` pub fn roles_with_role_name_composites_clients_with_client_uuid_get( @@ -648,7 +648,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites/realm` pub fn roles_with_role_name_composites_realm_get( @@ -674,7 +674,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/groups` pub fn roles_with_role_name_groups_get( @@ -698,7 +698,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/management/permissions` pub fn roles_with_role_name_management_permissions_get( @@ -722,7 +722,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles/{role-name}/management/permissions` pub fn roles_with_role_name_management_permissions_put( @@ -749,7 +749,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles/{role_name}/users` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/users` pub fn roles_with_role_name_users_get( diff --git a/src/resource/roles_by_id.rs b/src/resource/roles_by_id.rs index 8703479..ef395da 100644 --- a/src/resource/roles_by_id.rs +++ b/src/resource/roles_by_id.rs @@ -13,7 +13,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}` pub fn roles_by_id_with_role_id_get( @@ -38,7 +38,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/roles-by-id/{role_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles-by-id/{role-id}` pub fn roles_by_id_with_role_id_put( @@ -63,7 +63,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/roles-by-id/{role_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles-by-id/{role-id}` pub fn roles_by_id_with_role_id_delete( @@ -88,7 +88,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites` pub fn roles_by_id_with_role_id_composites_get( @@ -115,7 +115,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/roles-by-id/{role_id}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/roles-by-id/{role-id}/composites` pub fn roles_by_id_with_role_id_composites_post( @@ -141,7 +141,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/roles-by-id/{role_id}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites` pub fn roles_by_id_with_role_id_composites_delete( @@ -165,7 +165,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/composites/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites/clients/{clientUuid}` pub fn roles_by_id_with_role_id_composites_clients_with_client_uuid_get( @@ -193,7 +193,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/composites/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites/realm` pub fn roles_by_id_with_role_id_composites_realm_get( @@ -216,7 +216,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/management/permissions` pub fn roles_by_id_with_role_id_management_permissions_get( @@ -240,7 +240,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/roles-by-id/{role_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles-by-id/{role-id}/management/permissions` pub fn roles_by_id_with_role_id_management_permissions_put( diff --git a/src/resource/scope_mappings.rs b/src/resource/scope_mappings.rs index a95e249..c0c6561 100644 --- a/src/resource/scope_mappings.rs +++ b/src/resource/scope_mappings.rs @@ -13,7 +13,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings` #[deprecated] @@ -40,7 +40,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}` pub fn client_scopes_with_client_scope_id_scope_mappings_clients_with_client_get( @@ -72,7 +72,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}` pub fn client_scopes_with_client_scope_id_scope_mappings_clients_with_client_post( @@ -105,7 +105,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}` pub fn client_scopes_with_client_scope_id_scope_mappings_clients_with_client_delete( @@ -135,7 +135,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/available` pub fn client_scopes_with_client_scope_id_scope_mappings_clients_with_client_available_get( @@ -165,7 +165,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/composite` pub fn client_scopes_with_client_scope_id_scope_mappings_clients_with_client_composite_get( @@ -191,7 +191,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm` pub fn client_scopes_with_client_scope_id_scope_mappings_realm_get( @@ -220,7 +220,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm` pub fn client_scopes_with_client_scope_id_scope_mappings_realm_post( @@ -250,7 +250,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm` pub fn client_scopes_with_client_scope_id_scope_mappings_realm_delete( @@ -277,7 +277,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/available` pub fn client_scopes_with_client_scope_id_scope_mappings_realm_available_get( @@ -304,7 +304,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/composite` pub fn client_scopes_with_client_scope_id_scope_mappings_realm_composite_get( @@ -328,7 +328,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings` #[deprecated] @@ -355,7 +355,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}` pub fn client_templates_with_client_scope_id_scope_mappings_clients_with_client_get( @@ -387,7 +387,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}` pub fn client_templates_with_client_scope_id_scope_mappings_clients_with_client_post( @@ -420,7 +420,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}` pub fn client_templates_with_client_scope_id_scope_mappings_clients_with_client_delete( @@ -450,7 +450,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/available` pub fn client_templates_with_client_scope_id_scope_mappings_clients_with_client_available_get( @@ -480,7 +480,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/composite` pub fn client_templates_with_client_scope_id_scope_mappings_clients_with_client_composite_get( @@ -507,7 +507,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm` pub fn client_templates_with_client_scope_id_scope_mappings_realm_get( @@ -536,7 +536,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm` pub fn client_templates_with_client_scope_id_scope_mappings_realm_post( @@ -566,7 +566,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm` pub fn client_templates_with_client_scope_id_scope_mappings_realm_delete( @@ -593,7 +593,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/available` pub fn client_templates_with_client_scope_id_scope_mappings_realm_available_get( @@ -620,7 +620,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/composite` pub fn client_templates_with_client_scope_id_scope_mappings_realm_composite_get( @@ -644,7 +644,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings` #[deprecated] @@ -668,7 +668,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}` pub fn clients_with_client_uuid_scope_mappings_clients_with_client_get( @@ -700,7 +700,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}` pub fn clients_with_client_uuid_scope_mappings_clients_with_client_post( @@ -733,7 +733,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}` pub fn clients_with_client_uuid_scope_mappings_clients_with_client_delete( @@ -763,7 +763,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/available` pub fn clients_with_client_uuid_scope_mappings_clients_with_client_available_get( @@ -793,7 +793,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/composite` pub fn clients_with_client_uuid_scope_mappings_clients_with_client_composite_get( @@ -819,7 +819,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm` pub fn clients_with_client_uuid_scope_mappings_realm_get( @@ -845,7 +845,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm` pub fn clients_with_client_uuid_scope_mappings_realm_post( @@ -871,7 +871,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm` pub fn clients_with_client_uuid_scope_mappings_realm_delete( @@ -898,7 +898,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/available` pub fn clients_with_client_uuid_scope_mappings_realm_available_get( @@ -925,7 +925,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/composite` pub fn clients_with_client_uuid_scope_mappings_realm_composite_get( diff --git a/src/resource/users.rs b/src/resource/users.rs index e0745c2..6b194b4 100644 --- a/src/resource/users.rs +++ b/src/resource/users.rs @@ -26,7 +26,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users` /// - /// Documentation: + /// Documentation: pub fn users_get(&'a self) -> RealmUsersGet<'a, TS> { RealmUsersGet { realm_admin: self } } @@ -44,7 +44,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users` /// - /// Documentation: + /// Documentation: pub fn users_post( &'a self, body: UserRepresentation, @@ -57,20 +57,23 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// Parameters: /// /// - `realm`: realm name (not id!) - /// - `email`: email filter - /// - `email_verified` + /// - `email`: A String contained in email, or the complete email, if param "exact" is true + /// - `email_verified`: whether the email has been verified /// - `enabled`: Boolean representing if user is enabled or not - /// - `first_name`: first name filter - /// - `last_name`: last name filter - /// - `q` - /// - `search`: arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. - /// - `username`: username filter + /// - `exact`: Boolean which defines whether the params "last", "first", "email" and "username" must match exactly + /// - `first_name`: A String contained in firstName, or the complete firstName, if param "exact" is true + /// - `idp_alias`: The alias of an Identity Provider linked to the user + /// - `idp_user_id`: The userId at an Identity Provider linked to the user + /// - `last_name`: A String contained in lastName, or the complete lastName, if param "exact" is true + /// - `q`: A query to search for custom attributes, in the format 'key1:value2 key2:value2' + /// - `search`: A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. + /// - `username`: A String contained in username, or the complete username, if param "exact" is true /// /// Resource: `Users` /// /// `GET /admin/realms/{realm}/users/count` /// - /// Documentation: + /// Documentation: pub fn users_count_get(&'a self) -> RealmUsersCountGet<'a, TS> { RealmUsersCountGet { realm_admin: self } } @@ -83,7 +86,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/profile` /// - /// Documentation: + /// Documentation: pub fn users_profile_get( &'a self, ) -> impl Future> + use<'a, TS> { @@ -99,7 +102,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/profile` /// - /// Documentation: + /// Documentation: pub fn users_profile_put( &'a self, body: UPConfig, @@ -115,7 +118,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/profile/metadata` /// - /// Documentation: + /// Documentation: pub fn users_profile_metadata_get( &'a self, ) -> impl Future> + use<'a, TS> { @@ -134,7 +137,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}` pub fn users_with_user_id_get(&'a self, user_id: &'a str) -> RealmUsersWithUserIdGet<'a, TS> { @@ -158,7 +161,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}` pub fn users_with_user_id_put( @@ -183,7 +186,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}` pub fn users_with_user_id_delete( @@ -205,7 +208,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/configured-user-storage-credential-types` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/configured-user-storage-credential-types` pub fn users_with_user_id_configured_user_storage_credential_types_get( @@ -229,7 +232,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/consents` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/consents` pub fn users_with_user_id_consents_get( @@ -255,7 +258,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/consents/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/consents/{client}` pub fn users_with_user_id_consents_with_client_delete( @@ -276,7 +279,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/credentials` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/credentials` pub fn users_with_user_id_credentials_get( @@ -302,7 +305,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}` pub fn users_with_user_id_credentials_with_credential_id_delete( @@ -333,7 +336,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}/moveAfter/{new_previous_credential_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveAfter/{newPreviousCredentialId}` pub fn users_with_user_id_credentials_with_credential_id_move_after_with_new_previous_credential_id_post( @@ -365,7 +368,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}/moveToFirst` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveToFirst` pub fn users_with_user_id_credentials_with_credential_id_move_to_first_post( @@ -396,7 +399,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}/userLabel` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/userLabel` pub fn users_with_user_id_credentials_with_credential_id_user_label_put( @@ -428,7 +431,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/disable-credential-types` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/disable-credential-types` pub fn users_with_user_id_disable_credential_types_put( @@ -457,7 +460,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/execute-actions-email` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/execute-actions-email` pub fn users_with_user_id_execute_actions_email_put( @@ -483,7 +486,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/federated-identity` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/federated-identity` pub fn users_with_user_id_federated_identity_get( @@ -502,6 +505,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// - `realm`: realm name (not id!) /// - `user_id` /// - `provider`: Social login provider id + /// - `body` /// /// Returns response for future processing. /// @@ -509,17 +513,18 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/federated-identity/{provider}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/federated-identity/{provider}` pub fn users_with_user_id_federated_identity_with_provider_post( &'a self, user_id: &'a str, provider: &'a str, + body: FederatedIdentityRepresentation, ) -> impl Future> + use<'a, TS> { self.admin .realm_users_with_user_id_federated_identity_with_provider_post( - self.realm, user_id, provider, + self.realm, user_id, provider, body, ) } @@ -537,7 +542,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/federated-identity/{provider}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/federated-identity/{provider}` pub fn users_with_user_id_federated_identity_with_provider_delete( @@ -564,7 +569,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/groups` pub fn users_with_user_id_groups_get( @@ -587,7 +592,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/groups/count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/groups/count` pub fn users_with_user_id_groups_count_get( @@ -612,7 +617,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/groups/{groupId}` pub fn users_with_user_id_groups_with_group_id_put( @@ -636,7 +641,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/groups/{groupId}` pub fn users_with_user_id_groups_with_group_id_delete( @@ -659,7 +664,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/impersonation` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/impersonation` pub fn users_with_user_id_impersonation_post( @@ -683,7 +688,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `POST /admin/realms/{realm}/users/{user_id}/logout` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/logout` pub fn users_with_user_id_logout_post( @@ -706,7 +711,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/offline-sessions/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/offline-sessions/{clientUuid}` pub fn users_with_user_id_offline_sessions_with_client_uuid_get( @@ -737,7 +742,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/reset-password` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/reset-password` pub fn users_with_user_id_reset_password_put( @@ -764,7 +769,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/reset-password-email` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/reset-password-email` #[deprecated] @@ -794,7 +799,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `PUT /admin/realms/{realm}/users/{user_id}/send-verify-email` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/send-verify-email` pub fn users_with_user_id_send_verify_email_put( @@ -818,7 +823,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/sessions` pub fn users_with_user_id_sessions_get( @@ -839,7 +844,7 @@ impl<'a, TS: KeycloakTokenSupplier> KeycloakRealmAdmin<'a, TS> { /// /// `GET /admin/realms/{realm}/users/{user_id}/unmanagedAttributes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/unmanagedAttributes` pub fn users_with_user_id_unmanaged_attributes_get( @@ -953,19 +958,27 @@ pub struct RealmUsersCountGet<'a, TS: KeycloakTokenSupplier> { #[derive(Default)] pub struct RealmUsersCountGetArgs { - /// email filter + /// A String contained in email, or the complete email, if param "exact" is true pub email: Option, + /// whether the email has been verified pub email_verified: Option, /// Boolean representing if user is enabled or not pub enabled: Option, - /// first name filter + /// Boolean which defines whether the params "last", "first", "email" and "username" must match exactly + pub exact: Option, + /// A String contained in firstName, or the complete firstName, if param "exact" is true pub first_name: Option, - /// last name filter + /// The alias of an Identity Provider linked to the user + pub idp_alias: Option, + /// The userId at an Identity Provider linked to the user + pub idp_user_id: Option, + /// A String contained in lastName, or the complete lastName, if param "exact" is true pub last_name: Option, + /// A query to search for custom attributes, in the format 'key1:value2 key2:value2' pub q: Option, - /// arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. + /// A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. pub search: Option, - /// username filter + /// A String contained in username, or the complete username, if param "exact" is true pub username: Option, } @@ -981,7 +994,10 @@ impl<'a, TS: KeycloakTokenSupplier + Send + Sync> KeycloakRealmAdminMethod email, email_verified, enabled, + exact, first_name, + idp_alias, + idp_user_id, last_name, q, search, @@ -993,7 +1009,10 @@ impl<'a, TS: KeycloakTokenSupplier + Send + Sync> KeycloakRealmAdminMethod email, email_verified, enabled, + exact, first_name, + idp_alias, + idp_user_id, last_name, q, search, @@ -1451,10 +1470,11 @@ mod builder { where TS: KeycloakTokenSupplier + Send + Sync, { - /// email filter + /// A String contained in email, or the complete email, if param "exact" is true pub fn email(self, value: impl Into>) -> Builder<'a, Self> { self.builder().email(value) } + /// whether the email has been verified pub fn email_verified(self, value: impl Into>) -> Builder<'a, Self> { self.builder().email_verified(value) } @@ -1462,22 +1482,35 @@ mod builder { pub fn enabled(self, value: impl Into>) -> Builder<'a, Self> { self.builder().enabled(value) } - /// first name filter + /// Boolean which defines whether the params "last", "first", "email" and "username" must match exactly + pub fn exact(self, value: impl Into>) -> Builder<'a, Self> { + self.builder().exact(value) + } + /// A String contained in firstName, or the complete firstName, if param "exact" is true pub fn first_name(self, value: impl Into>) -> Builder<'a, Self> { self.builder().first_name(value) } - /// last name filter + /// The alias of an Identity Provider linked to the user + pub fn idp_alias(self, value: impl Into>) -> Builder<'a, Self> { + self.builder().idp_alias(value) + } + /// The userId at an Identity Provider linked to the user + pub fn idp_user_id(self, value: impl Into>) -> Builder<'a, Self> { + self.builder().idp_user_id(value) + } + /// A String contained in lastName, or the complete lastName, if param "exact" is true pub fn last_name(self, value: impl Into>) -> Builder<'a, Self> { self.builder().last_name(value) } + /// A query to search for custom attributes, in the format 'key1:value2 key2:value2' pub fn q(self, value: impl Into>) -> Builder<'a, Self> { self.builder().q(value) } - /// arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. + /// A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. pub fn search(self, value: impl Into>) -> Builder<'a, Self> { self.builder().search(value) } - /// username filter + /// A String contained in username, or the complete username, if param "exact" is true pub fn username(self, value: impl Into>) -> Builder<'a, Self> { self.builder().username(value) } @@ -1487,11 +1520,12 @@ mod builder { where TS: KeycloakTokenSupplier + Send + Sync, { - /// email filter + /// A String contained in email, or the complete email, if param "exact" is true pub fn email(mut self, value: impl Into>) -> Self { self.args.email = value.into(); self } + /// whether the email has been verified pub fn email_verified(mut self, value: impl Into>) -> Self { self.args.email_verified = value.into(); self @@ -1501,26 +1535,42 @@ mod builder { self.args.enabled = value.into(); self } - /// first name filter + /// Boolean which defines whether the params "last", "first", "email" and "username" must match exactly + pub fn exact(mut self, value: impl Into>) -> Self { + self.args.exact = value.into(); + self + } + /// A String contained in firstName, or the complete firstName, if param "exact" is true pub fn first_name(mut self, value: impl Into>) -> Self { self.args.first_name = value.into(); self } - /// last name filter + /// The alias of an Identity Provider linked to the user + pub fn idp_alias(mut self, value: impl Into>) -> Self { + self.args.idp_alias = value.into(); + self + } + /// The userId at an Identity Provider linked to the user + pub fn idp_user_id(mut self, value: impl Into>) -> Self { + self.args.idp_user_id = value.into(); + self + } + /// A String contained in lastName, or the complete lastName, if param "exact" is true pub fn last_name(mut self, value: impl Into>) -> Self { self.args.last_name = value.into(); self } + /// A query to search for custom attributes, in the format 'key1:value2 key2:value2' pub fn q(mut self, value: impl Into>) -> Self { self.args.q = value.into(); self } - /// arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. + /// A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. pub fn search(mut self, value: impl Into>) -> Self { self.args.search = value.into(); self } - /// username filter + /// A String contained in username, or the complete username, if param "exact" is true pub fn username(mut self, value: impl Into>) -> Self { self.args.username = value.into(); self diff --git a/src/rest/generated_rest/attack_detection.rs b/src/rest/generated_rest/attack_detection.rs index 37f1123..33582e1 100644 --- a/src/rest/generated_rest/attack_detection.rs +++ b/src/rest/generated_rest/attack_detection.rs @@ -15,7 +15,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/attack-detection/brute-force/users` /// - /// Documentation: + /// Documentation: pub async fn realm_attack_detection_brute_force_users_delete( &self, realm: &str, @@ -43,7 +43,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/attack-detection/brute-force/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/attack-detection/brute-force/users/{userId}` pub async fn realm_attack_detection_brute_force_users_with_user_id_get( @@ -77,7 +77,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/attack-detection/brute-force/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/attack-detection/brute-force/users/{userId}` pub async fn realm_attack_detection_brute_force_users_with_user_id_delete( diff --git a/src/rest/generated_rest/authentication_management.rs b/src/rest/generated_rest/authentication_management.rs index 3424cc7..6564043 100644 --- a/src/rest/generated_rest/authentication_management.rs +++ b/src/rest/generated_rest/authentication_management.rs @@ -13,7 +13,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/authenticator-providers` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_authenticator_providers_get( &self, realm: &str, @@ -40,7 +40,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/client-authenticator-providers` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_client_authenticator_providers_get( &self, realm: &str, @@ -70,7 +70,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/config` /// - /// Documentation: + /// Documentation: #[deprecated] pub async fn realm_authentication_config_post( &self, @@ -101,7 +101,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/config-description/{provider_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/config-description/{providerId}` pub async fn realm_authentication_config_description_with_provider_id_get( @@ -133,7 +133,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_config_with_id_get( &self, realm: &str, @@ -166,7 +166,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_config_with_id_put( &self, realm: &str, @@ -200,7 +200,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_config_with_id_delete( &self, realm: &str, @@ -232,7 +232,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/executions` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_executions_post( &self, realm: &str, @@ -262,7 +262,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/executions/{execution_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/executions/{executionId}` pub async fn realm_authentication_executions_with_execution_id_get( @@ -296,7 +296,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/executions/{execution_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/authentication/executions/{executionId}` pub async fn realm_authentication_executions_with_execution_id_delete( @@ -331,7 +331,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/config` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/config` pub async fn realm_authentication_executions_with_execution_id_config_post( @@ -366,7 +366,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/executions/{execution_id}/config/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/executions/{executionId}/config/{id}` #[deprecated] @@ -403,7 +403,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/lower-priority` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/lower-priority` pub async fn realm_authentication_executions_with_execution_id_lower_priority_post( @@ -437,7 +437,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/raise-priority` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/raise-priority` pub async fn realm_authentication_executions_with_execution_id_raise_priority_post( @@ -468,7 +468,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/flows` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_flows_get( &self, realm: &str, @@ -498,7 +498,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/flows` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_flows_post( &self, realm: &str, @@ -531,7 +531,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/copy` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/copy` pub async fn realm_authentication_flows_with_flow_alias_copy_post( @@ -565,7 +565,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/flows/{flow_alias}/executions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/flows/{flowAlias}/executions` pub async fn realm_authentication_flows_with_flow_alias_executions_get( @@ -600,7 +600,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/flows/{flow_alias}/executions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/authentication/flows/{flowAlias}/executions` pub async fn realm_authentication_flows_with_flow_alias_executions_put( @@ -637,7 +637,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/executions/execution` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution` pub async fn realm_authentication_flows_with_flow_alias_executions_execution_post( @@ -674,7 +674,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/executions/flow` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow` pub async fn realm_authentication_flows_with_flow_alias_executions_flow_post( @@ -708,7 +708,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_flows_with_id_get( &self, realm: &str, @@ -741,7 +741,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_flows_with_id_put( &self, realm: &str, @@ -775,7 +775,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_flows_with_id_delete( &self, realm: &str, @@ -804,7 +804,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/form-action-providers` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_form_action_providers_get( &self, realm: &str, @@ -831,7 +831,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/form-providers` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_form_providers_get( &self, realm: &str, @@ -858,7 +858,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/per-client-config-description` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_per_client_config_description_get( &self, realm: &str, @@ -888,7 +888,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/register-required-action` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_register_required_action_post( &self, realm: &str, @@ -917,7 +917,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_get( &self, realm: &str, @@ -945,7 +945,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_get( &self, realm: &str, @@ -978,7 +978,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_put( &self, realm: &str, @@ -1012,7 +1012,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_delete( &self, realm: &str, @@ -1042,7 +1042,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_config_get( &self, realm: &str, @@ -1075,7 +1075,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_config_put( &self, realm: &str, @@ -1109,7 +1109,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_config_delete( &self, realm: &str, @@ -1139,7 +1139,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}/config-description` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_config_description_get( &self, realm: &str, @@ -1171,7 +1171,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_lower_priority_post( &self, realm: &str, @@ -1203,7 +1203,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_required_actions_with_alias_raise_priority_post( &self, realm: &str, @@ -1232,7 +1232,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/unregistered-required-actions` /// - /// Documentation: + /// Documentation: pub async fn realm_authentication_unregistered_required_actions_get( &self, realm: &str, diff --git a/src/rest/generated_rest/client_attribute_certificate.rs b/src/rest/generated_rest/client_attribute_certificate.rs index 7449fb8..00dd34b 100644 --- a/src/rest/generated_rest/client_attribute_certificate.rs +++ b/src/rest/generated_rest/client_attribute_certificate.rs @@ -15,7 +15,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}` pub async fn realm_clients_with_client_uuid_certificates_with_attr_get( @@ -51,7 +51,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/download` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/download` pub async fn realm_clients_with_client_uuid_certificates_with_attr_download_post( @@ -88,7 +88,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/generate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate` pub async fn realm_clients_with_client_uuid_certificates_with_attr_generate_post( @@ -127,7 +127,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/generate-and-download` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate-and-download` pub async fn realm_clients_with_client_uuid_certificates_with_attr_generate_and_download_post( @@ -164,7 +164,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/upload` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload` pub async fn realm_clients_with_client_uuid_certificates_with_attr_upload_post( @@ -199,7 +199,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/certificates/{attr}/upload-certificate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload-certificate` pub async fn realm_clients_with_client_uuid_certificates_with_attr_upload_certificate_post( diff --git a/src/rest/generated_rest/client_initial_access.rs b/src/rest/generated_rest/client_initial_access.rs index 4858099..a22de6f 100644 --- a/src/rest/generated_rest/client_initial_access.rs +++ b/src/rest/generated_rest/client_initial_access.rs @@ -11,7 +11,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients-initial-access` /// - /// Documentation: + /// Documentation: pub async fn realm_clients_initial_access_get( &self, realm: &str, @@ -39,7 +39,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients-initial-access` /// - /// Documentation: + /// Documentation: pub async fn realm_clients_initial_access_post( &self, realm: &str, @@ -69,7 +69,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients-initial-access/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_clients_initial_access_with_id_delete( &self, realm: &str, diff --git a/src/rest/generated_rest/client_registration_policy.rs b/src/rest/generated_rest/client_registration_policy.rs index 66bb2d1..d8a5a19 100644 --- a/src/rest/generated_rest/client_registration_policy.rs +++ b/src/rest/generated_rest/client_registration_policy.rs @@ -13,7 +13,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-registration-policy/providers` /// - /// Documentation: + /// Documentation: pub async fn realm_client_registration_policy_providers_get( &self, realm: &str, diff --git a/src/rest/generated_rest/client_role_mappings.rs b/src/rest/generated_rest/client_role_mappings.rs index 07ab265..8a3809c 100644 --- a/src/rest/generated_rest/client_role_mappings.rs +++ b/src/rest/generated_rest/client_role_mappings.rs @@ -15,7 +15,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}` pub async fn realm_groups_with_group_id_role_mappings_clients_with_client_id_get( @@ -53,7 +53,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}` pub async fn realm_groups_with_group_id_role_mappings_clients_with_client_id_post( @@ -93,7 +93,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}` pub async fn realm_groups_with_group_id_role_mappings_clients_with_client_id_delete( @@ -130,7 +130,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/available` pub async fn realm_groups_with_group_id_role_mappings_clients_with_client_id_available_get( @@ -166,7 +166,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/clients/{client_id}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/composite` pub async fn realm_groups_with_group_id_role_mappings_clients_with_client_id_composite_get( @@ -205,7 +205,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}` pub async fn realm_users_with_user_id_role_mappings_clients_with_client_id_get( @@ -243,7 +243,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}` pub async fn realm_users_with_user_id_role_mappings_clients_with_client_id_post( @@ -283,7 +283,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}` pub async fn realm_users_with_user_id_role_mappings_clients_with_client_id_delete( @@ -320,7 +320,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/available` pub async fn realm_users_with_user_id_role_mappings_clients_with_client_id_available_get( @@ -356,7 +356,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/clients/{client_id}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/composite` pub async fn realm_users_with_user_id_role_mappings_clients_with_client_id_composite_get( diff --git a/src/rest/generated_rest/client_scopes.rs b/src/rest/generated_rest/client_scopes.rs index 772d7a2..2d0d24f 100644 --- a/src/rest/generated_rest/client_scopes.rs +++ b/src/rest/generated_rest/client_scopes.rs @@ -13,7 +13,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes` /// - /// Documentation: + /// Documentation: pub async fn realm_client_scopes_get( &self, realm: &str, @@ -40,7 +40,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-scopes` /// - /// Documentation: + /// Documentation: pub async fn realm_client_scopes_post( &self, realm: &str, @@ -67,7 +67,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}` pub async fn realm_client_scopes_with_client_scope_id_get( @@ -102,7 +102,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-scopes/{client-scope-id}` pub async fn realm_client_scopes_with_client_scope_id_put( @@ -138,7 +138,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}` pub async fn realm_client_scopes_with_client_scope_id_delete( @@ -169,7 +169,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates` /// - /// Documentation: + /// Documentation: pub async fn realm_client_templates_get( &self, realm: &str, @@ -199,7 +199,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-templates` /// - /// Documentation: + /// Documentation: pub async fn realm_client_templates_post( &self, realm: &str, @@ -229,7 +229,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}` pub async fn realm_client_templates_with_client_scope_id_get( @@ -264,7 +264,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-templates/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-templates/{client-scope-id}` pub async fn realm_client_templates_with_client_scope_id_put( @@ -300,7 +300,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}` pub async fn realm_client_templates_with_client_scope_id_delete( diff --git a/src/rest/generated_rest/clients.rs b/src/rest/generated_rest/clients.rs index 37f61af..23ea393 100644 --- a/src/rest/generated_rest/clients.rs +++ b/src/rest/generated_rest/clients.rs @@ -19,7 +19,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_clients_get( &self, @@ -71,7 +71,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients` /// - /// Documentation: + /// Documentation: pub async fn realm_clients_post( &self, realm: &str, @@ -98,7 +98,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}` pub async fn realm_clients_with_client_uuid_get( @@ -133,7 +133,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}` pub async fn realm_clients_with_client_uuid_put( @@ -169,7 +169,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}` pub async fn realm_clients_with_client_uuid_delete( @@ -201,7 +201,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/client-secret` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/client-secret` pub async fn realm_clients_with_client_uuid_client_secret_get( @@ -233,7 +233,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/client-secret` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/client-secret` pub async fn realm_clients_with_client_uuid_client_secret_post( @@ -265,7 +265,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/client-secret/rotated` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated` pub async fn realm_clients_with_client_uuid_client_secret_rotated_get( @@ -299,7 +299,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/client-secret/rotated` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated` pub async fn realm_clients_with_client_uuid_client_secret_rotated_delete( @@ -331,7 +331,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/default-client-scopes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes` pub async fn realm_clients_with_client_uuid_default_client_scopes_get( @@ -364,7 +364,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}` pub async fn realm_clients_with_client_uuid_default_client_scopes_with_client_scope_id_put( @@ -400,7 +400,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}` pub async fn realm_clients_with_client_uuid_default_client_scopes_with_client_scope_id_delete( @@ -437,7 +437,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/generate-example-access-token` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-access-token` pub async fn realm_clients_with_client_uuid_evaluate_scopes_generate_example_access_token_get( @@ -484,7 +484,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/generate-example-id-token` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-id-token` pub async fn realm_clients_with_client_uuid_evaluate_scopes_generate_example_id_token_get( @@ -530,7 +530,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/generate-example-userinfo` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-userinfo` pub async fn realm_clients_with_client_uuid_evaluate_scopes_generate_example_userinfo_get( @@ -571,7 +571,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/protocol-mappers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/protocol-mappers` pub async fn realm_clients_with_client_uuid_evaluate_scopes_protocol_mappers_get( @@ -609,7 +609,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/scope-mappings/{role_container_id}/granted` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/granted` pub async fn realm_clients_with_client_uuid_evaluate_scopes_scope_mappings_with_role_container_id_granted_get( @@ -649,7 +649,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/evaluate-scopes/scope-mappings/{role_container_id}/not-granted` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/not-granted` pub async fn realm_clients_with_client_uuid_evaluate_scopes_scope_mappings_with_role_container_id_not_granted_get( @@ -688,7 +688,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/installation/providers/{provider_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/installation/providers/{providerId}` pub async fn realm_clients_with_client_uuid_installation_providers_with_provider_id_get( @@ -722,7 +722,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/management/permissions` pub async fn realm_clients_with_client_uuid_management_permissions_get( @@ -755,7 +755,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/management/permissions` pub async fn realm_clients_with_client_uuid_management_permissions_put( @@ -792,7 +792,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/nodes` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/nodes` pub async fn realm_clients_with_client_uuid_nodes_post( @@ -829,7 +829,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/nodes/{node}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/nodes/{node}` pub async fn realm_clients_with_client_uuid_nodes_with_node_delete( @@ -863,7 +863,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/offline-session-count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/offline-session-count` pub async fn realm_clients_with_client_uuid_offline_session_count_get( @@ -897,7 +897,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/offline-sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/offline-sessions` pub async fn realm_clients_with_client_uuid_offline_sessions_get( @@ -937,7 +937,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/optional-client-scopes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes` pub async fn realm_clients_with_client_uuid_optional_client_scopes_get( @@ -970,7 +970,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}` pub async fn realm_clients_with_client_uuid_optional_client_scopes_with_client_scope_id_put( @@ -1006,7 +1006,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}` pub async fn realm_clients_with_client_uuid_optional_client_scopes_with_client_scope_id_delete( @@ -1040,7 +1040,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/push-revocation` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/push-revocation` pub async fn realm_clients_with_client_uuid_push_revocation_post( @@ -1072,7 +1072,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/registration-access-token` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/registration-access-token` pub async fn realm_clients_with_client_uuid_registration_access_token_post( @@ -1104,7 +1104,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/service-account-user` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/service-account-user` pub async fn realm_clients_with_client_uuid_service_account_user_get( @@ -1136,7 +1136,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/session-count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/session-count` pub async fn realm_clients_with_client_uuid_session_count_get( @@ -1168,7 +1168,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/test-nodes-available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/test-nodes-available` pub async fn realm_clients_with_client_uuid_test_nodes_available_get( @@ -1202,7 +1202,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/user-sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/user-sessions` pub async fn realm_clients_with_client_uuid_user_sessions_get( diff --git a/src/rest/generated_rest/component.rs b/src/rest/generated_rest/component.rs index 822ce40..8a4f8d0 100644 --- a/src/rest/generated_rest/component.rs +++ b/src/rest/generated_rest/component.rs @@ -14,7 +14,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/components` /// - /// Documentation: + /// Documentation: pub async fn realm_components_get( &self, realm: &str, @@ -51,7 +51,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/components` /// - /// Documentation: + /// Documentation: pub async fn realm_components_post( &self, realm: &str, @@ -76,7 +76,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_components_with_id_get( &self, realm: &str, @@ -104,7 +104,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_components_with_id_put( &self, realm: &str, @@ -133,7 +133,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_components_with_id_delete( &self, realm: &str, @@ -161,7 +161,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/components/{id}/sub-component-types` /// - /// Documentation: + /// Documentation: pub async fn realm_components_with_id_sub_component_types_get( &self, realm: &str, diff --git a/src/rest/generated_rest/groups.rs b/src/rest/generated_rest/groups.rs index 42f2983..e8391ee 100644 --- a/src/rest/generated_rest/groups.rs +++ b/src/rest/generated_rest/groups.rs @@ -21,7 +21,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_groups_get( &self, @@ -81,7 +81,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/groups` /// - /// Documentation: + /// Documentation: pub async fn realm_groups_post( &self, realm: &str, @@ -109,7 +109,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/count` /// - /// Documentation: + /// Documentation: pub async fn realm_groups_count_get( &self, realm: &str, @@ -140,7 +140,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}` pub async fn realm_groups_with_group_id_get( @@ -175,7 +175,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/groups/{group-id}` pub async fn realm_groups_with_group_id_put( @@ -209,7 +209,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}` pub async fn realm_groups_with_group_id_delete( @@ -247,7 +247,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/children` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/children` #[allow(clippy::too_many_arguments)] @@ -307,7 +307,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/groups/{group_id}/children` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/children` pub async fn realm_groups_with_group_id_children_post( @@ -341,7 +341,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/management/permissions` pub async fn realm_groups_with_group_id_management_permissions_get( @@ -374,7 +374,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/groups/{group_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/groups/{group-id}/management/permissions` pub async fn realm_groups_with_group_id_management_permissions_put( @@ -411,7 +411,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/members` pub async fn realm_groups_with_group_id_members_get( diff --git a/src/rest/generated_rest/identity_providers.rs b/src/rest/generated_rest/identity_providers.rs index 10e7af2..033f6ce 100644 --- a/src/rest/generated_rest/identity_providers.rs +++ b/src/rest/generated_rest/identity_providers.rs @@ -14,7 +14,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/identity-provider/import-config` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_import_config_post( &self, realm: &str, @@ -48,7 +48,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_get( &self, realm: &str, @@ -98,7 +98,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/identity-provider/instances` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_post( &self, realm: &str, @@ -128,7 +128,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_get( &self, realm: &str, @@ -161,7 +161,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_put( &self, realm: &str, @@ -195,7 +195,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_delete( &self, realm: &str, @@ -228,7 +228,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/export` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_export_get( &self, realm: &str, @@ -262,7 +262,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_management_permissions_get( &self, realm: &str, @@ -293,7 +293,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_management_permissions_put( &self, realm: &str, @@ -325,7 +325,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mapper-types` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_mapper_types_get( &self, realm: &str, @@ -355,7 +355,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_mappers_get( &self, realm: &str, @@ -388,7 +388,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/identity-provider/instances/{alias}/mappers` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_mappers_post( &self, realm: &str, @@ -421,7 +421,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_mappers_with_id_get( &self, realm: &str, @@ -457,7 +457,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_mappers_with_id_put( &self, realm: &str, @@ -494,7 +494,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_mappers_with_id_delete( &self, realm: &str, @@ -526,7 +526,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/reload-keys` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_instances_with_alias_reload_keys_get( &self, realm: &str, @@ -556,7 +556,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/providers/{provider_id}` /// - /// Documentation: + /// Documentation: pub async fn realm_identity_provider_providers_with_provider_id_get( &self, realm: &str, diff --git a/src/rest/generated_rest/key.rs b/src/rest/generated_rest/key.rs index 3f128ed..5df384b 100644 --- a/src/rest/generated_rest/key.rs +++ b/src/rest/generated_rest/key.rs @@ -11,7 +11,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/keys` /// - /// Documentation: + /// Documentation: pub async fn realm_keys_get( &self, realm: &str, diff --git a/src/rest/generated_rest/mod.rs b/src/rest/generated_rest/mod.rs index a9dc21c..4625c7a 100644 --- a/src/rest/generated_rest/mod.rs +++ b/src/rest/generated_rest/mod.rs @@ -66,3 +66,6 @@ pub mod scope_mappings; /// Users #[cfg(feature = "tag-users")] pub mod users; +/// Workflow Steps +#[cfg(feature = "tag-workflow-steps")] +pub mod workflow_steps; diff --git a/src/rest/generated_rest/organizations.rs b/src/rest/generated_rest/organizations.rs index a404e40..a587ba3 100644 --- a/src/rest/generated_rest/organizations.rs +++ b/src/rest/generated_rest/organizations.rs @@ -19,7 +19,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_organizations_get( &self, @@ -71,7 +71,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/organizations` /// - /// Documentation: + /// Documentation: pub async fn realm_organizations_post( &self, realm: &str, @@ -100,7 +100,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/count` /// - /// Documentation: + /// Documentation: pub async fn realm_organizations_count_get( &self, realm: &str, @@ -141,7 +141,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/members/{member_id}/organizations` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/members/{member-id}/organizations` pub async fn realm_organizations_members_with_member_id_organizations_get( @@ -177,7 +177,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}` pub async fn realm_organizations_with_org_id_get( @@ -212,7 +212,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/organizations/{org_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/organizations/{org-id}` pub async fn realm_organizations_with_org_id_put( @@ -248,7 +248,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/organizations/{org_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/organizations/{org-id}` pub async fn realm_organizations_with_org_id_delete( @@ -280,7 +280,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/identity-providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/identity-providers` pub async fn realm_organizations_with_org_id_identity_providers_get( @@ -315,7 +315,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/identity-providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/identity-providers` pub async fn realm_organizations_with_org_id_identity_providers_post( @@ -350,7 +350,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/identity-providers/{alias}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}` pub async fn realm_organizations_with_org_id_identity_providers_with_alias_get( @@ -387,7 +387,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/organizations/{org_id}/identity-providers/{alias}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}` pub async fn realm_organizations_with_org_id_identity_providers_with_alias_delete( @@ -426,7 +426,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members` #[allow(clippy::too_many_arguments)] @@ -482,7 +482,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/members` pub async fn realm_organizations_with_org_id_members_post( @@ -516,7 +516,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members/count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members/count` pub async fn realm_organizations_with_org_id_members_count_get( @@ -551,7 +551,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/members/invite-existing-user` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user` pub async fn realm_organizations_with_org_id_members_invite_existing_user_post( @@ -588,7 +588,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/organizations/{org_id}/members/invite-user` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/organizations/{org-id}/members/invite-user` pub async fn realm_organizations_with_org_id_members_invite_user_post( @@ -623,7 +623,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members/{member_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id}` pub async fn realm_organizations_with_org_id_members_with_member_id_get( @@ -660,7 +660,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/organizations/{org_id}/members/{member_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/organizations/{org-id}/members/{member-id}` pub async fn realm_organizations_with_org_id_members_with_member_id_delete( @@ -696,7 +696,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/organizations/{org_id}/members/{member_id}/organizations` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations` pub async fn realm_organizations_with_org_id_members_with_member_id_organizations_get( diff --git a/src/rest/generated_rest/other_methods.rs b/src/rest/generated_rest/other_methods.rs index 2a92a8c..b26c2b1 100644 --- a/src/rest/generated_rest/other_methods.rs +++ b/src/rest/generated_rest/other_methods.rs @@ -10,7 +10,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server` pub async fn realm_clients_with_client_uuid_authz_resource_server_get( @@ -41,7 +41,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server` pub async fn realm_clients_with_client_uuid_authz_resource_server_put( @@ -74,7 +74,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/import` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/import` pub async fn realm_clients_with_client_uuid_authz_resource_server_import_post( @@ -115,7 +115,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission` #[allow(clippy::too_many_arguments)] @@ -191,7 +191,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission` pub async fn realm_clients_with_client_uuid_authz_resource_server_permission_post( @@ -222,7 +222,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission/evaluate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/evaluate` pub async fn realm_clients_with_client_uuid_authz_resource_server_permission_evaluate_post( @@ -252,7 +252,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission/providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/providers` pub async fn realm_clients_with_client_uuid_authz_resource_server_permission_providers_get( @@ -282,7 +282,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/permission/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/search` pub async fn realm_clients_with_client_uuid_authz_resource_server_permission_search_get( @@ -329,7 +329,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy` #[allow(clippy::too_many_arguments)] @@ -405,7 +405,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy` pub async fn realm_clients_with_client_uuid_authz_resource_server_policy_post( @@ -436,7 +436,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy/evaluate` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/evaluate` pub async fn realm_clients_with_client_uuid_authz_resource_server_policy_evaluate_post( @@ -466,7 +466,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy/providers` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/providers` pub async fn realm_clients_with_client_uuid_authz_resource_server_policy_providers_get( @@ -496,7 +496,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/policy/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/search` pub async fn realm_clients_with_client_uuid_authz_resource_server_policy_search_get( @@ -543,7 +543,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource` #[allow(clippy::too_many_arguments)] @@ -628,7 +628,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource` #[allow(clippy::too_many_arguments)] @@ -714,7 +714,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/search` #[allow(clippy::too_many_arguments)] @@ -799,7 +799,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}` #[allow(clippy::too_many_arguments)] @@ -889,7 +889,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}` #[allow(clippy::too_many_arguments)] @@ -980,7 +980,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}` #[allow(clippy::too_many_arguments)] @@ -1069,7 +1069,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}/attributes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/attributes` #[allow(clippy::too_many_arguments)] @@ -1156,7 +1156,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/permissions` #[allow(clippy::too_many_arguments)] @@ -1243,7 +1243,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/resource/{resource_id}/scopes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/scopes` #[allow(clippy::too_many_arguments)] @@ -1322,7 +1322,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_get( @@ -1369,7 +1369,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_post( @@ -1400,7 +1400,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/search` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/search` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_search_get( @@ -1433,7 +1433,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_with_scope_id_get( @@ -1467,7 +1467,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_with_scope_id_put( @@ -1502,7 +1502,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_with_scope_id_delete( @@ -1533,7 +1533,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/permissions` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_with_scope_id_permissions_get( @@ -1564,7 +1564,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/scope/{scope_id}/resources` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/resources` pub async fn realm_clients_with_client_uuid_authz_resource_server_scope_with_scope_id_resources_get( @@ -1594,7 +1594,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/authz/resource-server/settings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/settings` pub async fn realm_clients_with_client_uuid_authz_resource_server_settings_get( diff --git a/src/rest/generated_rest/protocol_mappers.rs b/src/rest/generated_rest/protocol_mappers.rs index 527db13..f588208 100644 --- a/src/rest/generated_rest/protocol_mappers.rs +++ b/src/rest/generated_rest/protocol_mappers.rs @@ -17,7 +17,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/add-models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_add_models_post( @@ -51,7 +51,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_models_get( @@ -86,7 +86,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_models_post( @@ -121,7 +121,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_models_with_id_get( @@ -159,7 +159,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_models_with_id_put( @@ -198,7 +198,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_models_with_id_delete( @@ -233,7 +233,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/protocol-mappers/protocol/{protocol}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol}` pub async fn realm_client_scopes_with_client_scope_id_protocol_mappers_protocol_with_protocol_get( @@ -270,7 +270,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/add-models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_add_models_post( @@ -304,7 +304,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_models_get( @@ -339,7 +339,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_models_post( @@ -374,7 +374,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_models_with_id_get( @@ -412,7 +412,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_models_with_id_put( @@ -451,7 +451,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_models_with_id_delete( @@ -486,7 +486,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/protocol-mappers/protocol/{protocol}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol}` pub async fn realm_client_templates_with_client_scope_id_protocol_mappers_protocol_with_protocol_get( @@ -523,7 +523,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/add-models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models` pub async fn realm_clients_with_client_uuid_protocol_mappers_add_models_post( @@ -557,7 +557,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models` pub async fn realm_clients_with_client_uuid_protocol_mappers_models_get( @@ -592,7 +592,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models` pub async fn realm_clients_with_client_uuid_protocol_mappers_models_post( @@ -627,7 +627,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}` pub async fn realm_clients_with_client_uuid_protocol_mappers_models_with_id_get( @@ -665,7 +665,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}` pub async fn realm_clients_with_client_uuid_protocol_mappers_models_with_id_put( @@ -704,7 +704,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/models/{id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}` pub async fn realm_clients_with_client_uuid_protocol_mappers_models_with_id_delete( @@ -739,7 +739,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/protocol-mappers/protocol/{protocol}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/protocol/{protocol}` pub async fn realm_clients_with_client_uuid_protocol_mappers_protocol_with_protocol_get( diff --git a/src/rest/generated_rest/realms_admin.rs b/src/rest/generated_rest/realms_admin.rs index 5f6083e..3065835 100644 --- a/src/rest/generated_rest/realms_admin.rs +++ b/src/rest/generated_rest/realms_admin.rs @@ -13,7 +13,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms` /// - /// Documentation: + /// Documentation: pub async fn get( &self, brief_representation: Option, @@ -41,7 +41,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms` /// - /// Documentation: + /// Documentation: pub async fn post(&self, body: RealmRepresentation) -> Result { let builder = self .client @@ -62,7 +62,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: pub async fn realm_get(&self, realm: &str) -> Result { let realm = p(realm); let builder = self @@ -86,7 +86,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: pub async fn realm_put( &self, realm: &str, @@ -114,7 +114,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: pub async fn realm_delete(&self, realm: &str) -> Result { let realm = p(realm); let builder = self @@ -147,7 +147,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/admin-events` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_admin_events_get( &self, @@ -230,7 +230,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/admin-events` /// - /// Documentation: + /// Documentation: pub async fn realm_admin_events_delete( &self, realm: &str, @@ -255,7 +255,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-description-converter` /// - /// Documentation: + /// Documentation: pub async fn realm_client_description_converter_post( &self, realm: &str, @@ -283,7 +283,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-policies/policies` /// - /// Documentation: + /// Documentation: pub async fn realm_client_policies_policies_get( &self, realm: &str, @@ -315,7 +315,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-policies/policies` /// - /// Documentation: + /// Documentation: pub async fn realm_client_policies_policies_put( &self, realm: &str, @@ -343,7 +343,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-policies/profiles` /// - /// Documentation: + /// Documentation: pub async fn realm_client_policies_profiles_get( &self, realm: &str, @@ -375,7 +375,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-policies/profiles` /// - /// Documentation: + /// Documentation: pub async fn realm_client_policies_profiles_put( &self, realm: &str, @@ -404,7 +404,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-session-stats` /// - /// Documentation: + /// Documentation: pub async fn realm_client_session_stats_get( &self, realm: &str, @@ -431,7 +431,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-types` /// - /// Documentation: + /// Documentation: pub async fn realm_client_types_get( &self, realm: &str, @@ -458,7 +458,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-types` /// - /// Documentation: + /// Documentation: pub async fn realm_client_types_put( &self, realm: &str, @@ -482,7 +482,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/credential-registrators` /// - /// Documentation: + /// Documentation: pub async fn realm_credential_registrators_get( &self, realm: &str, @@ -509,7 +509,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/default-default-client-scopes` /// - /// Documentation: + /// Documentation: pub async fn realm_default_default_client_scopes_get( &self, realm: &str, @@ -537,7 +537,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/default-default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}` pub async fn realm_default_default_client_scopes_with_client_scope_id_put( @@ -570,7 +570,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/default-default-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}` pub async fn realm_default_default_client_scopes_with_client_scope_id_delete( @@ -601,7 +601,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/default-groups` /// - /// Documentation: + /// Documentation: pub async fn realm_default_groups_get( &self, realm: &str, @@ -626,7 +626,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/default-groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-groups/{groupId}` pub async fn realm_default_groups_with_group_id_put( @@ -659,7 +659,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/default-groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-groups/{groupId}` pub async fn realm_default_groups_with_group_id_delete( @@ -690,7 +690,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/default-optional-client-scopes` /// - /// Documentation: + /// Documentation: pub async fn realm_default_optional_client_scopes_get( &self, realm: &str, @@ -718,7 +718,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/default-optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}` pub async fn realm_default_optional_client_scopes_with_client_scope_id_put( @@ -751,7 +751,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/default-optional-client-scopes/{client_scope_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}` pub async fn realm_default_optional_client_scopes_with_client_scope_id_delete( @@ -791,7 +791,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/events` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_events_get( &self, @@ -854,7 +854,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/events` /// - /// Documentation: + /// Documentation: pub async fn realm_events_delete(&self, realm: &str) -> Result { let realm = p(realm); let builder = self @@ -875,7 +875,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/events/config` /// - /// Documentation: + /// Documentation: pub async fn realm_events_config_get( &self, realm: &str, @@ -900,7 +900,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/events/config` /// - /// Documentation: + /// Documentation: pub async fn realm_events_config_put( &self, realm: &str, @@ -925,7 +925,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/group-by-path/{path}` /// - /// Documentation: + /// Documentation: pub async fn realm_group_by_path_with_path_get( &self, realm: &str, @@ -952,7 +952,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/localization` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_get( &self, realm: &str, @@ -976,7 +976,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_with_locale_get( &self, realm: &str, @@ -1013,7 +1013,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_with_locale_post( &self, realm: &str, @@ -1045,7 +1045,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_with_locale_delete( &self, realm: &str, @@ -1074,7 +1074,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_with_locale_with_key_get( &self, realm: &str, @@ -1108,7 +1108,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_with_locale_with_key_put( &self, realm: &str, @@ -1143,7 +1143,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: pub async fn realm_localization_with_locale_with_key_delete( &self, realm: &str, @@ -1174,7 +1174,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/logout-all` /// - /// Documentation: + /// Documentation: pub async fn realm_logout_all_post( &self, realm: &str, @@ -1200,7 +1200,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/partial-export` /// - /// Documentation: + /// Documentation: pub async fn realm_partial_export_post( &self, realm: &str, @@ -1233,7 +1233,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/partialImport` /// - /// Documentation: + /// Documentation: pub async fn realm_partial_import_post( &self, realm: &str, @@ -1259,7 +1259,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/push-revocation` /// - /// Documentation: + /// Documentation: pub async fn realm_push_revocation_post( &self, realm: &str, @@ -1287,7 +1287,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/sessions/{session}` /// - /// Documentation: + /// Documentation: pub async fn realm_sessions_with_session_delete( &self, realm: &str, @@ -1323,7 +1323,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/testSMTPConnection` /// - /// Documentation: + /// Documentation: #[deprecated] pub async fn realm_test_smtp_connection_post( &self, @@ -1351,7 +1351,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users-management-permissions` /// - /// Documentation: + /// Documentation: pub async fn realm_users_management_permissions_get( &self, realm: &str, @@ -1377,7 +1377,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users-management-permissions` /// - /// Documentation: + /// Documentation: pub async fn realm_users_management_permissions_put( &self, realm: &str, diff --git a/src/rest/generated_rest/role_mapper.rs b/src/rest/generated_rest/role_mapper.rs index 509063b..915fcc7 100644 --- a/src/rest/generated_rest/role_mapper.rs +++ b/src/rest/generated_rest/role_mapper.rs @@ -14,7 +14,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings` pub async fn realm_groups_with_group_id_role_mappings_get( @@ -46,7 +46,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm` pub async fn realm_groups_with_group_id_role_mappings_realm_get( @@ -81,7 +81,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/groups/{group_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/role-mappings/realm` pub async fn realm_groups_with_group_id_role_mappings_realm_post( @@ -118,7 +118,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}/role-mappings/realm` pub async fn realm_groups_with_group_id_role_mappings_realm_delete( @@ -152,7 +152,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm/available` pub async fn realm_groups_with_group_id_role_mappings_realm_available_get( @@ -185,7 +185,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/role-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm/composite` pub async fn realm_groups_with_group_id_role_mappings_realm_composite_get( @@ -221,7 +221,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings` pub async fn realm_users_with_user_id_role_mappings_get( @@ -253,7 +253,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm` pub async fn realm_users_with_user_id_role_mappings_realm_get( @@ -288,7 +288,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/role-mappings/realm` pub async fn realm_users_with_user_id_role_mappings_realm_post( @@ -325,7 +325,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/role-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/role-mappings/realm` pub async fn realm_users_with_user_id_role_mappings_realm_delete( @@ -359,7 +359,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/available` pub async fn realm_users_with_user_id_role_mappings_realm_available_get( @@ -392,7 +392,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/role-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite` pub async fn realm_users_with_user_id_role_mappings_realm_composite_get( diff --git a/src/rest/generated_rest/roles.rs b/src/rest/generated_rest/roles.rs index 1decf40..ad4c5cb 100644 --- a/src/rest/generated_rest/roles.rs +++ b/src/rest/generated_rest/roles.rs @@ -18,7 +18,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles` pub async fn realm_clients_with_client_uuid_roles_get( @@ -69,7 +69,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/roles` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/roles` pub async fn realm_clients_with_client_uuid_roles_post( @@ -104,7 +104,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}` pub async fn realm_clients_with_client_uuid_roles_with_role_name_get( @@ -142,7 +142,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}` pub async fn realm_clients_with_client_uuid_roles_with_role_name_put( @@ -181,7 +181,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}` pub async fn realm_clients_with_client_uuid_roles_with_role_name_delete( @@ -216,7 +216,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites` pub async fn realm_clients_with_client_uuid_roles_with_role_name_composites_get( @@ -254,7 +254,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites` pub async fn realm_clients_with_client_uuid_roles_with_role_name_composites_post( @@ -294,7 +294,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites` pub async fn realm_clients_with_client_uuid_roles_with_role_name_composites_delete( @@ -331,7 +331,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/clients/{client-uuid}` pub async fn realm_clients_with_client_uuid_roles_with_role_name_composites_clients_with_client_uuid_get( @@ -366,7 +366,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/composites/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/realm` pub async fn realm_clients_with_client_uuid_roles_with_role_name_composites_realm_get( @@ -404,7 +404,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/groups` pub async fn realm_clients_with_client_uuid_roles_with_role_name_groups_get( @@ -451,7 +451,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions` pub async fn realm_clients_with_client_uuid_roles_with_role_name_management_permissions_get( @@ -487,7 +487,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions` pub async fn realm_clients_with_client_uuid_roles_with_role_name_management_permissions_put( @@ -527,7 +527,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles/{role_name}/users` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/users` pub async fn realm_clients_with_client_uuid_roles_with_role_name_users_get( @@ -576,7 +576,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles` /// - /// Documentation: + /// Documentation: pub async fn realm_roles_get( &self, realm: &str, @@ -619,7 +619,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/roles` /// - /// Documentation: + /// Documentation: pub async fn realm_roles_post( &self, realm: &str, @@ -646,7 +646,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}` pub async fn realm_roles_with_role_name_get( @@ -681,7 +681,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles/{role-name}` pub async fn realm_roles_with_role_name_put( @@ -717,7 +717,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles/{role-name}` pub async fn realm_roles_with_role_name_delete( @@ -749,7 +749,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites` pub async fn realm_roles_with_role_name_composites_get( @@ -784,7 +784,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/roles/{role-name}/composites` pub async fn realm_roles_with_role_name_composites_post( @@ -821,7 +821,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles/{role-name}/composites` pub async fn realm_roles_with_role_name_composites_delete( @@ -856,7 +856,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites/clients/{client-uuid}` pub async fn realm_roles_with_role_name_composites_clients_with_client_uuid_get( @@ -890,7 +890,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites/realm` pub async fn realm_roles_with_role_name_composites_realm_get( @@ -925,7 +925,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/groups` pub async fn realm_roles_with_role_name_groups_get( @@ -969,7 +969,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/management/permissions` pub async fn realm_roles_with_role_name_management_permissions_get( @@ -1002,7 +1002,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/roles/{role_name}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles/{role-name}/management/permissions` pub async fn realm_roles_with_role_name_management_permissions_put( @@ -1039,7 +1039,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/users` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/users` pub async fn realm_roles_with_role_name_users_get( diff --git a/src/rest/generated_rest/roles_by_id.rs b/src/rest/generated_rest/roles_by_id.rs index a37773b..fb83c2e 100644 --- a/src/rest/generated_rest/roles_by_id.rs +++ b/src/rest/generated_rest/roles_by_id.rs @@ -14,7 +14,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}` pub async fn realm_roles_by_id_with_role_id_get( @@ -49,7 +49,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/roles-by-id/{role_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles-by-id/{role-id}` pub async fn realm_roles_by_id_with_role_id_put( @@ -85,7 +85,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/roles-by-id/{role_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles-by-id/{role-id}` pub async fn realm_roles_by_id_with_role_id_delete( @@ -120,7 +120,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites` pub async fn realm_roles_by_id_with_role_id_composites_get( @@ -167,7 +167,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/roles-by-id/{role_id}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/roles-by-id/{role-id}/composites` pub async fn realm_roles_by_id_with_role_id_composites_post( @@ -204,7 +204,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/roles-by-id/{role_id}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites` pub async fn realm_roles_by_id_with_role_id_composites_delete( @@ -239,7 +239,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/composites/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites/clients/{clientUuid}` pub async fn realm_roles_by_id_with_role_id_composites_clients_with_client_uuid_get( @@ -273,7 +273,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/composites/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites/realm` pub async fn realm_roles_by_id_with_role_id_composites_realm_get( @@ -305,7 +305,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles-by-id/{role_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles-by-id/{role-id}/management/permissions` pub async fn realm_roles_by_id_with_role_id_management_permissions_get( @@ -338,7 +338,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/roles-by-id/{role_id}/management/permissions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles-by-id/{role-id}/management/permissions` pub async fn realm_roles_by_id_with_role_id_management_permissions_put( diff --git a/src/rest/generated_rest/scope_mappings.rs b/src/rest/generated_rest/scope_mappings.rs index 46ed8bc..a6a2aff 100644 --- a/src/rest/generated_rest/scope_mappings.rs +++ b/src/rest/generated_rest/scope_mappings.rs @@ -14,7 +14,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings` #[deprecated] @@ -48,7 +48,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_clients_with_client_get( @@ -86,7 +86,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_clients_with_client_post( @@ -126,7 +126,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_clients_with_client_delete( @@ -163,7 +163,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/available` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_clients_with_client_available_get( @@ -199,7 +199,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/clients/{client}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/composite` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_clients_with_client_composite_get( @@ -237,7 +237,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_realm_get( @@ -272,7 +272,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_realm_post( @@ -309,7 +309,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_realm_delete( @@ -343,7 +343,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/available` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_realm_available_get( @@ -376,7 +376,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes/{client_scope_id}/scope-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/composite` pub async fn realm_client_scopes_with_client_scope_id_scope_mappings_realm_composite_get( @@ -412,7 +412,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings` #[deprecated] @@ -446,7 +446,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_clients_with_client_get( @@ -484,7 +484,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_clients_with_client_post( @@ -524,7 +524,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_clients_with_client_delete( @@ -561,7 +561,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/available` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_clients_with_client_available_get( @@ -597,7 +597,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/clients/{client}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/composite` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_clients_with_client_composite_get( @@ -635,7 +635,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_realm_get( @@ -670,7 +670,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_realm_post( @@ -707,7 +707,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_realm_delete( @@ -741,7 +741,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/available` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_realm_available_get( @@ -774,7 +774,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates/{client_scope_id}/scope-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/composite` pub async fn realm_client_templates_with_client_scope_id_scope_mappings_realm_composite_get( @@ -810,7 +810,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings` #[deprecated] @@ -844,7 +844,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}` pub async fn realm_clients_with_client_uuid_scope_mappings_clients_with_client_get( @@ -882,7 +882,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}` pub async fn realm_clients_with_client_uuid_scope_mappings_clients_with_client_post( @@ -922,7 +922,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}` pub async fn realm_clients_with_client_uuid_scope_mappings_clients_with_client_delete( @@ -959,7 +959,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/available` pub async fn realm_clients_with_client_uuid_scope_mappings_clients_with_client_available_get( @@ -995,7 +995,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/clients/{client}/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/composite` pub async fn realm_clients_with_client_uuid_scope_mappings_clients_with_client_composite_get( @@ -1033,7 +1033,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm` pub async fn realm_clients_with_client_uuid_scope_mappings_realm_get( @@ -1068,7 +1068,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm` pub async fn realm_clients_with_client_uuid_scope_mappings_realm_post( @@ -1105,7 +1105,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm` pub async fn realm_clients_with_client_uuid_scope_mappings_realm_delete( @@ -1139,7 +1139,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm/available` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/available` pub async fn realm_clients_with_client_uuid_scope_mappings_realm_available_get( @@ -1172,7 +1172,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/scope-mappings/realm/composite` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/composite` pub async fn realm_clients_with_client_uuid_scope_mappings_realm_composite_get( diff --git a/src/rest/generated_rest/users.rs b/src/rest/generated_rest/users.rs index 59326d0..0648e25 100644 --- a/src/rest/generated_rest/users.rs +++ b/src/rest/generated_rest/users.rs @@ -27,7 +27,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_users_get( &self, @@ -111,7 +111,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users` /// - /// Documentation: + /// Documentation: pub async fn realm_users_post( &self, realm: &str, @@ -132,20 +132,23 @@ impl KeycloakAdmin { /// Parameters: /// /// - `realm`: realm name (not id!) - /// - `email`: email filter - /// - `email_verified` + /// - `email`: A String contained in email, or the complete email, if param "exact" is true + /// - `email_verified`: whether the email has been verified /// - `enabled`: Boolean representing if user is enabled or not - /// - `first_name`: first name filter - /// - `last_name`: last name filter - /// - `q` - /// - `search`: arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. - /// - `username`: username filter + /// - `exact`: Boolean which defines whether the params "last", "first", "email" and "username" must match exactly + /// - `first_name`: A String contained in firstName, or the complete firstName, if param "exact" is true + /// - `idp_alias`: The alias of an Identity Provider linked to the user + /// - `idp_user_id`: The userId at an Identity Provider linked to the user + /// - `last_name`: A String contained in lastName, or the complete lastName, if param "exact" is true + /// - `q`: A query to search for custom attributes, in the format 'key1:value2 key2:value2' + /// - `search`: A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search. + /// - `username`: A String contained in username, or the complete username, if param "exact" is true /// /// Resource: `Users` /// /// `GET /admin/realms/{realm}/users/count` /// - /// Documentation: + /// Documentation: #[allow(clippy::too_many_arguments)] pub async fn realm_users_count_get( &self, @@ -153,7 +156,10 @@ impl KeycloakAdmin { email: Option, email_verified: Option, enabled: Option, + exact: Option, first_name: Option, + idp_alias: Option, + idp_user_id: Option, last_name: Option, q: Option, search: Option, @@ -173,9 +179,18 @@ impl KeycloakAdmin { if let Some(v) = enabled { builder = builder.query(&[("enabled", v)]); } + if let Some(v) = exact { + builder = builder.query(&[("exact", v)]); + } if let Some(v) = first_name { builder = builder.query(&[("firstName", v)]); } + if let Some(v) = idp_alias { + builder = builder.query(&[("idpAlias", v)]); + } + if let Some(v) = idp_user_id { + builder = builder.query(&[("idpUserId", v)]); + } if let Some(v) = last_name { builder = builder.query(&[("lastName", v)]); } @@ -200,7 +215,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/profile` /// - /// Documentation: + /// Documentation: pub async fn realm_users_profile_get(&self, realm: &str) -> Result { let realm = p(realm); let builder = self @@ -220,7 +235,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/profile` /// - /// Documentation: + /// Documentation: pub async fn realm_users_profile_put( &self, realm: &str, @@ -244,7 +259,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/profile/metadata` /// - /// Documentation: + /// Documentation: pub async fn realm_users_profile_metadata_get( &self, realm: &str, @@ -273,7 +288,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}` pub async fn realm_users_with_user_id_get( @@ -309,7 +324,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}` pub async fn realm_users_with_user_id_put( @@ -342,7 +357,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}` pub async fn realm_users_with_user_id_delete( @@ -371,7 +386,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/configured-user-storage-credential-types` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/configured-user-storage-credential-types` pub async fn realm_users_with_user_id_configured_user_storage_credential_types_get( @@ -403,7 +418,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/consents` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/consents` pub async fn realm_users_with_user_id_consents_get( @@ -438,7 +453,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/consents/{client}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/consents/{client}` pub async fn realm_users_with_user_id_consents_with_client_delete( @@ -470,7 +485,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/credentials` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/credentials` pub async fn realm_users_with_user_id_credentials_get( @@ -505,7 +520,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}` pub async fn realm_users_with_user_id_credentials_with_credential_id_delete( @@ -543,7 +558,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}/moveAfter/{new_previous_credential_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveAfter/{newPreviousCredentialId}` pub async fn realm_users_with_user_id_credentials_with_credential_id_move_after_with_new_previous_credential_id_post( @@ -582,7 +597,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}/moveToFirst` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveToFirst` pub async fn realm_users_with_user_id_credentials_with_credential_id_move_to_first_post( @@ -620,7 +635,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/credentials/{credential_id}/userLabel` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/userLabel` pub async fn realm_users_with_user_id_credentials_with_credential_id_user_label_put( @@ -659,7 +674,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/disable-credential-types` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/disable-credential-types` pub async fn realm_users_with_user_id_disable_credential_types_put( @@ -699,7 +714,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/execute-actions-email` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/execute-actions-email` pub async fn realm_users_with_user_id_execute_actions_email_put( @@ -745,7 +760,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/federated-identity` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/federated-identity` pub async fn realm_users_with_user_id_federated_identity_get( @@ -773,6 +788,7 @@ impl KeycloakAdmin { /// - `realm`: realm name (not id!) /// - `user_id` /// - `provider`: Social login provider id + /// - `body` /// /// Returns response for future processing. /// @@ -780,7 +796,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/federated-identity/{provider}` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/federated-identity/{provider}` pub async fn realm_users_with_user_id_federated_identity_with_provider_post( @@ -788,6 +804,7 @@ impl KeycloakAdmin { realm: &str, user_id: &str, provider: &str, + body: FederatedIdentityRepresentation, ) -> Result { let realm = p(realm); let user_id = p(user_id); @@ -798,6 +815,7 @@ impl KeycloakAdmin { "{}/admin/realms/{realm}/users/{user_id}/federated-identity/{provider}", self.url )) + .json(&body) .bearer_auth(self.token_supplier.get(&self.url).await?); let response = builder.send().await?; error_check(response).await.map(From::from) @@ -817,7 +835,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/federated-identity/{provider}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/federated-identity/{provider}` pub async fn realm_users_with_user_id_federated_identity_with_provider_delete( @@ -853,7 +871,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/groups` pub async fn realm_users_with_user_id_groups_get( @@ -900,7 +918,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/groups/count` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/groups/count` pub async fn realm_users_with_user_id_groups_count_get( @@ -937,7 +955,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/groups/{groupId}` pub async fn realm_users_with_user_id_groups_with_group_id_put( @@ -973,7 +991,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}/groups/{groupId}` pub async fn realm_users_with_user_id_groups_with_group_id_delete( @@ -1007,7 +1025,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/impersonation` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/impersonation` pub async fn realm_users_with_user_id_impersonation_post( @@ -1041,7 +1059,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/logout` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/logout` pub async fn realm_users_with_user_id_logout_post( @@ -1074,7 +1092,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/offline-sessions/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/offline-sessions/{clientUuid}` pub async fn realm_users_with_user_id_offline_sessions_with_client_uuid_get( @@ -1111,7 +1129,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/reset-password` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/reset-password` pub async fn realm_users_with_user_id_reset_password_put( @@ -1149,7 +1167,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/reset-password-email` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/reset-password-email` #[deprecated] @@ -1196,7 +1214,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}/send-verify-email` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}/send-verify-email` pub async fn realm_users_with_user_id_send_verify_email_put( @@ -1241,7 +1259,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/sessions` pub async fn realm_users_with_user_id_sessions_get( @@ -1271,7 +1289,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/unmanagedAttributes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/unmanagedAttributes` pub async fn realm_users_with_user_id_unmanaged_attributes_get( diff --git a/src/types.rs b/src/types.rs index f4be0a6..fb2e358 100644 --- a/src/types.rs +++ b/src/types.rs @@ -576,6 +576,7 @@ pub struct ComponentRepresentation { #[cfg_attr(feature = "schemars", derive(JsonSchema))] #[serde(rename_all = "camelCase")] pub struct ComponentTypeRepresentation { + pub client_properties: Option>, pub help_text: Option, pub id: Option, pub metadata: Option>, @@ -919,6 +920,7 @@ pub struct KeyStoreConfig { pub enum KeyUse { Sig, Enc, + JwtSvid, } #[skip_serializing_none] @@ -1394,8 +1396,6 @@ pub struct RealmRepresentation { pub max_temporary_lockouts: Option, pub minimum_quick_login_wait_seconds: Option, pub not_before: Option, - pub o_auth2_device_code_lifespan: Option, - pub o_auth2_device_polling_interval: Option, pub oauth2_device_code_lifespan: Option, pub oauth2_device_polling_interval: Option, #[deprecated] @@ -1653,6 +1653,7 @@ pub struct SocialLinkRepresentation { #[serde(rename_all = "camelCase")] pub struct UPAttribute { pub annotations: Option>, + pub default_value: Option, pub display_name: Option, pub group: Option, pub multivalued: Option, @@ -1775,6 +1776,7 @@ pub struct UserProfileAttributeGroupMetadata { #[serde(rename_all = "camelCase")] pub struct UserProfileAttributeMetadata { pub annotations: Option>, + pub default_value: Option, pub display_name: Option, pub group: Option, pub multivalued: Option, @@ -1844,3 +1846,59 @@ pub struct UserSessionRepresentation { pub user_id: Option, pub username: Option, } + +#[skip_serializing_none] +#[derive(Clone, Debug, Default, PartialEq, Eq, Deserialize, Serialize)] +#[cfg_attr(feature = "schemars", derive(JsonSchema))] +pub struct WorkflowConditionRepresentation { + pub config: Option, + pub id: Option, + pub uses: Option, +} + +#[skip_serializing_none] +#[derive(Clone, Debug, Default, PartialEq, Eq, Deserialize, Serialize)] +#[cfg_attr(feature = "schemars", derive(JsonSchema))] +#[serde(rename_all = "camelCase")] +pub struct WorkflowRepresentation { + pub enabled: Option, + pub id: Option, + #[serde(rename = "if")] + pub if_: Option>, + pub name: Option, + pub on: Option, + pub on_events_reset: Option>, + pub on_values: Option>, + pub recurring: Option, + #[serde(rename = "reset-on")] + pub reset_on: Option, + pub state: Option, + pub steps: Option>, + pub uses: Option, + pub with: Option, +} + +#[skip_serializing_none] +#[derive(Clone, Debug, Default, PartialEq, Eq, Deserialize, Serialize)] +#[cfg_attr(feature = "schemars", derive(JsonSchema))] +pub struct WorkflowSetRepresentation { + pub workflows: Option>, +} + +#[skip_serializing_none] +#[derive(Clone, Debug, Default, PartialEq, Eq, Deserialize, Serialize)] +#[cfg_attr(feature = "schemars", derive(JsonSchema))] +pub struct WorkflowStateRepresentation { + pub errors: Option>, +} + +#[skip_serializing_none] +#[derive(Clone, Debug, Default, PartialEq, Eq, Deserialize, Serialize)] +#[cfg_attr(feature = "schemars", derive(JsonSchema))] +pub struct WorkflowStepRepresentation { + pub after: Option, + pub config: Option, + pub id: Option, + pub priority: Option, + pub uses: Option, +}