Method | Description | |
---|---|---|
ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
ConfirmEmailAddress ( |
||
Create ( string username, string password, string emailAddress ) : |
||
FindByApiKey ( System.Guid apiKey ) : |
||
FindByEmailAddress ( string emailAddress ) : |
||
FindByUnconfimedEmailAddress ( string unconfirmedEmailAddress ) : |
||
FindByUserId ( int userKey ) : |
||
FindByUsername ( string username ) : |
||
FindByUsernameAndPassword ( string username, string password ) : |
||
FindByUsernameOrEmailAddressAndPassword ( string usernameOrEmail, string password ) : |
||
GenerateApiKey ( string username ) : string | ||
GeneratePasswordResetToken ( string usernameOrEmail, int tokenExpirationMinutes ) : |
||
ResetPasswordWithToken ( string username, string token, string newPassword ) : bool | ||
UpdateProfile ( |
||
UpdateProfile ( |
||
UserService ( IConfiguration config, ICryptographyService cryptoSvc, IEntityRepository |
Method | Description | |
---|---|---|
ChangePasswordInternal ( |
public ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
username | string | |
oldPassword | string | |
newPassword | string | |
return | bool |
public ConfirmEmailAddress ( |
||
user | ||
token | string | |
return | bool |
public Create ( string username, string password, string emailAddress ) : |
||
username | string | |
password | string | |
emailAddress | string | |
return |
public FindByApiKey ( System.Guid apiKey ) : |
||
apiKey | System.Guid | |
return |
public FindByEmailAddress ( string emailAddress ) : |
||
emailAddress | string | |
return |
public FindByUnconfimedEmailAddress ( string unconfirmedEmailAddress ) : |
||
unconfirmedEmailAddress | string | |
return |
public FindByUsername ( string username ) : |
||
username | string | |
return |
public FindByUsernameAndPassword ( string username, string password ) : |
||
username | string | |
password | string | |
return |
public FindByUsernameOrEmailAddressAndPassword ( string usernameOrEmail, string password ) : |
||
usernameOrEmail | string | |
password | string | |
return |
public GenerateApiKey ( string username ) : string | ||
username | string | |
return | string |
public GeneratePasswordResetToken ( string usernameOrEmail, int tokenExpirationMinutes ) : |
||
usernameOrEmail | string | |
tokenExpirationMinutes | int | |
return |
public ResetPasswordWithToken ( string username, string token, string newPassword ) : bool | ||
username | string | |
token | string | |
newPassword | string | |
return | bool |
public UpdateProfile ( |
||
user | ||
emailAddress | string | |
emailAllowed | bool | |
return | void |
public UpdateProfile ( |
||
user | ||
emailAddress | string | |
emailAllowed | bool | |
emailAllModerationNotifications | bool | |
return | void |
public UserService ( IConfiguration config, ICryptographyService cryptoSvc, IEntityRepository |
||
config | IConfiguration | |
cryptoSvc | ICryptographyService | |
userRepo | IEntityRepository |
|
return | System |