Add new services
password_hasher auth_services
This commit is contained in:
@@ -12,6 +12,9 @@ enable_testing()
|
||||
|
||||
find_package(SQLite3 REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
pkg_check_modules(ARGON2 REQUIRED IMPORTED_TARGET libargon2)
|
||||
|
||||
add_subdirectory(submodules/drogon)
|
||||
add_subdirectory(submodules/json)
|
||||
@@ -29,6 +32,10 @@ add_executable(auth_service
|
||||
src/repo/session_repository.cpp
|
||||
src/util/time_utils.cpp
|
||||
src/security/session_token_service.cpp
|
||||
src/util/validation.cpp
|
||||
src/security/password_hasher.cpp
|
||||
src/service/auth_service.cpp
|
||||
src/http/controllers/auth_controller.cpp
|
||||
)
|
||||
|
||||
target_include_directories(auth_service
|
||||
@@ -48,6 +55,7 @@ target_link_libraries(auth_service PRIVATE
|
||||
SQLite::SQLite3
|
||||
nlohmann_json::nlohmann_json
|
||||
OpenSSL::Crypto
|
||||
PkgConfig::ARGON2
|
||||
)
|
||||
|
||||
add_executable(auth_service_tests
|
||||
|
||||
Reference in New Issue
Block a user