☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.