/* * @param both strings userName, password * @returns token which will be used for validation * */ internal static int login(string userName, string password) { //Interaction with channel factory class to access Authenticator services AuthenticatorInterfaceConn(); return(authenticatorAccessInterface.Login(userName, password)); }
internal static int login(string username, string password) { //Creating connection to Authenicator services AuthenticatorInterfaceConn(); return(authenticatorAccessInterface.Login(username, password)); }