using Biskilog_Accounting.Shared.ClientContractModels; namespace Biskilog_Accounting.Shared.Interfaces { public interface ITokenService { bool ValidateToken(string a_token); string GenerateToken(Userauth a_user, Contract a_clientContract, Databasemap a_database, Siteaccesspermission a_accessPermission); int? GetRoleFromToken(string a_token); int? GetUserIdFromToken(string a_token); string? GetUserNameFromToken(string a_token); } }