C# 클래스 BinaryStudio.ClientManager.WebUi.Controllers.AuthController

상속: Controller
파일 보기 프로젝트 열기: titarenko/ClientManager

공개 메소드들

메소드 설명
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

메소드 상세

AuthController() 공개 메소드

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
리턴 System

FacebookAuth() 공개 메소드

public FacebookAuth ( string code, string error ) : System.Web.Mvc.ActionResult
code string
error string
리턴 System.Web.Mvc.ActionResult

GoogleAuth() 공개 메소드

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

LogOff() 공개 메소드

public LogOff ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

LogOn() 공개 메소드

Renders page with login links
public LogOn ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult