C# Class Randao.Web.Controllers.UserController

Inheritance: CustomerController
Show file Open project: fds/DKBD

Public Methods

Method Description
LoginTest ( ) : System.Web.Mvc.ActionResult
RegsiterTest ( ) : System.Web.Mvc.ActionResult
Token ( string userName, string passWord ) : System.Web.Mvc.JsonResult

申请token

UserController ( MemberService _memberService, TokenService _tokenService ) : System
refreshToken ( string refreshToken, int clientId ) : System.Web.Mvc.JsonResult

刷新token

Private Methods

Method Description
Get ( OauthToken token, long userKeyId ) : System.Web.Mvc.JsonResult
GetCurr ( OauthToken token ) : System.Web.Mvc.JsonResult
Regsiter ( string userName, string passWord ) : System.Web.Mvc.JsonResult
UploadFaceImg ( OauthToken token, string content ) : System.Web.Mvc.JsonResult

Method Details

LoginTest() public method

public LoginTest ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

RegsiterTest() public method

public RegsiterTest ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Token() public method

申请token
public Token ( string userName, string passWord ) : System.Web.Mvc.JsonResult
userName string
passWord string
return System.Web.Mvc.JsonResult

UserController() public method

public UserController ( MemberService _memberService, TokenService _tokenService ) : System
_memberService Randao.Core.Service.MemberService
_tokenService Randao.Core.Service.TokenService
return System

refreshToken() public method

刷新token
public refreshToken ( string refreshToken, int clientId ) : System.Web.Mvc.JsonResult
refreshToken string
clientId int
return System.Web.Mvc.JsonResult