Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Password Authentication

Brock Allen edited this page Oct 20, 2013 · 2 revisions

A user can provide their identity to MembershipReboot by providing a password. To identity the user, either a username or email can be used.

The UserAccountService provides the APIs to authenticate a user.

  • Authenticate accepts a username and password
  • AuthenticateWithEmail accepts an email and password
  • AuthenticateWithUsernameOrEmail accepts either a username or an email, and a password

To distinguish between the a username and an email, a simple check for an "at" sign (@) sign id performed. This also means that usernames can not contain an "at" sign (@) (unless emails are configured as the usernames).

Clone this wiki locally