Function backend::service::users::find_by_id

source ·
pub async fn find_by_id(
    user_id: Uuid,
    keycloak_api: &SharedKeycloakApi,
    http_client: &SharedHttpClient,
) -> Result<UserDto, ServiceError>
Expand description

Get a user by its id.

§Errors

  • If the connection to the Keycloak API could not be established.