C# Class FrannHammer.AccountRegistrationTool.ServiceHandler

Afficher le fichier Open project: Frannsoft/FrannHammer

Méthodes publiques

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

Private Methods

Méthode Description
AssignRoles ( string userId, Roles roles ) : void
CreateUser ( RegisterUserModel model ) : HttpResponseMessage

Method Details

LoginAs() public méthode

public LoginAs ( string username, string password ) : bool
username string
password string
Résultat bool

RegisterNewUser() public méthode

public RegisterNewUser ( RegisterUserModel model ) : void
model FrannHammer.AccountRegistrationTool.Models.RegisterUserModel
Résultat void

ServiceHandler() public méthode

public ServiceHandler ( string serviceUri ) : System
serviceUri string
Résultat System