Authentication preference
Code
<AuthenticatePreferences>CARDNO;RFID;PIN</AuthenticatePreferences>
The <AuthenticatePreferences> tag is used to define the sequence in which the server will check the authentication parameters to validate the login credentials.
Below are the parameters used to authenticate login credentials:
CARDNO = Card number
RFID = RFID
PIN = Log in PIN (Employee PIN)
Note
There are two ways to log into the mPOS application: tap the NFC card or enter the login PIN.
Enter the parameter which should be first looked at, followed by the subsequent parameters based on their priority and separated by a semi-colon (;).
For example: <AuthenticatePreferences>CARDNO;RFID;PIN</AuthenticatePreferences>
When it is used
When a user tries to log into the mPOS application with his/her NFC card, in the given example, the card number will be first looked at. If no value is received, the RFID will be looked at. If both fail, a valid Employee PIN will be required to log into the application.