Dungeon: fix auth body and refresh test imports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6575635237
commit
7327afc0c2
2 changed files with 3 additions and 2 deletions
|
|
@ -454,10 +454,10 @@ async fn auth_begin(State(state): State<AppState>, Json(body): Json<AuthBeginBod
|
|||
struct AuthCompleteBody {
|
||||
handle: String,
|
||||
key: String,
|
||||
}
|
||||
/// The invite token the sign-in link carried, if any.
|
||||
#[serde(default)]
|
||||
invite: Option<String>,
|
||||
}
|
||||
|
||||
async fn auth_complete(
|
||||
State(state): State<AppState>,
|
||||
|
|
|
|||
|
|
@ -138,7 +138,8 @@ async fn refresh_due_sessions(
|
|||
#[cfg(test)]
|
||||
mod refresh_loop_tests {
|
||||
use super::*;
|
||||
use crate::heimdall::{AuthCompletionReceipt, VerificationUnavailable, VerifiedSessionRefresh};
|
||||
use crate::heimdall::{AuthCompletionReceipt, HeimdallClient, VerifiedSessionRefresh};
|
||||
use anyhow::bail;
|
||||
use std::{collections::VecDeque, sync::Mutex as StdMutex};
|
||||
|
||||
enum Reply {
|
||||
|
|
|
|||
Loading…
Reference in a new issue