Méthode | 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 |
Méthode | 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 | |
Résultat | JabbR.Models.ChatUser |
public AddUser ( string userName, string providerName, string identity, string email ) : JabbR.Models.ChatUser | ||
userName | string | |
providerName | string | |
identity | string | |
string | ||
Résultat | JabbR.Models.ChatUser |
public AuthenticateUser ( string userName, string password ) : JabbR.Models.ChatUser | ||
userName | string | |
password | string | |
Résultat | JabbR.Models.ChatUser |
public ChangeUserName ( JabbR.Models.ChatUser user, string newUserName ) : void | ||
user | JabbR.Models.ChatUser | |
newUserName | string | |
Résultat | void |
public ChangeUserPassword ( JabbR.Models.ChatUser user, string oldPassword, string newPassword ) : void | ||
user | JabbR.Models.ChatUser | |
oldPassword | string | |
newPassword | string | |
Résultat | void |
public MembershipService ( IJabbrRepository repository, ICryptoService crypto ) : System | ||
repository | IJabbrRepository | |
crypto | ICryptoService | |
Résultat | System |
public SetUserPassword ( JabbR.Models.ChatUser user, string password ) : void | ||
user | JabbR.Models.ChatUser | |
password | string | |
Résultat | void |