I was suggested to post here from this question in Super User SE. So here is the copy of it:
I'm asked to add the possibility to scan a barcode (on a badge) to authenticate users when they log in to my app. In this context, my customer has no standard (he does not use badges for now) but would like to use these same barcodes/badges for other apps. Of course, it cannot be encoded in 'user/separator/password' way, because that will show the password when scanned in any simple text editor.
Are there any standards about that? Are there any barcode scanners that provide a built-in function for this?
Preferably, the barcodes I'd want to use may be 1D barcodes. The authentication needs to be one step in this context. The code is being written in C#.
If none of the above, how could it be done?
Thanks