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.

IAuthenticationService.cs 422B

12345678910111213141516
  1. using Diligent.WebAPI.Data.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Diligent.WebAPI.Business.Services
  8. {
  9. public interface IAuthenticationService
  10. {
  11. Task<bool> ValidateCustomer(string usernmae,string password);
  12. Task<Customer> GetCustomer(string username);
  13. Task<string> GenerateToken();
  14. }
  15. }