drogue_client/integration/ws/v1.rs
1//! Version v1
2
3/// Client-initiated functionality
4pub mod client {
5
6 /// Protocol messages, sent by the client
7 #[derive(Clone, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
8 pub enum Message {
9 /// Set a new access token.
10 ///
11 /// If the access token is validated, then it will replace the current access token in the
12 /// session. If the token could not be validated, the server will close the connection.
13 RefreshAccessToken(String),
14 }
15}