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.

27 lines
837 B

1 year ago
  1. using Common;
  2. using Common.Model;
  3. namespace Business.Authentication
  4. {
  5. public interface IAuthenticationBusiness
  6. {
  7. JsonRxResponse IsMapAPIWithOtherApp(ClientRegistrationKeys credentials);
  8. LoginResponse LoginSystem(LoginCredential credentials);
  9. /// <summary>
  10. /// Verify access token along with IMEI and user credentials. If valid then increase the
  11. /// validity from sp level.
  12. /// </summary>
  13. /// <param name="credentials"></param>
  14. /// <returns></returns>
  15. string IsAccessCodeValid(string accessCode, string uuid);
  16. JsonRxResponse ReSendVerificationCode(VerificationKeys verification);
  17. JsonRxResponse GetUser(string userId);
  18. bool ValidateAuthenticity(string user, string guid);
  19. string GetDevice(string customerId);
  20. }
  21. }