Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ChangePasswordInternal ( |
public ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
username | string | |
oldPassword | string | |
newPassword | string | |
Результат | bool |
public ConfirmEmailAddress ( |
||
user | ||
token | string | |
Результат | bool |
public Create ( string username, string password, string emailAddress ) : |
||
username | string | |
password | string | |
emailAddress | string | |
Результат |
public FindByApiKey ( System.Guid apiKey ) : |
||
apiKey | System.Guid | |
Результат |
public FindByEmailAddress ( string emailAddress ) : |
||
emailAddress | string | |
Результат |
public FindByUnconfimedEmailAddress ( string unconfirmedEmailAddress ) : |
||
unconfirmedEmailAddress | string | |
Результат |
public FindByUserId ( int userKey ) : |
||
userKey | int | |
Результат |
public FindByUsername ( string username ) : |
||
username | string | |
Результат |
public FindByUsernameAndPassword ( string username, string password ) : |
||
username | string | |
password | string | |
Результат |
public FindByUsernameOrEmailAddressAndPassword ( string usernameOrEmail, string password ) : |
||
usernameOrEmail | string | |
password | string | |
Результат |
public GenerateApiKey ( string username ) : string | ||
username | string | |
Результат | string |
public GeneratePasswordResetToken ( string usernameOrEmail, int tokenExpirationMinutes ) : |
||
usernameOrEmail | string | |
tokenExpirationMinutes | int | |
Результат |
public ResetPasswordWithToken ( string username, string token, string newPassword ) : bool | ||
username | string | |
token | string | |
newPassword | string | |
Результат | bool |
public UpdateProfile ( |
||
user | ||
emailAddress | string | |
emailAllowed | bool | |
Результат | void |
public UpdateProfile ( |
||
user | ||
emailAddress | string | |
emailAllowed | bool | |
emailAllModerationNotifications | bool | |
Результат | void |
public UserService ( IConfiguration config, ICryptographyService cryptoSvc, IEntityRepository |
||
config | IConfiguration | |
cryptoSvc | ICryptographyService | |
userRepo | IEntityRepository |
|
Результат | System |