1、接口实现
This commit is contained in:
1 parent
d306f261bd
commit
cc2fdef069
14 files changed
+757
-34
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user