eclipse-che / che-workspace-client

che-workspace-client
Eclipse Public License 2.0
4 stars 14 forks source link

Add in ability to refresh token before connecting/reconnecting #51

Closed JPinkney closed 3 years ago

JPinkney commented 3 years ago

What does this PR do?

This PR in conjunction with https://github.com/eclipse/che-dashboard/pull/134 makes it so that you can refresh a token when a websocket is reconnecting. That way, the token used when establishing the websocket connection is always valid. It also removes websocket context.

What issues does this PR fix or reference?

Part of https://github.com/eclipse/che/issues/18490#issuecomment-760079244

Signed-off-by: Josh Pinkney joshpinkney@gmail.com