You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
502 B
15 lines
502 B
using Biskilog_Accounting.Shared.ClientContractModels;
|
|
using Biskilog_Accounting.Shared.Enums;
|
|
|
|
namespace Biskilog_Accounting.Shared.Interfaces
|
|
{
|
|
public interface ITokenService
|
|
{
|
|
AuthEnums ValidateToken(string a_token);
|
|
string GenerateToken(Userauth a_user, Contract a_clientContract, Databasemap a_database);
|
|
int? GetDatabaseIdFromToken(string a_token);
|
|
int? GetUserIdFromToken(string a_token);
|
|
string? GetUserNameFromToken(string a_token);
|
|
|
|
}
|
|
}
|
|
|