Méthode | 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 |
Méthode | Description | |
---|---|---|
ChangePasswordInternal ( |
public ChangePassword ( string username, string oldPassword, string newPassword ) : bool | ||
username | string | |
oldPassword | string | |
newPassword | string | |
Résultat | bool |
public ConfirmEmailAddress ( |
||
user | ||
token | string | |
Résultat | bool |
public Create ( string username, string password, string emailAddress ) : |
||
username | string | |
password | string | |
emailAddress | string | |
Résultat |
public FindByApiKey ( System.Guid apiKey ) : |
||
apiKey | System.Guid | |
Résultat |
public FindByEmailAddress ( string emailAddress ) : |
||
emailAddress | string | |
Résultat |
public FindByUnconfimedEmailAddress ( string unconfirmedEmailAddress ) : |
||
unconfirmedEmailAddress | string | |
Résultat |
public FindByUsername ( string username ) : |
||
username | string | |
Résultat |
public FindByUsernameAndPassword ( string username, string password ) : |
||
username | string | |
password | string | |
Résultat |
public FindByUsernameOrEmailAddressAndPassword ( string usernameOrEmail, string password ) : |
||
usernameOrEmail | string | |
password | string | |
Résultat |
public GenerateApiKey ( string username ) : string | ||
username | string | |
Résultat | string |
public GeneratePasswordResetToken ( string usernameOrEmail, int tokenExpirationMinutes ) : |
||
usernameOrEmail | string | |
tokenExpirationMinutes | int | |
Résultat |
public ResetPasswordWithToken ( string username, string token, string newPassword ) : bool | ||
username | string | |
token | string | |
newPassword | string | |
Résultat | bool |
public UpdateProfile ( |
||
user | ||
emailAddress | string | |
emailAllowed | bool | |
Résultat | void |
public UpdateProfile ( |
||
user | ||
emailAddress | string | |
emailAllowed | bool | |
emailAllModerationNotifications | bool | |
Résultat | void |
public UserService ( IConfiguration config, ICryptographyService cryptoSvc, IEntityRepository |
||
config | IConfiguration | |
cryptoSvc | ICryptographyService | |
userRepo | IEntityRepository |
|
Résultat | System |