// SPDX-License-Identifier: Apache-2.0
// Copyright Pionix GmbH and Contributors to EVerest

#include "authImpl.hpp"

#include <everest/logging.hpp>
#include <utility>

namespace module {
namespace main {

void authImpl::init() {
}

void authImpl::ready() {
}

void authImpl::handle_set_connection_timeout(int& connection_timeout) {
    this->mod->set_connection_timeout(connection_timeout);
}

void authImpl::handle_set_master_pass_group_id(std::string& master_pass_group_id) {
    this->mod->set_master_pass_group_id(master_pass_group_id);
}

types::authorization::WithdrawAuthorizationResult
authImpl::handle_withdraw_authorization(WithdrawAuthorizationRequest& request) {
    return this->mod->handle_withdraw_authorization(request);
}

} // namespace main
} // namespace module
