1、接口实现

This commit is contained in:
asypost committed 2026-06-20 16:11:17 +08:00
1 parent d306f261bd
commit cc2fdef069
14 files changed
+757 -34

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
//
// Created by Shell on 2026-06-18.
//
#include "seafile/fs/seafile_file_system.hpp"
namespace seafile::fs
{
void SeafileFileSystem::auth(const std::string& username, const std::string& password)
{
if (const auto authToken = api.authToken(username, password); authToken.has_value())
{
this->token = authToken.value().token;
}
}
}