-
Notifications
You must be signed in to change notification settings - Fork 10
Relinking
guillaumedebavelaere edited this page Oct 16, 2017
·
1 revision
To update the credentials of a linked broker, follow the same steps as linking except use the getOAuthLoginPopupForTokenUpdateUrl
method instead of the getOAuthLoginPopupUrl
method:
linkedBrokerManager.getOAuthLoginPopupForTokenUpdateUrl(
linkedBroker,
"yourScheme://yourHost",
new TradeItCallback<String>() {
@Override
public void onSuccess(String oAuthUrl) {
// display the url in a webview in order to the user complete his brokerage login.
}
@Override
public void onError(TradeItErrorResult error) {
// an error occured
}
}
);