tuwunel_admin/query/oauth/
show_session.rs1use tuwunel_core::Result;
2use tuwunel_service::oauth::SessionId;
3
4use crate::admin_command;
5
6#[admin_command]
7pub(super) async fn oauth_show_session(&self, id: SessionId) -> Result {
8 let session = self.services.oauth.sessions.get(&id).await?;
9
10 write!(self, "{session:#?}\n").await
11}