C# Class FrannHammer.AccountRegistrationTool.ServiceHandler

Mostrar archivo Open project: Frannsoft/FrannHammer

Public Methods

Method Description
LoginAs ( string username, string password ) : bool
RegisterNewUser ( RegisterUserModel model ) : void
ServiceHandler ( string serviceUri ) : System

Private Methods

Method Description
AssignRoles ( string userId, Roles roles ) : void
CreateUser ( RegisterUserModel model ) : HttpResponseMessage

Method Details

LoginAs() public method

public LoginAs ( string username, string password ) : bool
username string
password string
return bool

RegisterNewUser() public method

public RegisterNewUser ( RegisterUserModel model ) : void
model FrannHammer.AccountRegistrationTool.Models.RegisterUserModel
return void

ServiceHandler() public method

public ServiceHandler ( string serviceUri ) : System
serviceUri string
return System