Property | Type | Description | |
---|---|---|---|
NewUser | Func |
Method | Description | |
---|---|---|
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool | ||
CreateUser ( string userName, string password, string emailAddress, string firstName = null, string lastName = null ) : UserCreateStatus | ||
DeleteAccount ( string userName ) : bool | ||
GetUserByEmailAddress ( string emailAddress ) : IUser | ||
GetUserByUserName ( string userName ) : IUser | ||
GetUsersForUserNames ( IEnumerable |
||
UpdateUser ( IUser user ) : void | ||
UserService ( IUserRepository userRepository, ICryptographer cryptographer, IUserServiceSettings settings ) : System | ||
ValidateUser ( string userName, string password ) : IUser |
Method | Description | |
---|---|---|
EncodePassword ( string password, string passwordSalt ) : string | ||
IsValidPassword ( string password ) : bool | ||
VerifyPassword ( IUser user, string password ) : bool | ||
VerifyUser ( IUser user, string password ) : bool | ||
VerifyUserExists ( string userName ) : IUser |
public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool | ||
userName | string | |
oldPassword | string | |
newPassword | string | |
return | bool |
public CreateUser ( string userName, string password, string emailAddress, string firstName = null, string lastName = null ) : UserCreateStatus | ||
userName | string | |
password | string | |
emailAddress | string | |
firstName | string | |
lastName | string | |
return | UserCreateStatus |
public DeleteAccount ( string userName ) : bool | ||
userName | string | |
return | bool |
public GetUserByEmailAddress ( string emailAddress ) : IUser | ||
emailAddress | string | |
return | IUser |
public GetUserByUserName ( string userName ) : IUser | ||
userName | string | |
return | IUser |
public GetUsersForUserNames ( IEnumerable |
||
users | IEnumerable |
|
return | IEnumerable |
public UserService ( IUserRepository userRepository, ICryptographer cryptographer, IUserServiceSettings settings ) : System | ||
userRepository | IUserRepository | |
cryptographer | ICryptographer | |
settings | IUserServiceSettings | |
return | System |
public ValidateUser ( string userName, string password ) : IUser | ||
userName | string | |
password | string | |
return | IUser |