예제 #1
0
        /*
         * @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));
        }
예제 #2
0
        internal static int login(string username, string password)
        {
            //Creating connection to Authenicator services
            AuthenticatorInterfaceConn();

            return(authenticatorAccessInterface.Login(username, password));
        }