mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: login & registration; enhanced paste view; custom dropdown + search; navbar; global user access via store; auto token refresh; paste creation as user; /api/user/me, returns info on yourself including pastes;
fix: auth check refactor: remove user UID api endpoint
This commit is contained in:
@@ -4,9 +4,9 @@ namespace SharpbinV3.Server.Services
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
Task<User?> GetByUID(int uid);
|
||||
Task<User?> GetByUsername(string username);
|
||||
Task<User?> GetByUUID(Guid uuid);
|
||||
Task<User?> GetByEmail(string email);
|
||||
Task<User?> GetByUID(int uid, bool withPastes = false);
|
||||
Task<User?> GetByUsername(string username, bool withPastes = false);
|
||||
Task<User?> GetByUUID(Guid uuid, bool withPastes = false);
|
||||
Task<User?> GetByEmail(string email, bool withPastes = false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user