Interface IUsersWebService
- Namespace
- SunamoInterfaces.Interfaces
- Assembly
- SunamoInterfaces.dll
Interface for user web service operations.
public interface IUsersWebService
- Extension Methods
Methods
GetOddIndexesOfHash(string)
Gets the odd-indexed characters of the hash for the specified login.
string GetOddIndexesOfHash(string login)
Parameters
loginstringThe user login.
Returns
- string
The odd-indexed hash characters.
IsPairLoginAndPw(string, string, out int, out string)
Verifies if the login and password pair is valid.
bool IsPairLoginAndPw(string login, string password, out int function, out string dataPhoneHash)
Parameters
loginstringThe user login.
passwordstringThe user password.
functionintThe function code output.
dataPhoneHashstringThe phone data hash output.
Returns
- bool
True if the login and password are valid; otherwise, false.
NameOfUserWithID(int)
Gets the name of the user with the specified ID.
string NameOfUserWithID(int userId)
Parameters
userIdintThe user ID.
Returns
- string
The user name.