Method | Description | |
---|---|---|
AddUser ( string userName, string email, string password ) : JabbR.Models.ChatUser | ||
AddUser ( string userName, string providerName, string identity, string email ) : JabbR.Models.ChatUser | ||
AuthenticateUser ( string userName, string password ) : JabbR.Models.ChatUser | ||
ChangeUserName ( JabbR.Models.ChatUser user, string newUserName ) : void | ||
ChangeUserPassword ( JabbR.Models.ChatUser user, string oldPassword, string newPassword ) : void | ||
MembershipService ( IJabbrRepository repository, ICryptoService crypto ) : System | ||
SetUserPassword ( JabbR.Models.ChatUser user, string password ) : void |
Method | Description | |
---|---|---|
EnsureProviderAndIdentityAvailable ( string providerName, string identity ) : void | ||
EnsureSaltedPassword ( JabbR.Models.ChatUser user, string password ) : void | ||
EnsureUserNameIsAvailable ( string userName ) : void | ||
IsValidUserName ( string name ) : bool | ||
NormalizeUserName ( string userName ) : string | ||
ProviderAndIdentityExist ( string providerName, string identity ) : bool | ||
ThrowPasswordIsRequired ( ) : void | ||
ThrowProviderAndIdentityExist ( string providerName, string identity ) : void | ||
ThrowUserExists ( string userName ) : void | ||
UserExists ( string userName ) : bool | ||
ValidatePassword ( string password ) : void |
public AddUser ( string userName, string email, string password ) : JabbR.Models.ChatUser | ||
userName | string | |
string | ||
password | string | |
return | JabbR.Models.ChatUser |
public AddUser ( string userName, string providerName, string identity, string email ) : JabbR.Models.ChatUser | ||
userName | string | |
providerName | string | |
identity | string | |
string | ||
return | JabbR.Models.ChatUser |
public AuthenticateUser ( string userName, string password ) : JabbR.Models.ChatUser | ||
userName | string | |
password | string | |
return | JabbR.Models.ChatUser |
public ChangeUserName ( JabbR.Models.ChatUser user, string newUserName ) : void | ||
user | JabbR.Models.ChatUser | |
newUserName | string | |
return | void |
public ChangeUserPassword ( JabbR.Models.ChatUser user, string oldPassword, string newPassword ) : void | ||
user | JabbR.Models.ChatUser | |
oldPassword | string | |
newPassword | string | |
return | void |
public MembershipService ( IJabbrRepository repository, ICryptoService crypto ) : System | ||
repository | IJabbrRepository | |
crypto | ICryptoService | |
return | System |
public SetUserPassword ( JabbR.Models.ChatUser user, string password ) : void | ||
user | JabbR.Models.ChatUser | |
password | string | |
return | void |