@Override public void onRetry() { openIdToken(userId, callback); } }));
/** * Gets a bearer token from the homeserver that the user can * present to a third party in order to prove their ownership * of the Matrix account they are logged into. * * @param callback the asynchronous callback called when finished */ public void openIdToken(final ApiCallback<Map<Object, Object>> callback) { mAccountDataRestClient.openIdToken(getMyUserId(), callback); }