···99/// (same as `Claims`), then checks if the returned DID exists in the `admins`
1010/// table. If no admins exist yet, the first authenticated user is
1111/// auto-bootstrapped as the initial admin.
1212-pub struct AdminAuth {
1313- did: String,
1414-}
1515-1616-impl AdminAuth {
1717- /// The authenticated admin's DID.
1818- pub fn did(&self) -> &str {
1919- &self.did
2020- }
2121-}
1212+pub struct AdminAuth;
22132314impl FromRequestParts<AppState> for AdminAuth {
2415 type Rejection = AppError;
···6859 .await;
6960 });
70617171- Ok(AdminAuth { did })
6262+ Ok(AdminAuth)
7263 }
7364}