Files
Backend-Api/0_Framework/Application/IAuthHelper.cs
2024-08-24 19:13:34 +03:30

25 lines
582 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);
#endregion
string GetWorkshopSlug();
}