You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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",
newTradeItCallback<String>() {
@OverridepublicvoidonSuccess(StringoAuthUrl) {
// display the url in a webview in order to the user complete his brokerage login.
}
@OverridepublicvoidonError(TradeItErrorResulterror) {
// an error occured
}
}
);