Hi,
In one of the webservice connector application, we are using grant type as Refresh token.
Currently we are using the below Approach for generating the refresh token.
1.placing All the Constants which are used for generating token in custom file.
2.using a rule for generating the refresh token.
3.Creating a task and scheduling it.
In rule , we are using the below method(http) to establish connection with specified URL(i.e.token generation url).
method:
HttpURLConnection conn = (HttpURLConnection)url.openConnection();
Is there any other different approach for establishing a connection using connector object and generating the token?
Can anyone help, regarding the issue.
Thanks,
Akash