C# Class ExitGames.Web.Sample.Controllers.ClientController

Inheritance: Controller
Show file Open project: exitgames/photon.custom-authentication

Public Methods

Method Description
Authenticate ( string userName, string token ) : System.Web.Mvc.ActionResult

Authenticates a user with the given credentials.

ClientController ( ) : System.Web.Http
ClientController ( IClientAuthenticationService authenticationService ) : System.Web.Http
ClientController ( ) : System.Web.Mvc
ClientController ( IClientAuthenticationService authenticationService ) : System.Web.Mvc

Private Methods

Method Description
Authenticate ( string userName, string token ) : ExitGames.Web.Sample.Models.Result

Method Details

Authenticate() public method

Authenticates a user with the given credentials.
public Authenticate ( string userName, string token ) : System.Web.Mvc.ActionResult
userName string Name of user to authenticate.
token string Token to authenticate user with.
return System.Web.Mvc.ActionResult

ClientController() public method

public ClientController ( ) : System.Web.Http
return System.Web.Http

ClientController() public method

public ClientController ( IClientAuthenticationService authenticationService ) : System.Web.Http
authenticationService IClientAuthenticationService
return System.Web.Http

ClientController() public method

public ClientController ( ) : System.Web.Mvc
return System.Web.Mvc

ClientController() public method

public ClientController ( IClientAuthenticationService authenticationService ) : System.Web.Mvc
authenticationService IClientAuthenticationService
return System.Web.Mvc