☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.2K
All Categories
0
Incidents
128
Node JS client
39
Go client
769
.Net API client
364
Kite Publisher
532
.Net / VBA / Excel (3rd party)
436
Algorithms and Strategies
972
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
General
In this Discussion
February 2018
sujith
How do we get Refresh Token while getting Access-Token from kite(V3)?
ZG1370
February 2018
in
Java client
we get UserModel response when we make a request for access token.
public class UserModel {
@SerializedName("member_id")
public String memberId;
public String[] product;
@SerializedName("password_reset")
public boolean passwordReset;
@SerializedName("user_name")
public String userName;
@SerializedName("broker")
public String broker;
@SerializedName("access_token")
public String accessToken;
@SerializedName("public_token")
public String publicToken;
@SerializedName("user_type")
public String userType;
@SerializedName("user_id")
public String userId;
@SerializedName("login_time")
public String loginTime;
public String[] exchange;
public String[] orderType;
@SerializedName("email")
public String email;
}
There is no field for refresh token. Can you help me out from this?
Tagged:
Refresh Token
sujith
February 2018
Hi,
The refresh token is only provided for exchange approved platforms and not for individual users.
PS: You seem to be using old Kite Connect which is going to be deprecated, you need to use Kite Connect 3 which is available in kite3 branch.
Sign In
or
Register
to comment.
The refresh token is only provided for exchange approved platforms and not for individual users.
PS: You seem to be using old Kite Connect which is going to be deprecated, you need to use Kite Connect 3 which is available in kite3 branch.