1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-24 20:48:01 +00:00

Add gen_jwt_token RPC (#674)

* Add gen_jwt_token RPC

* Set error when failed to generate jwt token

* Modify RPC name

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-07-31 18:03:41 +08:00
committed by GitHub
parent 0a084d3c8a
commit 77fa08566b
11 changed files with 94 additions and 56 deletions

View File

@@ -1149,6 +1149,9 @@ seafile_search_files (const char *repo_id, const char *str, GError **error);
GList *
seafile_search_files_by_path (const char *repo_id, const char *path, const char *str, GError **error);
char *
seafile_generate_notif_server_jwt (const char *repo_id, const char *username, GError **error);
/*Following is ccnet rpc*/
int
ccnet_rpc_add_emailuser (const char *email, const char *passwd,