We're about to embark on building a REST API for a clients web application, and they've specified that users log in with a PIN number (Any length).
So would I go about setting up a Custom Auth Provider, etc, which would find the user by PIN number and if it find's them auth? Is this possible? Most examples I've seen require a username and a password.
Where as I only require a password.
Is this possible with Symfony2, or should I be looking elsewhere?