TourIAm/TIAMMobileApp/Services/SessionServiceMobile.cs

24 lines
824 B
C#

using System.Net;
using TIAM.Core.Consts;
using TIAM.Entities.Users;
using TIAMWebApp.Shared.Application.Interfaces;
using TIAMWebApp.Shared.Application.Models;
using static System.Runtime.InteropServices.JavaScript.JSType;
namespace TIAMMobileApp.Services
{
public class SessionServiceMobile : ISessionService
{
public string? SessionId { get; set; }
public UserSessionModel? User { get; set; }
public IPAddress? IPAddress { get; set; }
public bool IsAuthenticated { get; set; } = false;
public bool HasCompany { get; set; } = false;
public bool IsDriver { get; set; } = false;
public bool IsDevAdmin { get; set; } = false;
public bool IsSysAdmin { get; set; } = false;
public Guid DriverPersmissionId { get; set; } = Guid.Empty;
}
}