Is it possible to refresh a token created in one app through another app?

I did authentication in app A and received a refresh and token from it, now I go to app B and want to refresh the token I received in app A, how can I do that?