aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm/src/client.rs
Commit message (Collapse)AuthorAgeFilesLines
* pull auth_client out into its own fieldJesse Luehrs2019-11-271-2/+12
| | | | | | it doesn't hurt anything even though it's not super necessary for plain logins, and it's more convenient to access without needing to deconstruct the enum value
* rethink how oauth logins need to workJesse Luehrs2019-11-271-2/+2
| | | | | | | i can't exchange refresh tokens for access tokens without knowing the webface oauth configuration either, so this strategy also won't work. the server actually needs to only receive access tokens, and request the web server to refresh them as needed.
* split oauth_response into two different messagesJesse Luehrs2019-11-271-1/+1
| | | | | | | | | | the local client needs to receive the code and send it directly to the server, which handles the rest of the oauth flow (because the client doesn't have the server's oauth configuration, so it can't do the exchange itself), but the web client needs to receive the code and exchange it for a token and send that token to the server (because the server doesn't have the web server's oauth configuration, so it can't do the exchange itself)
* allow creating raw clients that don't handle the login processJesse Luehrs2019-11-261-37/+77
| | | | | so that frontends that want to handle logins themselves can still have the client handle the connection process
* move extracting term type out of the clientJesse Luehrs2019-11-211-5/+12
| | | | so that we can use the client outside of a direct terminal context
* shorter namesJesse Luehrs2019-11-161-10/+8
|
* use workspacesJesse Luehrs2019-11-151-0/+595