backend::service::users

Function 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.