Property | Type | Description | |
---|---|---|---|
MandatoryChars | char[][] |
Method | Description | |
---|---|---|
CreateRandomPassword ( int PasswordLength ) : string | ||
GetNextUsername ( ISession session, |
Returns the next available username based on the last entries in the DB.
|
|
GetPasswordHash ( string password ) : string |
Converts the given Password to an md5 Hash
|
|
GetRandomPassword ( ) : string | ||
IsPasswordOk ( string password ) : bool | ||
IsValidPassword ( string userInput, string hashedMd5 ) : bool |
Returns true, if the given string string has the same hash, as the stored database value.
|
public static CreateRandomPassword ( int PasswordLength ) : string | ||
PasswordLength | int | |
return | string |
public static GetNextUsername ( ISession session, |
||
session | ISession | |
userType | ||
nameColumn | string | |
return | string |
public static GetPasswordHash ( string password ) : string | ||
password | string | |
return | string |
public static IsPasswordOk ( string password ) : bool | ||
password | string | |
return | bool |
public static IsValidPassword ( string userInput, string hashedMd5 ) : bool | ||
userInput | string | |
hashedMd5 | string | |
return | bool |