C# Class BinaryStudio.ClientManager.WebUi.Controllers.AuthController

Inheritance: Controller
Afficher le fichier Open project: titarenko/ClientManager

Méthodes publiques

Méthode Description
AuthController ( IRepository repository, IAppContext appContext, OAuth2.Client.GoogleClient googleClient, OAuth2.Client.FacebookClient facebookClient ) : System
FacebookAuth ( string code, string error ) : System.Web.Mvc.ActionResult
GoogleAuth ( string code, string error ) : System.Web.Mvc.ActionResult

Renders information received from authentication service.

LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( ) : System.Web.Mvc.ActionResult

Renders page with login links

Method Details

AuthController() public méthode

public AuthController ( IRepository repository, IAppContext appContext, OAuth2.Client.GoogleClient googleClient, OAuth2.Client.FacebookClient facebookClient ) : System
repository IRepository
appContext IAppContext
googleClient OAuth2.Client.GoogleClient
facebookClient OAuth2.Client.FacebookClient
Résultat System

FacebookAuth() public méthode

public FacebookAuth ( string code, string error ) : System.Web.Mvc.ActionResult
code string
error string
Résultat System.Web.Mvc.ActionResult

GoogleAuth() public méthode

Renders information received from authentication service.
public GoogleAuth ( string code, string error ) : System.Web.Mvc.ActionResult
code string
error string
Résultat System.Web.Mvc.ActionResult

LogOff() public méthode

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

LogOn() public méthode

Renders page with login links
public LogOn ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult