C# Class IndignadoServer.Controllers.SessionController

Inheritance: ISessionController
Mostra file Open project: Throy/derp-octo-robot

Public Methods

Method Description
GetTenantInfo ( String movimiento ) : DTTenantInfo
GetUserInfo ( String token ) : UserOnlineInfo
Login ( int idMovimiento, String userName, String password ) : DTLoginInfo
LoginFB ( int idMovimiento, String accesToken ) : DTLoginInfo
RegisterFBUser ( DTRegisterFBModel user ) : DTUserCreateStatus
RegisterUser ( DTRegisterModel user ) : DTUserCreateStatus
SessionController ( ) : System
ValidateToken ( int idMovmiento, String token ) : bool

Private Methods

Method Description
GenerateToken ( ) : String

Method Details

GetTenantInfo() public method

public GetTenantInfo ( String movimiento ) : DTTenantInfo
movimiento String
return IndignadoServer.Services.DTTenantInfo

GetUserInfo() public method

public GetUserInfo ( String token ) : UserOnlineInfo
token String
return UserOnlineInfo

Login() public method

public Login ( int idMovimiento, String userName, String password ) : DTLoginInfo
idMovimiento int
userName String
password String
return IndignadoServer.Services.DTLoginInfo

LoginFB() public method

public LoginFB ( int idMovimiento, String accesToken ) : DTLoginInfo
idMovimiento int
accesToken String
return IndignadoServer.Services.DTLoginInfo

RegisterFBUser() public method

public RegisterFBUser ( DTRegisterFBModel user ) : DTUserCreateStatus
user IndignadoServer.Services.DTRegisterFBModel
return DTUserCreateStatus

RegisterUser() public method

public RegisterUser ( DTRegisterModel user ) : DTUserCreateStatus
user IndignadoServer.Services.DTRegisterModel
return DTUserCreateStatus

SessionController() public method

public SessionController ( ) : System
return System

ValidateToken() public method

public ValidateToken ( int idMovmiento, String token ) : bool
idMovmiento int
token String
return bool