diff --git a/Cargo.toml b/Cargo.toml index 763caa5..bb722d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "keycloak" -version = "26.0.1" +version = "26.0.200" authors = ["Alexander Korolev "] edition = "2021" categories = ["api-bindings", "asynchronous"] diff --git a/README.md b/README.md index debfc90..83e716f 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.0.0](https://www.keycloak.org/docs-api/26.0.0/rest-api/index.html). +Implements [Keycloak Admin REST API version 26.0.2](https://www.keycloak.org/docs-api/26.0.2/rest-api/index.html). ### Feature flags diff --git a/api/openapi.json b/api/openapi.json index 8b5a2a2..b74f5c8 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -29,6 +29,8 @@ "name" : "Identity Providers" }, { "name" : "Key" + }, { + "name" : "Organizations" }, { "name" : "Protocol Mappers" }, { @@ -9946,6 +9948,615 @@ } } ] }, + "/admin/realms/{realm}/organizations" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns a paginated list of organizations filtered according to the specified parameters", + "parameters" : [ { + "name" : "exact", + "in" : "query", + "description" : "Boolean which defines whether the param 'search' must match exactly or not", + "schema" : { + "type" : "boolean" + } + }, { + "name" : "first", + "in" : "query", + "description" : "The position of the first result to be processed (pagination offset)", + "schema" : { + "format" : "int32", + "default" : "0", + "type" : "integer" + } + }, { + "name" : "max", + "in" : "query", + "description" : "The maximum number of results to be returned - defaults to 10", + "schema" : { + "format" : "int32", + "default" : "10", + "type" : "integer" + } + }, { + "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" : "A String representing either an organization name or domain", + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + } + }, + "post" : { + "tags" : [ "Organizations" ], + "summary" : "Creates a new organization", + "requestBody" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/OrganizationRepresentation" + } + } + } + }, + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/members/{id}/organizations" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns the organizations associated with the user that has the specified id", + "parameters" : [ { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns the organization representation", + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + }, + "put" : { + "tags" : [ "Organizations" ], + "summary" : "Updates the organization", + "requestBody" : { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/OrganizationRepresentation" + } + } + } + }, + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "delete" : { + "tags" : [ "Organizations" ], + "summary" : "Deletes the organization", + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/identity-providers" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns all identity providers associated with the organization", + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/IdentityProviderRepresentation" + } + } + } + } + } + } + }, + "post" : { + "tags" : [ "Organizations" ], + "summary" : "Adds the identity provider with the specified id to the organization", + "description" : "Adds, or associates, an existing identity provider with the organization. If no identity provider is found, or if it is already associated with the organization, an error response is returned", + "requestBody" : { + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + } + }, + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/identity-providers/{alias}" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns the identity provider associated with the organization that has the specified alias", + "description" : "Searches for an identity provider with the given alias. If one is found and is associated with the organization, it is returned. Otherwise, an error response with status NOT_FOUND is returned", + "parameters" : [ { + "name" : "alias", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/IdentityProviderRepresentation" + } + } + } + } + } + }, + "delete" : { + "tags" : [ "Organizations" ], + "summary" : "Removes the identity provider with the specified alias from the organization", + "description" : "Breaks the association between the identity provider and the organization. The provider itself is not deleted. If no provider is found, or if it is not currently associated with the org, an error response is returned", + "parameters" : [ { + "name" : "alias", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/members" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns a paginated list of organization members filtered according to the specified parameters", + "parameters" : [ { + "name" : "exact", + "in" : "query", + "description" : "Boolean which defines whether the param 'search' must match exactly or not", + "schema" : { + "type" : "boolean" + } + }, { + "name" : "first", + "in" : "query", + "description" : "The position of the first result to be processed (pagination offset)", + "schema" : { + "format" : "int32", + "default" : "0", + "type" : "integer" + } + }, { + "name" : "max", + "in" : "query", + "description" : "The maximum number of results to be returned. Defaults to 10", + "schema" : { + "format" : "int32", + "default" : "10", + "type" : "integer" + } + }, { + "name" : "search", + "in" : "query", + "description" : "A String representing either a member's username, e-mail, first name, or last name.", + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/MemberRepresentation" + } + } + } + } + } + } + }, + "post" : { + "tags" : [ "Organizations" ], + "summary" : "Adds the user with the specified id as a member of the organization", + "description" : "Adds, or associates, an existing user with the organization. If no user is found, or if it is already associated with the organization, an error response is returned", + "requestBody" : { + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + } + }, + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/members/count" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns number of members in the organization.", + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "format" : "int64", + "type" : "integer" + } + } + } + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/members/invite-existing-user" : { + "post" : { + "tags" : [ "Organizations" ], + "summary" : "Invites an existing user to the organization, using the specified user id", + "requestBody" : { + "content" : { + "application/x-www-form-urlencoded" : { + "schema" : { + "type" : "object", + "properties" : { + "id" : { + "type" : "string" + } + } + } + } + } + }, + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/members/invite-user" : { + "post" : { + "tags" : [ "Organizations" ], + "summary" : "Invites an existing user or sends a registration link to a new user, based on the provided e-mail address.", + "description" : "If the user with the given e-mail address exists, it sends an invitation link, otherwise it sends a registration link.", + "requestBody" : { + "content" : { + "application/x-www-form-urlencoded" : { + "schema" : { + "type" : "object", + "properties" : { + "email" : { + "type" : "string" + }, + "firstName" : { + "type" : "string" + }, + "lastName" : { + "type" : "string" + } + } + } + } + } + }, + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + }, { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/members/{id}" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns the member of the organization with the specified id", + "description" : "Searches for auser with the given id. If one is found, and is currently a member of the organization, returns it. Otherwise,an error response with status NOT_FOUND is returned", + "parameters" : [ { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/MemberRepresentation" + } + } + } + } + } + }, + "delete" : { + "tags" : [ "Organizations" ], + "summary" : "Removes the user with the specified id from the organization", + "description" : "Breaks the association between the user and organization. The user itself is deleted in case the membership is managed, otherwise the user is not deleted. If no user is found, or if they are not a member of the organization, an error response is returned", + "parameters" : [ { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK" + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, + "/admin/realms/{realm}/organizations/{id}/members/{id}/organizations" : { + "get" : { + "tags" : [ "Organizations" ], + "summary" : "Returns the organizations associated with the user that has the specified id", + "parameters" : [ { + "name" : "id", + "in" : "path", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + } + }, + "parameters" : [ { + "name" : "realm", + "in" : "path", + "description" : "realm name (not id!)", + "required" : true, + "schema" : { + "type" : "string" + } + } ] + }, "/admin/realms/{realm}/partial-export" : { "post" : { "tags" : [ "Realms Admin" ], diff --git a/src/lib.rs b/src/lib.rs index 82f82b5..ab065de 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.0.0](https://www.keycloak.org/docs-api/26.0.0/rest-api/index.html). +Implements [Keycloak Admin REST API version 26.0.2](https://www.keycloak.org/docs-api/26.0.2/rest-api/index.html). ### Feature flags diff --git a/src/rest/generated_rest.rs b/src/rest/generated_rest.rs index d713cb5..a96d877 100644 --- a/src/rest/generated_rest.rs +++ b/src/rest/generated_rest.rs @@ -16,7 +16,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/attack-detection/brute-force/users` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-attack-detection")] pub async fn realm_attack_detection_brute_force_users_delete( &self, @@ -46,7 +46,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}` #[cfg(feature = "tag-attack-detection")] @@ -79,7 +79,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}` #[cfg(feature = "tag-attack-detection")] @@ -114,7 +114,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/authenticator-providers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_authenticator_providers_get( &self, @@ -142,7 +142,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/client-authenticator-providers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_client_authenticator_providers_get( &self, @@ -173,7 +173,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] #[deprecated] pub async fn realm_authentication_config_post( @@ -205,7 +205,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/config-description/{provider_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/config-description/{providerId}` #[cfg(feature = "tag-authentication-management")] @@ -238,7 +238,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_config_with_id_get( &self, @@ -270,7 +270,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_config_with_id_put( &self, @@ -304,7 +304,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/config/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_config_with_id_delete( &self, @@ -338,7 +338,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/executions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_executions_post( &self, @@ -369,7 +369,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/executions/{execution_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/executions/{executionId}` #[cfg(feature = "tag-authentication-management")] @@ -402,7 +402,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/executions/{execution_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/authentication/executions/{executionId}` #[cfg(feature = "tag-authentication-management")] @@ -439,7 +439,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/executions/{execution_id}/config` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/executions/{executionId}/config` #[cfg(feature = "tag-authentication-management")] @@ -475,7 +475,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}` #[cfg(feature = "tag-authentication-management")] @@ -513,7 +513,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` #[cfg(feature = "tag-authentication-management")] @@ -548,7 +548,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` #[cfg(feature = "tag-authentication-management")] @@ -580,7 +580,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/flows` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_flows_get( &self, @@ -611,7 +611,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/flows` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_flows_post( &self, @@ -645,7 +645,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/flows/{flow_alias}/copy` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/authentication/flows/{flowAlias}/copy` #[cfg(feature = "tag-authentication-management")] @@ -680,7 +680,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/flows/{flow_alias}/executions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/authentication/flows/{flowAlias}/executions` #[cfg(feature = "tag-authentication-management")] @@ -714,7 +714,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/flows/{flow_alias}/executions` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/authentication/flows/{flowAlias}/executions` #[cfg(feature = "tag-authentication-management")] @@ -753,7 +753,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` #[cfg(feature = "tag-authentication-management")] @@ -791,7 +791,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` #[cfg(feature = "tag-authentication-management")] @@ -826,7 +826,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_flows_with_id_get( &self, @@ -858,7 +858,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_flows_with_id_put( &self, @@ -892,7 +892,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/flows/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_flows_with_id_delete( &self, @@ -923,7 +923,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/form-action-providers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_form_action_providers_get( &self, @@ -951,7 +951,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/form-providers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_form_providers_get( &self, @@ -979,7 +979,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/per-client-config-description` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_per_client_config_description_get( &self, @@ -1010,7 +1010,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/register-required-action` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_register_required_action_post( &self, @@ -1040,7 +1040,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_get( &self, @@ -1069,7 +1069,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_get( &self, @@ -1101,7 +1101,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_put( &self, @@ -1135,7 +1135,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/required-actions/{alias}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_delete( &self, @@ -1167,7 +1167,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_config_get( &self, @@ -1199,7 +1199,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_config_put( &self, @@ -1233,7 +1233,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/authentication/required-actions/{alias}/config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_config_delete( &self, @@ -1265,7 +1265,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/required-actions/{alias}/config-description` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_config_description_get( &self, @@ -1298,7 +1298,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_lower_priority_post( &self, @@ -1331,7 +1331,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_required_actions_with_alias_raise_priority_post( &self, @@ -1361,7 +1361,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/authentication/unregistered-required-actions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-authentication-management")] pub async fn realm_authentication_unregistered_required_actions_get( &self, @@ -1393,7 +1393,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}` #[cfg(feature = "tag-client-attribute-certificate")] @@ -1430,7 +1430,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` #[cfg(feature = "tag-client-attribute-certificate")] @@ -1468,7 +1468,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` #[cfg(feature = "tag-client-attribute-certificate")] @@ -1508,7 +1508,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` #[cfg(feature = "tag-client-attribute-certificate")] @@ -1546,7 +1546,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` #[cfg(feature = "tag-client-attribute-certificate")] @@ -1582,7 +1582,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` #[cfg(feature = "tag-client-attribute-certificate")] @@ -1616,7 +1616,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients-initial-access` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-initial-access")] pub async fn realm_clients_initial_access_get( &self, @@ -1645,7 +1645,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients-initial-access` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-initial-access")] pub async fn realm_clients_initial_access_post( &self, @@ -1674,7 +1674,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients-initial-access/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-initial-access")] pub async fn realm_clients_initial_access_with_id_delete( &self, @@ -1707,7 +1707,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-registration-policy/providers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-registration-policy")] pub async fn realm_client_registration_policy_providers_get( &self, @@ -1739,7 +1739,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}` #[cfg(feature = "tag-client-role-mappings")] @@ -1778,7 +1778,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}` #[cfg(feature = "tag-client-role-mappings")] @@ -1817,7 +1817,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}` #[cfg(feature = "tag-client-role-mappings")] @@ -1856,7 +1856,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` #[cfg(feature = "tag-client-role-mappings")] @@ -1893,7 +1893,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` #[cfg(feature = "tag-client-role-mappings")] @@ -1933,7 +1933,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}` #[cfg(feature = "tag-client-role-mappings")] @@ -1972,7 +1972,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}` #[cfg(feature = "tag-client-role-mappings")] @@ -2011,7 +2011,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}` #[cfg(feature = "tag-client-role-mappings")] @@ -2050,7 +2050,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` #[cfg(feature = "tag-client-role-mappings")] @@ -2087,7 +2087,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` #[cfg(feature = "tag-client-role-mappings")] @@ -2127,7 +2127,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-scopes` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-scopes")] pub async fn realm_client_scopes_get( &self, @@ -2155,7 +2155,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-scopes` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-scopes")] pub async fn realm_client_scopes_post( &self, @@ -2183,7 +2183,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}` #[cfg(feature = "tag-client-scopes")] @@ -2217,7 +2217,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}` #[cfg(feature = "tag-client-scopes")] @@ -2253,7 +2253,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}` #[cfg(feature = "tag-client-scopes")] @@ -2286,7 +2286,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-templates` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-scopes")] pub async fn realm_client_templates_get( &self, @@ -2317,7 +2317,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-templates` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-client-scopes")] pub async fn realm_client_templates_post( &self, @@ -2348,7 +2348,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}` #[cfg(feature = "tag-client-scopes")] @@ -2382,7 +2382,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}` #[cfg(feature = "tag-client-scopes")] @@ -2418,7 +2418,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}` #[cfg(feature = "tag-client-scopes")] @@ -2459,7 +2459,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-clients")] #[allow(clippy::too_many_arguments)] pub async fn realm_clients_get( @@ -2512,7 +2512,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-clients")] pub async fn realm_clients_post( &self, @@ -2540,7 +2540,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}` #[cfg(feature = "tag-clients")] @@ -2574,7 +2574,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/clients/{client-uuid}` #[cfg(feature = "tag-clients")] @@ -2610,7 +2610,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/clients/{client_uuid}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/clients/{client-uuid}` #[cfg(feature = "tag-clients")] @@ -2644,7 +2644,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` #[cfg(feature = "tag-clients")] @@ -2677,7 +2677,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` #[cfg(feature = "tag-clients")] @@ -2710,7 +2710,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` #[cfg(feature = "tag-clients")] @@ -2743,7 +2743,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` #[cfg(feature = "tag-clients")] @@ -2777,7 +2777,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` #[cfg(feature = "tag-clients")] @@ -2809,7 +2809,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}` #[cfg(feature = "tag-clients")] @@ -2845,7 +2845,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}` #[cfg(feature = "tag-clients")] @@ -2883,7 +2883,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` #[cfg(feature = "tag-clients")] @@ -2926,7 +2926,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` #[cfg(feature = "tag-clients")] @@ -2969,7 +2969,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` #[cfg(feature = "tag-clients")] @@ -3011,7 +3011,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` #[cfg(feature = "tag-clients")] @@ -3050,7 +3050,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` #[cfg(feature = "tag-clients")] @@ -3091,7 +3091,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` #[cfg(feature = "tag-clients")] @@ -3129,7 +3129,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}` #[cfg(feature = "tag-clients")] @@ -3165,7 +3165,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` #[cfg(feature = "tag-clients")] @@ -3199,7 +3199,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` #[cfg(feature = "tag-clients")] @@ -3237,7 +3237,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/nodes` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/nodes` #[cfg(feature = "tag-clients")] @@ -3273,7 +3273,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}` #[cfg(feature = "tag-clients")] @@ -3309,7 +3309,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` #[cfg(feature = "tag-clients")] @@ -3344,7 +3344,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` #[cfg(feature = "tag-clients")] @@ -3385,7 +3385,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` #[cfg(feature = "tag-clients")] @@ -3417,7 +3417,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}` #[cfg(feature = "tag-clients")] @@ -3453,7 +3453,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}` #[cfg(feature = "tag-clients")] @@ -3489,7 +3489,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` #[cfg(feature = "tag-clients")] @@ -3522,7 +3522,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` #[cfg(feature = "tag-clients")] @@ -3555,7 +3555,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` #[cfg(feature = "tag-clients")] @@ -3588,7 +3588,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` #[cfg(feature = "tag-clients")] @@ -3621,7 +3621,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` #[cfg(feature = "tag-clients")] @@ -3656,7 +3656,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` #[cfg(feature = "tag-clients")] @@ -3699,7 +3699,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/components` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-component")] pub async fn realm_components_get( &self, @@ -3737,7 +3737,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/components` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-component")] pub async fn realm_components_post( &self, @@ -3763,7 +3763,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-component")] pub async fn realm_components_with_id_get( &self, @@ -3790,7 +3790,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-component")] pub async fn realm_components_with_id_put( &self, @@ -3819,7 +3819,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/components/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-component")] pub async fn realm_components_with_id_delete( &self, @@ -3849,7 +3849,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/components/{id}/sub-component-types` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-component")] pub async fn realm_components_with_id_sub_component_types_get( &self, @@ -3892,7 +3892,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-groups")] #[allow(clippy::too_many_arguments)] pub async fn realm_groups_get( @@ -3949,7 +3949,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/groups` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-groups")] pub async fn realm_groups_post( &self, @@ -3978,7 +3978,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/count` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-groups")] pub async fn realm_groups_count_get( &self, @@ -4010,7 +4010,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}` #[cfg(feature = "tag-groups")] @@ -4044,7 +4044,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/groups/{group-id}` #[cfg(feature = "tag-groups")] @@ -4078,7 +4078,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/groups/{group-id}` #[cfg(feature = "tag-groups")] @@ -4117,7 +4117,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/children` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/children` #[cfg(feature = "tag-groups")] @@ -4174,7 +4174,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/groups/{group_id}/children` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/groups/{group-id}/children` #[cfg(feature = "tag-groups")] @@ -4209,7 +4209,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` #[cfg(feature = "tag-groups")] @@ -4243,7 +4243,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` #[cfg(feature = "tag-groups")] @@ -4281,7 +4281,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/groups/{group_id}/members` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/groups/{group-id}/members` #[cfg(feature = "tag-groups")] @@ -4328,7 +4328,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/identity-provider/import-config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_import_config_post( &self, @@ -4363,7 +4363,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_get( &self, @@ -4414,7 +4414,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/identity-provider/instances` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_post( &self, @@ -4445,7 +4445,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_get( &self, @@ -4477,7 +4477,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_put( &self, @@ -4511,7 +4511,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/identity-provider/instances/{alias}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_delete( &self, @@ -4544,7 +4544,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/export` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_export_get( &self, @@ -4580,7 +4580,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_management_permissions_get( &self, @@ -4612,7 +4612,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_management_permissions_put( &self, @@ -4645,7 +4645,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mapper-types` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_mapper_types_get( &self, @@ -4676,7 +4676,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_mappers_get( &self, @@ -4710,7 +4710,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/identity-provider/instances/{alias}/mappers` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_mappers_post( &self, @@ -4744,7 +4744,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_mappers_with_id_get( &self, @@ -4779,7 +4779,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_mappers_with_id_put( &self, @@ -4816,7 +4816,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_mappers_with_id_delete( &self, @@ -4850,7 +4850,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/instances/{alias}/reload-keys` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_instances_with_alias_reload_keys_get( &self, @@ -4881,7 +4881,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/identity-provider/providers/{provider_id}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-identity-providers")] pub async fn realm_identity_provider_providers_with_provider_id_get( &self, @@ -4911,7 +4911,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/keys` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-key")] pub async fn realm_keys_get( &self, @@ -4926,6 +4926,637 @@ impl KeycloakAdmin { Ok(error_check(response).await?.json().await?) } + //

Organizations

+ + /// Returns a paginated list of organizations filtered according to the specified parameters + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `exact`: Boolean which defines whether the param 'search' must match exactly or not + /// - `first`: The position of the first result to be processed (pagination offset) + /// - `max`: The maximum number of results to be returned - defaults to 10 + /// - `q`: A query to search for custom attributes, in the format 'key1:value2 key2:value2' + /// - `search`: A String representing either an organization name or domain + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_get( + &self, + realm: &str, + exact: Option, + first: Option, + max: Option, + q: Option, + search: Option, + ) -> Result, KeycloakError> { + let realm = p(realm); + let mut builder = self + .client + .get(format!("{}/admin/realms/{realm}/organizations", self.url)) + .bearer_auth(self.token_supplier.get(&self.url).await?); + if let Some(v) = exact { + builder = builder.query(&[("exact", v)]); + } + if let Some(v) = first { + builder = builder.query(&[("first", v)]); + } + if let Some(v) = max { + builder = builder.query(&[("max", v)]); + } + if let Some(v) = q { + builder = builder.query(&[("q", v)]); + } + if let Some(v) = search { + builder = builder.query(&[("search", v)]); + } + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Creates a new organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `body` + /// + /// Returns id of created resource + /// + /// Resource: `Organizations` + /// + /// `POST /admin/realms/{realm}/organizations` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_post( + &self, + realm: &str, + body: OrganizationRepresentation, + ) -> Result, KeycloakError> { + let realm = p(realm); + let builder = self + .client + .post(format!("{}/admin/realms/{realm}/organizations", self.url)) + .json(&body) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await.map(to_id) + } + + /// Returns the organizations associated with the user that has the specified id + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/members/{id}/organizations` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_members_with_id_organizations_get( + &self, + realm: &str, + id: &str, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/members/{id}/organizations", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Returns the organization representation + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_get( + &self, + realm: &str, + id: &str, + ) -> Result { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Updates the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `body` + /// + /// Resource: `Organizations` + /// + /// `PUT /admin/realms/{realm}/organizations/{id}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_put( + &self, + realm: &str, + id: &str, + body: OrganizationRepresentation, + ) -> Result<(), KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .put(format!( + "{}/admin/realms/{realm}/organizations/{id}", + self.url + )) + .json(&body) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await?; + Ok(()) + } + + /// Deletes the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `DELETE /admin/realms/{realm}/organizations/{id}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_delete( + &self, + realm: &str, + id: &str, + ) -> Result<(), KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .delete(format!( + "{}/admin/realms/{realm}/organizations/{id}", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await?; + Ok(()) + } + + /// Returns all identity providers associated with the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}/identity-providers` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_identity_providers_get( + &self, + realm: &str, + id: &str, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}/identity-providers", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Adds the identity provider with the specified id to the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `body` + /// + /// Returns id of created resource + /// + /// Resource: `Organizations` + /// + /// `POST /admin/realms/{realm}/organizations/{id}/identity-providers` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_identity_providers_post( + &self, + realm: &str, + id: &str, + body: String, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .post(format!( + "{}/admin/realms/{realm}/organizations/{id}/identity-providers", + self.url + )) + .json(&body) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await.map(to_id) + } + + /// Returns the identity provider associated with the organization that has the specified alias + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `alias` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}/identity-providers/{alias}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_identity_providers_with_alias_get( + &self, + realm: &str, + id: &str, + alias: &str, + ) -> Result { + let realm = p(realm); + let id = p(id); + let alias = p(alias); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}/identity-providers/{alias}", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Removes the identity provider with the specified alias from the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `alias` + /// + /// Resource: `Organizations` + /// + /// `DELETE /admin/realms/{realm}/organizations/{id}/identity-providers/{alias}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_identity_providers_with_alias_delete( + &self, + realm: &str, + id: &str, + alias: &str, + ) -> Result<(), KeycloakError> { + let realm = p(realm); + let id = p(id); + let alias = p(alias); + let builder = self + .client + .delete(format!( + "{}/admin/realms/{realm}/organizations/{id}/identity-providers/{alias}", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await?; + Ok(()) + } + + /// Returns a paginated list of organization members filtered according to the specified parameters + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `exact`: Boolean which defines whether the param 'search' must match exactly or not + /// - `first`: The position of the first result to be processed (pagination offset) + /// - `max`: The maximum number of results to be returned. Defaults to 10 + /// - `search`: A String representing either a member's username, e-mail, first name, or last name. + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}/members` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_get( + &self, + realm: &str, + id: &str, + exact: Option, + first: Option, + max: Option, + search: Option, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let mut builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}/members", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + if let Some(v) = exact { + builder = builder.query(&[("exact", v)]); + } + if let Some(v) = first { + builder = builder.query(&[("first", v)]); + } + if let Some(v) = max { + builder = builder.query(&[("max", v)]); + } + if let Some(v) = search { + builder = builder.query(&[("search", v)]); + } + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Adds the user with the specified id as a member of the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `body` + /// + /// Returns id of created resource + /// + /// Resource: `Organizations` + /// + /// `POST /admin/realms/{realm}/organizations/{id}/members` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_post( + &self, + realm: &str, + id: &str, + body: String, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .post(format!( + "{}/admin/realms/{realm}/organizations/{id}/members", + self.url + )) + .json(&body) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await.map(to_id) + } + + /// Returns number of members in the organization. + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}/members/count` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_count_get( + &self, + realm: &str, + id: &str, + ) -> Result { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}/members/count", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Invites an existing user to the organization, using the specified user id + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `body` + /// + /// Returns id of created resource + /// + /// Resource: `Organizations` + /// + /// `POST /admin/realms/{realm}/organizations/{id}/members/invite-existing-user` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_invite_existing_user_post( + &self, + realm: &str, + id: &str, + body: TypeMap, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .post(format!( + "{}/admin/realms/{realm}/organizations/{id}/members/invite-existing-user", + self.url + )) + .form(&body) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await.map(to_id) + } + + /// Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// - `body` + /// + /// Returns id of created resource + /// + /// Resource: `Organizations` + /// + /// `POST /admin/realms/{realm}/organizations/{id}/members/invite-user` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_invite_user_post( + &self, + realm: &str, + id: &str, + body: TypeMap, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .post(format!( + "{}/admin/realms/{realm}/organizations/{id}/members/invite-user", + self.url + )) + .form(&body) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await.map(to_id) + } + + /// Returns the member of the organization with the specified id + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}/members/{id}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_with_id_get( + &self, + realm: &str, + id: &str, + ) -> Result { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}/members/{id}", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + + /// Removes the user with the specified id from the organization + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `DELETE /admin/realms/{realm}/organizations/{id}/members/{id}` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_with_id_delete( + &self, + realm: &str, + id: &str, + ) -> Result<(), KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .delete(format!( + "{}/admin/realms/{realm}/organizations/{id}/members/{id}", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + error_check(response).await?; + Ok(()) + } + + /// Returns the organizations associated with the user that has the specified id + /// + /// Parameters: + /// + /// - `realm`: realm name (not id!) + /// - `id` + /// + /// Resource: `Organizations` + /// + /// `GET /admin/realms/{realm}/organizations/{id}/members/{id}/organizations` + /// + /// Documentation: + #[cfg(feature = "tag-organizations")] + pub async fn realm_organizations_with_id_members_with_id_organizations_get( + &self, + realm: &str, + id: &str, + ) -> Result, KeycloakError> { + let realm = p(realm); + let id = p(id); + let builder = self + .client + .get(format!( + "{}/admin/realms/{realm}/organizations/{id}/members/{id}/organizations", + self.url + )) + .bearer_auth(self.token_supplier.get(&self.url).await?); + let response = builder.send().await?; + Ok(error_check(response).await?.json().await?) + } + //

Protocol Mappers

/// Create multiple mappers @@ -4942,7 +5573,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` #[cfg(feature = "tag-protocol-mappers")] @@ -4977,7 +5608,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5013,7 +5644,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5049,7 +5680,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5086,7 +5717,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5125,7 +5756,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5162,7 +5793,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5200,7 +5831,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5235,7 +5866,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5271,7 +5902,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5307,7 +5938,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5344,7 +5975,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5383,7 +6014,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5420,7 +6051,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5458,7 +6089,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5493,7 +6124,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5529,7 +6160,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` #[cfg(feature = "tag-protocol-mappers")] @@ -5565,7 +6196,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5602,7 +6233,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5641,7 +6272,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5678,7 +6309,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}` #[cfg(feature = "tag-protocol-mappers")] @@ -5714,7 +6345,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn get( &self, @@ -5743,7 +6374,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn post( &self, @@ -5768,7 +6399,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_get(&self, realm: &str) -> Result { let realm = p(realm); @@ -5791,7 +6422,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_put( &self, @@ -5819,7 +6450,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_delete(&self, realm: &str) -> Result<(), KeycloakError> { let realm = p(realm); @@ -5853,7 +6484,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/admin-events` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] #[allow(clippy::too_many_arguments)] pub async fn realm_admin_events_get( @@ -5931,7 +6562,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/admin-events` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_admin_events_delete(&self, realm: &str) -> Result<(), KeycloakError> { let realm = p(realm); @@ -5955,7 +6586,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/client-description-converter` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_description_converter_post( &self, @@ -5984,7 +6615,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-policies/policies` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_policies_policies_get( &self, @@ -6015,7 +6646,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-policies/policies` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_policies_policies_put( &self, @@ -6045,7 +6676,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-policies/profiles` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_policies_profiles_get( &self, @@ -6076,7 +6707,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-policies/profiles` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_policies_profiles_put( &self, @@ -6107,7 +6738,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-session-stats` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_session_stats_get( &self, @@ -6135,7 +6766,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/client-types` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_types_get( &self, @@ -6161,7 +6792,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/client-types` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_client_types_put( &self, @@ -6187,7 +6818,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/credential-registrators` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_credential_registrators_get( &self, @@ -6215,7 +6846,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/default-default-client-scopes` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_default_default_client_scopes_get( &self, @@ -6242,7 +6873,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}` #[cfg(feature = "tag-realms-admin")] @@ -6275,7 +6906,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}` #[cfg(feature = "tag-realms-admin")] @@ -6308,7 +6939,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/default-groups` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_default_groups_get( &self, @@ -6332,7 +6963,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/default-groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/default-groups/{groupId}` #[cfg(feature = "tag-realms-admin")] @@ -6365,7 +6996,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/default-groups/{group_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/default-groups/{groupId}` #[cfg(feature = "tag-realms-admin")] @@ -6398,7 +7029,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/default-optional-client-scopes` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_default_optional_client_scopes_get( &self, @@ -6425,7 +7056,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}` #[cfg(feature = "tag-realms-admin")] @@ -6458,7 +7089,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}` #[cfg(feature = "tag-realms-admin")] @@ -6499,7 +7130,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/events` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] #[allow(clippy::too_many_arguments)] pub async fn realm_events_get( @@ -6557,7 +7188,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/events` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_events_delete(&self, realm: &str) -> Result<(), KeycloakError> { let realm = p(realm); @@ -6580,7 +7211,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/events/config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_events_config_get( &self, @@ -6604,7 +7235,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/events/config` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_events_config_put( &self, @@ -6631,7 +7262,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/group-by-path/{path}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_group_by_path_with_path_get( &self, @@ -6659,7 +7290,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/localization` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_get( &self, @@ -6684,7 +7315,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_with_locale_get( &self, @@ -6722,7 +7353,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_with_locale_post( &self, @@ -6753,7 +7384,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/localization/{locale}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_with_locale_delete( &self, @@ -6784,7 +7415,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_with_locale_with_key_get( &self, @@ -6817,7 +7448,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_with_locale_with_key_put( &self, @@ -6852,7 +7483,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/localization/{locale}/{key}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_localization_with_locale_with_key_delete( &self, @@ -6885,7 +7516,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/logout-all` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_logout_all_post( &self, @@ -6914,7 +7545,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/partial-export` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_partial_export_post( &self, @@ -6950,7 +7581,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/partialImport` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_partial_import_post( &self, @@ -6977,7 +7608,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/push-revocation` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_push_revocation_post( &self, @@ -7004,7 +7635,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/sessions/{session}` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_sessions_with_session_delete( &self, @@ -7042,7 +7673,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/testSMTPConnection` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] #[deprecated] pub async fn realm_test_smtp_connection_post( @@ -7071,7 +7702,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users-management-permissions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_users_management_permissions_get( &self, @@ -7098,7 +7729,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users-management-permissions` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-realms-admin")] pub async fn realm_users_management_permissions_put( &self, @@ -7131,7 +7762,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` #[cfg(feature = "tag-role-mapper")] @@ -7164,7 +7795,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` #[cfg(feature = "tag-role-mapper")] @@ -7200,7 +7831,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` #[cfg(feature = "tag-role-mapper")] @@ -7236,7 +7867,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` #[cfg(feature = "tag-role-mapper")] @@ -7272,7 +7903,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` #[cfg(feature = "tag-role-mapper")] @@ -7306,7 +7937,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` #[cfg(feature = "tag-role-mapper")] @@ -7343,7 +7974,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` #[cfg(feature = "tag-role-mapper")] @@ -7376,7 +8007,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` #[cfg(feature = "tag-role-mapper")] @@ -7412,7 +8043,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` #[cfg(feature = "tag-role-mapper")] @@ -7448,7 +8079,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` #[cfg(feature = "tag-role-mapper")] @@ -7484,7 +8115,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` #[cfg(feature = "tag-role-mapper")] @@ -7518,7 +8149,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` #[cfg(feature = "tag-role-mapper")] @@ -7561,7 +8192,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/clients/{client_uuid}/roles` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/clients/{client-uuid}/roles` #[cfg(feature = "tag-roles")] @@ -7613,7 +8244,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/clients/{client_uuid}/roles` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/clients/{client-uuid}/roles` #[cfg(feature = "tag-roles")] @@ -7649,7 +8280,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}` #[cfg(feature = "tag-roles")] @@ -7686,7 +8317,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}` #[cfg(feature = "tag-roles")] @@ -7725,7 +8356,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}` #[cfg(feature = "tag-roles")] @@ -7762,7 +8393,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` #[cfg(feature = "tag-roles")] @@ -7801,7 +8432,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` #[cfg(feature = "tag-roles")] @@ -7840,7 +8471,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` #[cfg(feature = "tag-roles")] @@ -7879,7 +8510,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}` #[cfg(feature = "tag-roles")] @@ -7915,7 +8546,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` #[cfg(feature = "tag-roles")] @@ -7954,7 +8585,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` #[cfg(feature = "tag-roles")] @@ -8002,7 +8633,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` #[cfg(feature = "tag-roles")] @@ -8039,7 +8670,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` #[cfg(feature = "tag-roles")] @@ -8080,7 +8711,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` #[cfg(feature = "tag-roles")] @@ -8130,7 +8761,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-roles")] pub async fn realm_roles_get( &self, @@ -8174,7 +8805,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/roles` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-roles")] pub async fn realm_roles_post( &self, @@ -8202,7 +8833,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}` #[cfg(feature = "tag-roles")] @@ -8236,7 +8867,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/roles/{role-name}` #[cfg(feature = "tag-roles")] @@ -8272,7 +8903,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/roles/{role_name}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles/{role-name}` #[cfg(feature = "tag-roles")] @@ -8306,7 +8937,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/composites` #[cfg(feature = "tag-roles")] @@ -8342,7 +8973,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/roles/{role-name}/composites` #[cfg(feature = "tag-roles")] @@ -8378,7 +9009,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/roles/{role_name}/composites` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/roles/{role-name}/composites` #[cfg(feature = "tag-roles")] @@ -8415,7 +9046,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}` #[cfg(feature = "tag-roles")] @@ -8450,7 +9081,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` #[cfg(feature = "tag-roles")] @@ -8486,7 +9117,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/groups` #[cfg(feature = "tag-roles")] @@ -8531,7 +9162,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` #[cfg(feature = "tag-roles")] @@ -8565,7 +9196,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` #[cfg(feature = "tag-roles")] @@ -8603,7 +9234,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/roles/{role_name}/users` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/roles/{role-name}/users` #[cfg(feature = "tag-roles")] @@ -8650,7 +9281,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}` #[cfg(feature = "tag-roles-by-id")] @@ -8684,7 +9315,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}` #[cfg(feature = "tag-roles-by-id")] @@ -8720,7 +9351,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}` #[cfg(feature = "tag-roles-by-id")] @@ -8757,7 +9388,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` #[cfg(feature = "tag-roles-by-id")] @@ -8805,7 +9436,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` #[cfg(feature = "tag-roles-by-id")] @@ -8841,7 +9472,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` #[cfg(feature = "tag-roles-by-id")] @@ -8878,7 +9509,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}` #[cfg(feature = "tag-roles-by-id")] @@ -8913,7 +9544,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` #[cfg(feature = "tag-roles-by-id")] @@ -8946,7 +9577,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` #[cfg(feature = "tag-roles-by-id")] @@ -8980,7 +9611,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` #[cfg(feature = "tag-roles-by-id")] @@ -9017,7 +9648,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` #[cfg(feature = "tag-scope-mappings")] @@ -9052,7 +9683,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9091,7 +9722,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9130,7 +9761,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9169,7 +9800,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` #[cfg(feature = "tag-scope-mappings")] @@ -9206,7 +9837,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` #[cfg(feature = "tag-scope-mappings")] @@ -9245,7 +9876,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` #[cfg(feature = "tag-scope-mappings")] @@ -9281,7 +9912,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` #[cfg(feature = "tag-scope-mappings")] @@ -9317,7 +9948,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` #[cfg(feature = "tag-scope-mappings")] @@ -9353,7 +9984,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` #[cfg(feature = "tag-scope-mappings")] @@ -9387,7 +10018,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` #[cfg(feature = "tag-scope-mappings")] @@ -9424,7 +10055,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` #[cfg(feature = "tag-scope-mappings")] @@ -9459,7 +10090,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9498,7 +10129,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9537,7 +10168,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9576,7 +10207,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` #[cfg(feature = "tag-scope-mappings")] @@ -9613,7 +10244,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` #[cfg(feature = "tag-scope-mappings")] @@ -9652,7 +10283,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` #[cfg(feature = "tag-scope-mappings")] @@ -9688,7 +10319,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` #[cfg(feature = "tag-scope-mappings")] @@ -9724,7 +10355,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` #[cfg(feature = "tag-scope-mappings")] @@ -9760,7 +10391,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` #[cfg(feature = "tag-scope-mappings")] @@ -9794,7 +10425,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` #[cfg(feature = "tag-scope-mappings")] @@ -9831,7 +10462,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` #[cfg(feature = "tag-scope-mappings")] @@ -9866,7 +10497,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9905,7 +10536,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9944,7 +10575,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}` #[cfg(feature = "tag-scope-mappings")] @@ -9983,7 +10614,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` #[cfg(feature = "tag-scope-mappings")] @@ -10020,7 +10651,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` #[cfg(feature = "tag-scope-mappings")] @@ -10059,7 +10690,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` #[cfg(feature = "tag-scope-mappings")] @@ -10095,7 +10726,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` #[cfg(feature = "tag-scope-mappings")] @@ -10131,7 +10762,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` #[cfg(feature = "tag-scope-mappings")] @@ -10167,7 +10798,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` #[cfg(feature = "tag-scope-mappings")] @@ -10201,7 +10832,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` #[cfg(feature = "tag-scope-mappings")] @@ -10253,7 +10884,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-users")] #[allow(clippy::too_many_arguments)] pub async fn realm_users_get( @@ -10338,7 +10969,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-users")] pub async fn realm_users_post( &self, @@ -10373,7 +11004,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/count` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-users")] #[allow(clippy::too_many_arguments)] pub async fn realm_users_count_get( @@ -10429,7 +11060,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/profile` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-users")] pub async fn realm_users_profile_get(&self, realm: &str) -> Result { let realm = p(realm); @@ -10450,7 +11081,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/profile` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-users")] pub async fn realm_users_profile_put( &self, @@ -10475,7 +11106,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/profile/metadata` /// - /// Documentation: + /// Documentation: #[cfg(feature = "tag-users")] pub async fn realm_users_profile_metadata_get( &self, @@ -10505,7 +11136,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}` #[cfg(feature = "tag-users")] @@ -10540,7 +11171,7 @@ impl KeycloakAdmin { /// /// `PUT /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `PUT /admin/realms/{realm}/users/{user-id}` #[cfg(feature = "tag-users")] @@ -10573,7 +11204,7 @@ impl KeycloakAdmin { /// /// `DELETE /admin/realms/{realm}/users/{user_id}` /// - /// Documentation: + /// Documentation: /// /// REST method: `DELETE /admin/realms/{realm}/users/{user-id}` #[cfg(feature = "tag-users")] @@ -10604,7 +11235,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` #[cfg(feature = "tag-users")] @@ -10637,7 +11268,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/consents` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/consents` #[cfg(feature = "tag-users")] @@ -10671,7 +11302,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}` #[cfg(feature = "tag-users")] @@ -10705,7 +11336,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/credentials` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/credentials` #[cfg(feature = "tag-users")] @@ -10739,7 +11370,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}` #[cfg(feature = "tag-users")] @@ -10779,7 +11410,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}` #[cfg(feature = "tag-users")] @@ -10819,7 +11450,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` #[cfg(feature = "tag-users")] @@ -10856,7 +11487,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` #[cfg(feature = "tag-users")] @@ -10895,7 +11526,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` #[cfg(feature = "tag-users")] @@ -10935,7 +11566,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` #[cfg(feature = "tag-users")] @@ -10983,7 +11614,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` #[cfg(feature = "tag-users")] @@ -11019,7 +11650,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}` #[cfg(feature = "tag-users")] @@ -11055,7 +11686,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}` #[cfg(feature = "tag-users")] @@ -11093,7 +11724,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/groups` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/groups` #[cfg(feature = "tag-users")] @@ -11141,7 +11772,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` #[cfg(feature = "tag-users")] @@ -11177,7 +11808,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}` #[cfg(feature = "tag-users")] @@ -11213,7 +11844,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}` #[cfg(feature = "tag-users")] @@ -11249,7 +11880,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/impersonation` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/impersonation` #[cfg(feature = "tag-users")] @@ -11284,7 +11915,7 @@ impl KeycloakAdmin { /// /// `POST /admin/realms/{realm}/users/{user_id}/logout` /// - /// Documentation: + /// Documentation: /// /// REST method: `POST /admin/realms/{realm}/users/{user-id}/logout` #[cfg(feature = "tag-users")] @@ -11318,7 +11949,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}` #[cfg(feature = "tag-users")] @@ -11354,7 +11985,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` #[cfg(feature = "tag-users")] @@ -11392,7 +12023,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` #[cfg(feature = "tag-users")] @@ -11439,7 +12070,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` #[cfg(feature = "tag-users")] @@ -11486,7 +12117,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/sessions` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/sessions` #[cfg(feature = "tag-users")] @@ -11517,7 +12148,7 @@ impl KeycloakAdmin { /// /// `GET /admin/realms/{realm}/users/{user_id}/unmanagedAttributes` /// - /// Documentation: + /// Documentation: /// /// REST method: `GET /admin/realms/{realm}/users/{user-id}/unmanagedAttributes` #[cfg(feature = "tag-users")] @@ -11548,7 +12179,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( @@ -11577,7 +12208,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( @@ -11611,7 +12242,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( @@ -11651,7 +12282,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)] @@ -11724,7 +12355,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( @@ -11757,7 +12388,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( @@ -11787,7 +12418,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( @@ -11817,7 +12448,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( @@ -11864,7 +12495,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)] @@ -11937,7 +12568,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( @@ -11970,7 +12601,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( @@ -12000,7 +12631,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( @@ -12030,7 +12661,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( @@ -12078,7 +12709,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)] @@ -12165,7 +12796,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)] @@ -12251,7 +12882,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)] @@ -12337,7 +12968,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)] @@ -12426,7 +13057,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)] @@ -12516,7 +13147,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)] @@ -12604,7 +13235,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)] @@ -12692,7 +13323,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)] @@ -12780,7 +13411,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)] @@ -12860,7 +13491,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( @@ -12907,7 +13538,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( @@ -12938,7 +13569,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( @@ -12972,7 +13603,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( @@ -13005,7 +13636,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( @@ -13039,7 +13670,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( @@ -13071,7 +13702,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( @@ -13103,7 +13734,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( @@ -13134,7 +13765,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(