Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. }