C# 클래스 OAuth2.Example.Controllers.HomeController

The only controller in this example app.
상속: Controller
파일 보기 프로젝트 열기: carepass/code-samples

Private Properties

프로퍼티 타입 설명
GetClient IClient

공개 메소드들

메소드 설명
Auth ( ) : System.Web.Mvc.ActionResult

Renders information received from authentication service.

HomeController ( ) : System.Linq
HomeController ( AuthorizationRoot authorizationRoot ) : System.Linq

Initializes a new instance of the HomeController class.

Index ( ) : System.Web.Mvc.ActionResult

Renders home page with login link.

Login ( string providerName ) : System.Web.Mvc.RedirectResult

Redirect to login url of selected provider.

비공개 메소드들

메소드 설명
GetClient ( ) : IClient

메소드 상세

Auth() 공개 메소드

Renders information received from authentication service.
public Auth ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

HomeController() 공개 메소드

public HomeController ( ) : System.Linq
리턴 System.Linq

HomeController() 공개 메소드

Initializes a new instance of the HomeController class.
public HomeController ( AuthorizationRoot authorizationRoot ) : System.Linq
authorizationRoot AuthorizationRoot The authorization manager.
리턴 System.Linq

Index() 공개 메소드

Renders home page with login link.
public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Login() 공개 메소드

Redirect to login url of selected provider.
public Login ( string providerName ) : System.Web.Mvc.RedirectResult
providerName string
리턴 System.Web.Mvc.RedirectResult