This project is read-only.

About

This presenter is essentially a log in form, it provides the functionality you would require to validate a users credentials against a data source and ultimately log them in.

View

The AuthenticationPresenter uses a custom view called WebFormsMvp.Contrib.Views.IAuthenticationView to provide some basic eventing.

Data Service

Because the authentication of a user needs to occur against some kind of a data source a data service is provided which aims to cover that need, it's called WebFormsMvp.Contrib.Data.Services.IAuthenticationService.

The LogIn method of the data service is invoked when the Submit event is raised within the view.

Model

The model for the view is of type WebFormsMvp.Contrib.Models.AuthenticationModel, which has the following properties:
  • IsAuthenticated
    • This property is assigned by the result of the LogIn method on the Data Service

Last edited Jan 10, 2010 at 5:25 AM by slace, version 2

Comments

No comments yet.