C# Class TweetHarbor.Controllers.AccountController

Provides the /Account controller
Inheritance: Controller
Afficher le fichier Open project: sethwebster/TweetHarbor Class Usage Examples

Méthodes publiques

Méthode Description
AccountController ( ITweetHarborDbContext database, ITweetHarborTwitterService twitter, IFormsAuthenticationWrapper Authentication ) : System
AccountSetup ( string Id ) : System.Web.Mvc.ActionResult
Authorize ( string Client ) : System.Web.Mvc.ActionResult
LogIn ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
OAuthComplete ( string Id, string Client, string ReturnUrl ) : System.Web.Mvc.ActionResult

For twitter

For AppHb

Register ( ) : System.Web.Mvc.ActionResult

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AccountSetup ( string Id, User user, string ReturnUrl ) : System.Web.Mvc.ActionResult
GlobalNotificationToggle ( string TweetType, bool Value ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
Register ( TweetHarbor.Models.RegisterModel model ) : System.Web.Mvc.ActionResult
UpdateEmail ( string EmailAddress ) : System.Web.Mvc.JsonResult

Method Details

AccountController() public méthode

public AccountController ( ITweetHarborDbContext database, ITweetHarborTwitterService twitter, IFormsAuthenticationWrapper Authentication ) : System
database ITweetHarborDbContext
twitter ITweetHarborTwitterService
Authentication IFormsAuthenticationWrapper
Résultat System

AccountSetup() public méthode

public AccountSetup ( string Id ) : System.Web.Mvc.ActionResult
Id string
Résultat System.Web.Mvc.ActionResult

Authorize() public méthode

public Authorize ( string Client ) : System.Web.Mvc.ActionResult
Client string
Résultat System.Web.Mvc.ActionResult

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

LogIn() public méthode

public LogIn ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

LogOff() public méthode

public LogOff ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

OAuthComplete() public méthode

For twitter For AppHb
public OAuthComplete ( string Id, string Client, string ReturnUrl ) : System.Web.Mvc.ActionResult
Id string
Client string
ReturnUrl string
Résultat System.Web.Mvc.ActionResult

Register() public méthode

public Register ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult