Files
Backend-Api/0_Framework/Application/IAuthHelper.cs
2025-05-05 18:09:53 +03:30

27 lines
719 B
C#

using System.Collections.Generic;
namespace _0_Framework.Application;
public interface IAuthHelper
{
void SignOut();
bool IsAuthenticated();
void Signin(AuthViewModel account);
void CameraSignIn(CameraAuthViewModel account);
CameraAuthViewModel CameraAccountInfo();
string CurrentAccountRole();
AuthViewModel CurrentAccountInfo();
List<int> GetPermissions();
long CurrentAccountId();
string CurrentAccountMobile();
#region Vafa
void UpdateWorkshopSlugClaim(string workshopSlug, string workshopName);
#endregion
long CurrentSubAccountId();
string GetWorkshopSlug();
string GetWorkshopName();
(long Id, UserType userType, long roleId) GetUserTypeWithId();
}