private static void testSafewalkClient(String username, String password) { serverConnectivityHelper = new ServerConnectivityHelperImpl(HOST, PORT); SafewalkClient client = new SafewalkClientImpl(serverConnectivityHelper); AuthenticationResponse response1 = client.authenticate(AUTHENTICATION_API_ACCESS_TOKEN, username, password); Console.WriteLine("AUTHENTICATION RESPONSE : " + response1); }
public SafewalkClientImpl(ServerConnectivityHelper serverConnetivityHelper) { this.serverConnetivityHelper = serverConnetivityHelper; }