Not able to find method requestAccessToken

I am trying out the example in Git. I am getting error "cannot resolve method requestAccessToken".
import com.zerodhatech.kiteconnect.KiteConnect;
import com.zerodhatech.models.User;

public class Main {

public static void main(String[] args) {

KiteConnect kiteSdk = new KiteConnect("your_apiKey");


String url = kiteSdk.getLoginURL();

User user = kiteSdk.requestAccessToken("request_token", "your_apiSecret");


This discussion has been closed.