From 0ecea0fde96ac0409f346511f1c8108e1aa73078 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 26 Nov 2019 11:50:06 -0500 Subject: read the oauth method configs in the webface the oauth login link doesn't work yet, but the ui works at least --- teleterm-web/src/protocol.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'teleterm-web/src/protocol.rs') diff --git a/teleterm-web/src/protocol.rs b/teleterm-web/src/protocol.rs index 7b12f5e..afcfad1 100644 --- a/teleterm-web/src/protocol.rs +++ b/teleterm-web/src/protocol.rs @@ -1,6 +1,13 @@ // it's possible we should just consider pulling the real protocol out into a // crate or something? but ideally in a way that doesn't require pulling in // tokio + +#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, serde::Deserialize)] +pub enum AuthType { + Plain, + RecurseCenter, +} + #[derive(Clone, Debug, serde::Deserialize)] pub(crate) enum Message { TerminalOutput { data: Vec }, -- cgit v1.2.3-54-g00ecf