C# Class IndignadoServer.SessionService

Inheritance: ISessionService
Show file Open project: Throy/derp-octo-robot

Public Methods

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

Private Methods

Method Description
ValidateMovAdmin ( ) : bool
ValidateRegUser ( ) : bool
ValidateSysAdmin ( ) : bool

Method Details

GetTenantInfo() public method

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

Login() public method

public Login ( int idMovmiento, String userName, String password ) : DTLoginInfo
idMovmiento 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

ValidateToken() public method

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