java.lang.Object
org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper.BioAuthMapper

public abstract class BioAuthMapper extends Object
Mapper interface for converting BioAuthRequest credentials to a String.
Since:
28.4.24
Version:
1.0
Author:
Yasin M.
  • Constructor Details

    • BioAuthMapper

      public BioAuthMapper()
  • Method Details

    • credentialToString

      public String credentialToString(BioAuthRequest credential) throws com.fasterxml.jackson.core.JsonProcessingException
      Maps a BioAuthRequest entity to a string
      Parameters:
      credential - Request user credentials
      Returns:
      String that represents the request
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException - Following JSON parsing errors