/latch-plugin-dotnet-membership-provider

Primary LanguageC#GNU Lesser General Public License v2.1LGPL-2.1

=============================================== = LATCH MEMBERSHIP PROVIDER AND UI CONTROLS =

This DLL provides an implementation of Latch membership provider and extended login and pairing controls.

To use it in your application, you will have to register first your account and add an application in the Latch website. The server will provide you a unique Application ID string and a Secret Key.

You must also specify an internal provider (e.g: SqlMembershipProvider), because Latch will only provide you an additional authorization layer, and it will not perform authentication or membership management.

Once you have all the required data, you have to enter this information in the config file adding the following sections:

<system.web> <add name="MyMembershipProvider" type="..." connectionStringName="..." ... /> <system.web>

If your application uses the Latch second factor, you can replace the standard ASP.NET Login control with the LatchLogin control, or alternatively, capture the Authenticate event and manage it by yourself. The LatchMembershipProvider will raise an event when a second factor token is needed for a specific account.

You can use the PairingControl to display and manage the pairing status of an account in a basic and simple way. Feel free to extend it or use your own control if the existing functionality does not fulfill your requirements.